typescript-closure-tools
Version:
Command-line tools to convert closure-style JSDoc annotations to typescript, and to convert typescript sources to closure externs files
21 lines (13 loc) • 391 B
TypeScript
// Type definitions for Stats.js r11
// Project: http://github.com/mrdoob/stats.js
// Definitions by: Gregory Dalton <https://github.com/gregolai>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
declare class Stats {
REVISION: number;
domElement: HTMLDivElement;
// 0: fps, 1: ms
setMode(value: number): void;
begin(): void;
end(): number;
update(): void;
}