Typescript usage #79
-
Regarding typescript usage, has anyone tried it? Should I use https://github.com/justjake/quickjs-emscripten Or what do you recommend? I prefer typescript to regular JS as I do most things in Typescript, but I don't know if it will pose some problems here or if there are any limitations @c-smile . Thanks in advance for the insight, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Typescript is just a preprocessor that compiles .ts files to .js files. So it has nothing with Sciter per se - you will load those .js files in Sciter as usual. If you want standalone compiler then check :
( link taken from https://bellard.org/quickjs/ ) In principle that compiler should work in Sciter "as it is" so you can load .ts files in Sciter directly. If that makes sense of course. |
Beta Was this translation helpful? Give feedback.
Typescript is just a preprocessor that compiles .ts files to .js files. So it has nothing with Sciter per se - you will load those .js files in Sciter as usual.
If you want standalone compiler then check :
( link taken from https://bellard.org/quickjs/ )
In principle that compiler should work in Sciter "as it is" so you can load .ts files in Sciter directly. If that makes sense of course.