Recently updated my Angular library project to Angular v11.2.2 and also updated Dgeni and Dgeni Packages. Now the following error pops-up on the mentioned line of code:
let apiDocsPackage = new DgeniPackage('apiDocsPackage', [require('dgeni-packages/jsdoc'), require('dgeni-packages/nunjucks'), require('dgeni-packages/typescript')]);
Error
Argument type (this | {})[] is not assignable to parameter type PackageRef[] | undefined Type (this | {})[] is not assignable to type PackageRef[] Type this | {} is not assignable to type PackageRef
Perhaps this error pops up because dgeni-packages/typescript/index.d.ts has just one line:
export {};
Is it due to an issue with dgeni-packages/typescript or something else?
Recently updated my Angular library project to Angular
v11.2.2
and also updated Dgeni and Dgeni Packages. Now the following error pops-up on the mentioned line of code:Error
Perhaps this error pops up because
dgeni-packages/typescript/index.d.ts
has just one line:Is it due to an issue with
dgeni-packages/typescript
or something else?