First impressions with TypeScript: - Docs for tsconfig.json are confusing. Why are type checking options under compilerOptions? - The "An import path cannot end in .ts" rule not being optional is maddening
-
Show this thread
-
- tsconfig.json changes seem to require a restart of vscode - No `import type` like in Flow is annoying. Bundler needs to be smart and know if imports are only used as types so they don't effect module order.
11 replies 0 retweets 31 likesShow this thread -
Does TypeScript have object type spreads? In Flow I can do: type a = {a: string}; type b = {b: string}; type c = {...a, ...b};
15 replies 0 retweets 6 likesShow this thread -
Is there any way I can get vscode to show errors for *all* files, not just the ones I open?
7 replies 0 retweets 13 likesShow this thread
If anyone wants to do this, then feel free to use my hack... $ tsc --noEmit | grep ".ts(" | cut -f1 -d"(" | uniq | xargs code
0 replies
1 retweet
16 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
he/him 