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

Missing types in 9.0.0 #60

Open
dhritzkiv opened this issue Sep 20, 2022 · 1 comment
Open

Missing types in 9.0.0 #60

dhritzkiv opened this issue Sep 20, 2022 · 1 comment

Comments

@dhritzkiv
Copy link

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.

@dhritzkiv
Copy link
Author

Further, I noticed that the package.json file in the repo is still 2.0.6, not 9.0.0, nor even 2.0.11.

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