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
Having to write `throw new Error()` instead of just using Flow's magic `invariant()` has been another thing making it more painful
11:31 PM - 18 Jun 2019
0 replies
0 retweets
3 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 