mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Changed the file structure for ease of handling from tsd and added several utility classes.
This commit is contained in:
Vendored
+16
@@ -0,0 +1,16 @@
|
||||
// Type definitions for Detector.js
|
||||
// Project: https://github.com/mrdoob/three.js/blob/master/examples/js/Detector.js
|
||||
// Definitions by: Satoru Kimura <https://github.com/gyohk>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
interface DetectorStatic {
|
||||
canvas: boolean;
|
||||
webgl: boolean;
|
||||
workers: boolean;
|
||||
fileapi: boolean;
|
||||
|
||||
getWebGLErrorMessage(): HTMLElement;
|
||||
addGetWebGLMessage(parameters?: {id?: string; parent?: HTMLElement}): void;
|
||||
}
|
||||
|
||||
declare var Detector: DetectorStatic;
|
||||
Reference in New Issue
Block a user