GithubHelp home page GithubHelp logo

Comments (5)

h3x4d3c1m4l avatar h3x4d3c1m4l commented on July 17, 2024

Try setting target and module of tsconfig.json to ES2020 (instead of Angular default ES2022). This fixed the exact same issue for me.

The relevant part of the tsconfig.json now looks like this:

    "target": "ES2020",
    "module": "ES2020",
    "lib": [
      "ES2020",
      "dom"
    ],

These are the versions of the relevant packages I'm currently using by the way:

  • "@angular/core": "^16.2.4"
  • "@ngxs/store": "^3.8.1"
  • "typescript": "^5.1.6"

This however is not a real solution as it causes a warning to appear from Angular (that tells me to set the target to ES2022 but even if I only set that one to ES2022 it still breaks...)

from store.

luismmdev avatar luismmdev commented on July 17, 2024

Hi @h3x4d3c1m4l !

Thanks for sharing what have worked for you. Sadly, even after applying those changes to the tsconfig.json, I'm still seeing the same errors.

from store.

arturovt avatar arturovt commented on July 17, 2024

@luismmdev can you provide a minimal reproducible example?

from store.

luismmdev avatar luismmdev commented on July 17, 2024

Hi @arturovt. Sorry for the delay. I've tried creating a minimal example to reproduce the issue but everything seemed to be working as expected. Maybe there's something wrong or conflicting in our tsconfig.json. I'll try again whenever you guys release a new version. Thanks!

from store.

arturovt avatar arturovt commented on July 17, 2024

I’m closing the issue for now. Feel free to reopen once you’re facing it again and at least can provide a running example, this will help to pinpoint that issue.

from store.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.