Better HN
topnewbestaskshowjobs
Log inSign up

mxkyb

2 karma · joined May 10, 2023 (3y ago) · 6 submissions

Submissions

comment 11mo ago · link · parent

why not media over quic

comment 3y ago · link · parent

and you can always define more complex types in interfaces and import into jsdoc.

comment 3y ago · link · parent

Just add some interfaces.d.ts and import those types into jsdoc and you still have all your complexity

comment 3y ago · link · parent

In general, your code is still valid JavaScript and can run in any browser or node environment. Typescript probably is not going to disappear, but if it would, your code wouldn‘t have to change. And you don’t loose your types, because the typescript compiler can interpret jsdoc as if you were using typescript directly.