SpreadJS Documentation > Developer's Guide > Getting Started > Using TypeScript |
You can add TypeScript support to SpreadJS. TypeScript provides strongly-typed access and better information about your code.
You can download TypeScript and get additional information from the TypeScript web site, http://www.typescriptlang.org/.
The TypeScript definition file for SpreadJS is located in the definition folder under the main product folder (SpreadJS\definition\gcspread.sheets.d.ts).
Use the following steps to add TypeScript support to SpreadJS.
/// <reference path="path/jquery.d.ts" />
/// <reference path="path/gcspread.sheets.d.ts" />