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

fix: correct path to types in package.json #6293

Closed

Conversation

brandonroberts
Copy link
Contributor

@brandonroberts brandonroberts commented Apr 29, 2021

Description:

VSCode shows rxjs being imported as any due to missing types. This fixes the path to the index.d.ts types file so the type declarations are resolved correctly.

Related issue (if exists):

@cartant
Copy link
Collaborator

cartant commented Apr 29, 2021

Believe it or not, that path is correct. If typesVersions is specified, the path is relative.

microsoft/TypeScript#43034 (comment)

What TS version are you using? 4.2 is our minimum.

@brandonroberts
Copy link
Contributor Author

brandonroberts commented Apr 29, 2021

Gotcha. We're on 4.2.4. Here is the branch in the NgR repo https://github.com/ngrx/platform/tree/rxjs7

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

Successfully merging this pull request may close these issues.

None yet

2 participants