-
Notifications
You must be signed in to change notification settings - Fork 0
TypeScript
drewnoakes edited this page Sep 11, 2014
·
1 revision
biggus-griddus is written in TypeScript, though you don't have to use TypeScript in order to use it.
TypeScript is a nice set of basic extensions to the JavaScript language that add some type safety and
reduces boilerplate code. Files written in TypeScript are compiled to JavaScript via tsc
.
Install via:
$ sudo npm install -g typescript
Compile via:
$ tsc biggus.ts --sourcemap --module amd
This will produce an AMD (RequireJS) module. You may also specify --module commonjs
for CommonJS modules, or drop the --module
option altogether to generate plain JavaScript.