Skip to content
Small demonstration project on how to use TypeScript's LanguageService to get access to type information, ...
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

TypeScriptServices example

The TypeScript source has all the goodies required to integrate TypeScript into an IDE (get AST, type informations, completion, ...).

This is a small demo using some of stuff shipping with the TypeScript repo. You can view the demo here.

To build the ServiceBuilder.js file, checkout the TypeScript repo into this repo

git clone ts

install the TypeScriptCompiler

npm install -g typescript

and then execute from this directory

tsc ServiceBuilder.ts --out ServiceBuilder.js
Something went wrong with that request. Please try again.