Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

typescript/index.d.ts file empty #303

Open
sahilbabbar opened this issue Mar 10, 2021 · 0 comments
Open

typescript/index.d.ts file empty #303

sahilbabbar opened this issue Mar 10, 2021 · 0 comments

Comments

@sahilbabbar
Copy link

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?

@sahilbabbar sahilbabbar changed the title index.d.ts file empty typescript/index.d.ts file empty Mar 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant