CirclonGroup/angular-tree-component

Warning when publishing project in angular 14

Gillardo opened this issue · 0 comments

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"
    ],
  }
}