DefinitelyTyped/stats/stats.d.ts
zeh fernando 78223f4c00 Marked as compatible with r12
Marked the definitions as being compatible with r12 as the interface did not change
2015-02-15 18:42:50 -05:00

21 lines
391 B
TypeScript

// Type definitions for Stats.js r12
// 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;
}