ts-browser icon indicating copy to clipboard operation
ts-browser copied to clipboard

🦄 Compile (in worker threads) and run TypeScript in the browser via <script type='text/typescript'>

Results 2 ts-browser issues
Sort by recently updated
recently updated
newest added

As soon as one of the typescript files are considered a module (as soon as you either use `import` or `export` keywords) we get an error stating : ``` exports...

It seems all typescript code are wrapped in a function and called and this leads to function declarations not to be globally available. How can I declare functions in typescript...