Website: www.flexmonster.com
To do that, simply add flexmonster.d.ts
at the top of your code. Also, it requires jquery.d.ts
to be included in the project. It can be found at DefinitelyTyped / jQuery.
///<reference path="jquery.d.ts"/>
///<reference path="flexmonster.d.ts"/>
///<reference path="jquery.d.ts"/>
///<reference path="flexmonster.d.ts"/>
class PivotApp {
private pivot: Flexmonster.Pivot;
constructor() {
this.pivot = $("#content").flexmonster({
toolbar: true,
width: "100%",
height: "500",
report: "report.json",
licenseKey: "XXXX"
});
}
}