Explorar el Código

Fix es6 build

sebavan hace 6 años
padre
commit
d2bc3d8009
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/LibDeclarations/webgpu.d.ts

+ 2 - 2
src/LibDeclarations/webgpu.d.ts

@@ -679,11 +679,11 @@ type GPUErrorFilter = "none"
   | "out-of-memory"
   | "validation";
 
-class GPUOutOfMemoryError {
+declare class GPUOutOfMemoryError {
   constructor();
 }
 
-class GPUValidationError {
+declare class GPUValidationError {
   constructor(message: string);
   readonly message: string;
 }