-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Open
Labels
CommittedThe team has roadmapped this issueThe team has roadmapped this issueIn DiscussionNot yet reached consensusNot yet reached consensusSuggestionAn idea for TypeScriptAn idea for TypeScript
Description
Very few people understand the automatic @types
inclusion behavior, it often causes packages to conflict, and it is often a program construction performance foot-gun.
Maybe we should output a field like this in compilerOptions
.
// Add packages with global definitions that can't be imported here.
// Remove entirely to auto-include all '@types' packages.
"types": []
What do others here think?
Metadata
Metadata
Assignees
Labels
CommittedThe team has roadmapped this issueThe team has roadmapped this issueIn DiscussionNot yet reached consensusNot yet reached consensusSuggestionAn idea for TypeScriptAn idea for TypeScript