CirclonGroup / angular-tree-component

A simple yet powerful tree component for Angular (>=2)
https://angular2-tree.readme.io/docs
MIT License
1.09k stars 488 forks source link

Warning when publishing project in angular 14 #947

Open Gillardo opened 2 years ago

Gillardo commented 2 years ago

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