Difference between revisions of "TypeScript"

From Lianjapedia
Jump to: navigation, search
(Created page with "''Under Construction'' Include the following line at the start of your TypeScript (.ts) file: <pre>/// <reference path="../../library/Lianja.d.ts" /></pre> Category:TypeS...")
 
Line 4: Line 4:
  
 
<pre>/// <reference path="../../library/Lianja.d.ts" /></pre>
 
<pre>/// <reference path="../../library/Lianja.d.ts" /></pre>
 +
 +
[[{{ns:file}}:ts_compile.png|450px|thumb|left|link={{filepath:ts_compile.png}}|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.
 +
 +
<br clear=all>
  
 
[[Category:TypeScript]]
 
[[Category:TypeScript]]

Revision as of 08:51, 6 October 2016

Under Construction

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

/// <reference path="../../library/Lianja.d.ts" />
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.