Explorar o código

Fixed annoying typings issue with webgl2

David Catuhe %!s(int64=8) %!d(string=hai) anos
pai
achega
a1d522ee82
Modificáronse 3 ficheiros con 12882 adicións e 12892 borrados
  1. 6441 6444
      dist/preview release/babylon.d.ts
  2. 6441 6444
      dist/preview release/babylon.module.d.ts
  3. 0 4
      src/babylon.webgl2.ts

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 6441 - 6444
dist/preview release/babylon.d.ts


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 6441 - 6444
dist/preview release/babylon.module.d.ts


+ 0 - 4
src/babylon.webgl2.ts

@@ -3,10 +3,6 @@
 // Definitions by: Nico Kemnitz <https://github.com/nkemnitz/>
 // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
 
-interface HTMLCanvasElement extends HTMLElement {
-    getContext(contextId: "webgl2" | "experimental-webgl2", contextAttributes?: WebGLContextAttributes): WebGL2RenderingContext | null;
-}
-
 interface ImageBitmap {
     readonly width: number;
     readonly height: number;