Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
throwaay2322u43
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
throwaay2322u43
4y ago
> TS has a powerful Generics syntax that cannot be duplicated in a code comment. This is false though, but admittedly not documented well.
2.
▲
by
throwaay2322u43
4y ago
1. Use `noEmit` if you don't want to use the transpiler -- You can also use babel. 2. Use a modern target, my transpiled code is 1:1. 3. You can use JSDoc type annotations, I use this for some projects. 4. TS works well in functional c