TypeScript

From Lianjapedia
Revision as of 09:24, 6 November 2017 by Yvonne.milne (Talk | contribs)

Jump to: navigation, search

Include the following line at the start of your TypeScript (.ts) file:

/// <reference path="../../library/Lianja.d.ts" />

Manual Compilation

Compile file



With your TypeScript file open in the Script Editor in the Apps Workspace or the Library Workspace, click Compile file to compile the .ts file and create the JavaScript (.js) file that will be run.