Ver código fonte

Fix es6 build

sebavan 6 anos atrás
pai
commit
d2bc3d8009
1 arquivos alterados com 2 adições e 2 exclusões
  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;
 }