A repository for Stamplay Type Definition Files (.d.ts) to support TypeScript's strong typings and provide intellisense in plain javascript
-
Download folder 'stamplay-typings'.
-
Include a triple slash reference to the .d.ts file stamplay-sdk.d.ts in your TypeScript or plain javascript file :
/// <reference path="stamplay-typings/stamplay-sdk.d.ts" />
-
If using TypeScript, import the ambient module with
import * as Stamplay from "Stamplay";
-
Enjoy strong typing and intellisense (only tested in Visual Studio Code)