-
Notifications
You must be signed in to change notification settings - Fork 13k
Open
Labels
Awaiting More FeedbackThis means we'd like to hear from more people who would be helped by this featureThis means we'd like to hear from more people who would be helped by this featureSuggestionAn idea for TypeScriptAn idea for TypeScript
Description
Scenario: As a user, I want typescript compiler to default-exclude output transpiled files to compilerOptions.outDir
with compilerOptions.declaration
property set to true
. I would expect that outDir
is excluded by default, because:
- it would prevent me from importing definitions from
outDir
by error, which is easy to do with intellisense - it would prevent me from having
TS5055
errors such as spotted in TypeScript complains about overwriting .d.ts files that are potentially known outputs #16749 and tsc generating TS5055 error when generating declaration files #6046 tsc
CLI has already implemented this behaviour, see PR exclude outDir and add more default excludes #8703
sindresorhus, fnimick, wiseman, leotm, tapmeppe and 4 more
Metadata
Metadata
Assignees
Labels
Awaiting More FeedbackThis means we'd like to hear from more people who would be helped by this featureThis means we'd like to hear from more people who would be helped by this featureSuggestionAn idea for TypeScriptAn idea for TypeScript