ts2344 error code example

Example: Type 'T[K]' does not satisfy the constraint '(...args: any) => any'.

{
  "compileOnSave": false,
  "compilerOptions": {
    //We need to add "skipLibCheck": true,
    "skipLibCheck": true,
    //end
    "baseUrl": "./",
    "outDir": "./dist/out-tsc",
    "sourceMap": true,
    "declaration": false,
    "module": "esnext",
    "moduleResolution": "node",
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "importHelpers": true,
    "target": "es2015",
    "typeRoots": [
      "node_modules/@types"
    ],
    "lib": [
      "es2018",
      "dom"
    ]
  },
  "angularCompilerOptions": {
    "fullTemplateTypeCheck": true,
    "strictInjectionParameters": true
  }
}