Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning when publishing project in angular 14 #947

Open
Gillardo opened this issue Aug 17, 2022 · 0 comments
Open

Warning when publishing project in angular 14 #947

Gillardo opened this issue Aug 17, 2022 · 0 comments

Comments

@Gillardo
Copy link

This was ok when i was using angular 13 which i believe targets es2018, but since updating i am getting this error.

image

This can be replicated by just adding this component to a new angular 14 project. My tsconfig file looks like so

/* To learn more about this file see: https://angular.io/config/tsconfig. */
{
  "compileOnSave": false,
  "compilerOptions": {
    "baseUrl": "./",
    "outDir": "./dist/out-tsc",
    "sourceMap": true,
    "declaration": false,
    "downlevelIteration": true,
    "experimentalDecorators": true,
    "moduleResolution": "node",
    "importHelpers": true,
    "target": "es2020",
    "module": "es2020",
    "lib": [
      "es2018",
      "dom"
    ],
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant