Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transpiling TypeScript to JavaScript and SASS/LESS to CSS #36

Closed
jonathanhotono opened this issue Jun 28, 2016 · 4 comments
Closed

Transpiling TypeScript to JavaScript and SASS/LESS to CSS #36

jonathanhotono opened this issue Jun 28, 2016 · 4 comments
Labels
css feature-request Request for new features or functionality typescript
Milestone

Comments

@jonathanhotono
Copy link

jonathanhotono commented Jun 28, 2016

Is there any method to transpile/compile the typescript to javascript and SASS/LESS to CSS just like what we have in typescript playground?

Thanks

@alexdima
Copy link
Member

fyi @aeschli @jrieken

@jscsharp
Copy link

It seems, the typescript object is available (ie: ts) , so it is possible to use

ts.transpile(myTSCode);

and get back js code.

@alexdima alexdima added the feature-request Request for new features or functionality label Aug 15, 2016
@jonathanhotono
Copy link
Author

Hi Guys,

#35 might be related to this and it has been closed with a pull request (microsoft/monaco-typescript#8).

The method that I found from typescript playground does provide a "getEmitOutput" prototype which emits the js output. Is there any sample code on the "Promise'ified " version?
image

@alexdima alexdima added this to the Backlog milestone Aug 31, 2016
@alexdima
Copy link
Member

This can be done outside of the editor using existing editor API.

@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
css feature-request Request for new features or functionality typescript
Projects
None yet
Development

No branches or pull requests

3 participants