Why would anyone do this?
TS to JSDoc Conversion
11–20 of 163 posts
Re: TS to JSDoc Conversion
#12Earlier quoted context omitted.
> As a Svelte compiler developer, debugging without a build step greatly simplifies compiler development. Previously, debugging was complicated by the fact that we had to debug using the build step. In addition, using JSDoc does not affect compiler’s development safety because the type is almost equivalent to TS. > Of course, Svelte developers (not compiler developers) will still be provided type definition files as…
ts-node [1]: am i a joke to you? [1] https://www.npmjs.com/package/ts-node
Yes better than: 'Error: success' or 'keyboard not found: press F1 to continue'
> ts-node: Unknown file extension: ts.
Someone will reply for a technical reason about this (mentioning .mts or package.json settings or whatever) but that doesn't change the fact that a program whose only job is to run ts files should know what a ts file is. GitHub issue: https://github.com/TypeStrong/ts-node/issues/1967
tsx or @digitak/esrun both work out of the box.
Re: TS to JSDoc Conversion
#13Re: TS to JSDoc Conversion
#14Re: TS to JSDoc Conversion
#15Re: TS to JSDoc Conversion
#16Why would anyone do this?
Re: TS to JSDoc Conversion
#17Is anyone using Svelte in production without SvelteKit?
Hows Svelte documentation as of late?
Re: TS to JSDoc Conversion
#18Re: TS to JSDoc Conversion
#19Edit:
Here’s one example, you can define your routes in symfony using comments. Not only that, but it’s actually the officially recommended way of doing things. Absolute madness.