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've just received this email from Matt Pocock recomending against the use of .d.ts files
the TLDR of it is:
So, since:
skipLibCheck MUST always be set to true, meaning .d.ts files are never type-checked.
declare global can do 99% of what .d.ts files can (and the last 1% is rarely needed)
I've started to recommend never using .d.ts files in application code.
do you think we could safely replace src/app.d.ts with src/app.ts?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I've just received this email from Matt Pocock recomending against the use of .d.ts files
the TLDR of it is:
do you think we could safely replace src/app.d.ts with src/app.ts?
Beta Was this translation helpful? Give feedback.
All reactions