angular / dgeni-packages

A collection of dgeni packages for generating documentation from source code.
MIT License
142 stars 106 forks source link

typescript/index.d.ts file empty #303

Open sahilbabbar opened 3 years ago

sahilbabbar commented 3 years ago

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?