Skip to content
This repository was archived by the owner on Mar 31, 2025. It is now read-only.
This repository was archived by the owner on Mar 31, 2025. It is now read-only.

typescript/index.d.ts file empty #303

Description

@sahilbabbar

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions