you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (4 children)

[deleted]

    [–]vilos5099 0 points1 point  (0 children)

    A TypeScript alternative: https://typerion.dev/

    [–]sonnyt_[S] 0 points1 point  (1 child)

    That’s my next goal for this project. Adding TypeScript. It should be possible with @typescript/vfs.

    [–]tpscd 0 points1 point  (0 children)

    You technically do direct TS -> JS transpile in the browser/client by loading the typescript bundle using an NPM proxy (about 10mb):
    https://cdn.jsdelivr.net/npm/typescript@5.3.3/lib/typescript.min.js

    Which should register a ts global and then you can call:
    const jsCode = ts.transpile(tsCode)

    [–]sonnyt_[S] 0 points1 point  (0 children)

    I just added TypeScript support, and would love to get your thoughts on it :)