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
As title. I tried "moduleResolution": "bundler" of tsconfig.json recently and I’m not sure whether I would need to tune the settings of @babel/preset-typescript.
From my understanding, tuning tsconfig.json would change the behaviour of a language server, e.g. tsserver, and IDE would possibly provide different type-checking/intellisense rules. So I assume that if I don’t sync my tsconfig.json with the behaviour of @babel/preset-typescript then my code will be compiled into something that might not follow the rules proposed by my tsconfig.
It would also be great if anyone could share how you integrate typescript into webpack with other toolings. I’m just trying Babel’s preset first.
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
-
As title. I tried "moduleResolution": "bundler" of tsconfig.json recently and I’m not sure whether I would need to tune the settings of
@babel/preset-typescript
.From my understanding, tuning tsconfig.json would change the behaviour of a language server, e.g. tsserver, and IDE would possibly provide different type-checking/intellisense rules. So I assume that if I don’t sync my tsconfig.json with the behaviour of
@babel/preset-typescript
then my code will be compiled into something that might not follow the rules proposed by my tsconfig.It would also be great if anyone could share how you integrate typescript into webpack with other toolings. I’m just trying Babel’s preset first.
Beta Was this translation helpful? Give feedback.
All reactions