Skip to content

Missing types in 9.0.0 #60

@dhritzkiv

Description

@dhritzkiv

Thanks for merging + publishing support for nestjs v9.

Unfortunately, there is an issue that prevents it from working out of the box: the typings files are not properly referenced.

In v2.0.11 (the previous version of the library), the types field in package.json referenced ./dist/index.d.ts.

However, in v9.0.0 (the current version), the types field references index.d.ts (note the lack of dist). Meanwhile, the index.d.ts file is still in dist.

I suspect reverting the change to the types field to reference ./dist/index.d.ts will fix it. Strangely, though, I don't see anywhere in the repo's history where the files field was changed – the repo version of 2.0.11 differs from the published version of 2.0.11.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions