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

Remove reset of "types" field #18

Open
ScrapsPrograms opened this issue May 31, 2023 · 0 comments
Open

Remove reset of "types" field #18

ScrapsPrograms opened this issue May 31, 2023 · 0 comments

Comments

@ScrapsPrograms
Copy link

I'm guessing originally the reset of "types" was put in place when the tsconfig.dom.json still used the tsconfig.node.json import. Now, however, this reset has become redundant; the field is not set within the base tsconfig.json.

Due to this reset, I ran into an issue where none of my @types imports were loaded in. The empty array does not let TypeScript revert to the default configuration.

It should be safe to remove the line "types": [], so people may use their installed @types again.

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