You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure what to say; the error message is accurate and you've configured your project in a way to produce the problem described by the error message. TypeScript will not proceed with a compilation where an output overwrites an input; you can either fix this by having inputs in a different location or outputs in a different location, it's up to you.
TypeScript Version: Version 3.8.0-dev.20191206
Search Terms: overwrite .d.ts declaration
Steps to reproduce
The repo is a minimal working example and contains practically no code.
Expected behavior:
Compiles without error, by ignoring the
dist
folder as specified in thetsconfig.json
.Actual behavior:
The second
tsc
run spits out an error.Related Issues:
Not a valid duplicate because it is old, misses version information and misses easy-to-reproduce steps
#16749
Look for
error TS5055
. The FAQ mentions this error but takes the assumption that we haveallowJs
which is untrue in my case.https://github.com/Microsoft/TypeScript/wiki/FAQ#common-bugs-that-arent-bugs
The text was updated successfully, but these errors were encountered: