HN user

mckee_plus_plus

4 karma
Posts0
Comments3
View on HN
No posts found.
TypeScript 7 14 days ago

Major ts pain point is scoping tsconfig settings for lib and types configurable for subsets of a project.

My project is a webapp, but I have node types in my ide tooling because of vite.config.ts, and playwright and unit tests. If I add a node api to a react component, tsc won't complain.

Current method to isolate dom lib from node lib requires project reference spaghetti, numerous tsconfig.json and tsbuildinfo output files, and avoiding emitting types with project references is cumbersome.

TypeScript 7 14 days ago

When I start a hobby project without types, and then get mental fatigue when returning to a shelved codebase and add ts, I find lots of bugs just by adding types.