This project is read-only.

Typescript console support in web browser

Topics: General
Oct 9, 2012 at 5:34 AM

Is it possible to add support console for TypeScript like javascript console in browser?

Perhaps as Internet Explorer extension or any browser?

Oct 9, 2012 at 3:53 PM

Have you tried TypeScript Compile? It compiles TypeScript to Javascript in browser and shows errors in the web console.

Moreover, you can call console() directly from TypeScript.

Oct 9, 2012 at 5:08 PM

Yes, but we can't use TypeScript objects and classes in Javascript console. We can only work with compiled Javascript objects and functions.

Nov 16, 2012 at 3:42 AM

I've done something similar to your idea - TypeScript Interpret - which is a console/terminal in JS capable of interpreting TS statements. You can check out the source code here.