diff --git a/dist/index.d.ts b/dist/index.d.ts index ec0de9f..c09519b 100644 --- a/dist/index.d.ts +++ b/dist/index.d.ts @@ -1970,6 +1970,7 @@ interface GPUAdapterInfo { declare var GPUAdapterInfo: { prototype: GPUAdapterInfo; + new (): never; }; interface GPUBindGroup @@ -3166,27 +3167,7 @@ interface Navigator interface WorkerNavigator extends NavigatorGPU {} -interface GPUBufferUsage { - /** - * Nominal type branding. - * https://github.com/microsoft/TypeScript/pull/33038 - * @internal - */ - readonly __brand: "GPUBufferUsage"; - readonly MAP_READ: GPUFlagsConstant; - readonly MAP_WRITE: GPUFlagsConstant; - readonly COPY_SRC: GPUFlagsConstant; - readonly COPY_DST: GPUFlagsConstant; - readonly INDEX: GPUFlagsConstant; - readonly VERTEX: GPUFlagsConstant; - readonly UNIFORM: GPUFlagsConstant; - readonly STORAGE: GPUFlagsConstant; - readonly INDIRECT: GPUFlagsConstant; - readonly QUERY_RESOLVE: GPUFlagsConstant; -} - declare var GPUBufferUsage: { - prototype: GPUBufferUsage; readonly MAP_READ: GPUFlagsConstant; readonly MAP_WRITE: GPUFlagsConstant; readonly COPY_SRC: GPUFlagsConstant; @@ -3199,22 +3180,7 @@ declare var GPUBufferUsage: { readonly QUERY_RESOLVE: GPUFlagsConstant; }; -interface GPUColorWrite { - /** - * Nominal type branding. - * https://github.com/microsoft/TypeScript/pull/33038 - * @internal - */ - readonly __brand: "GPUColorWrite"; - readonly RED: GPUFlagsConstant; - readonly GREEN: GPUFlagsConstant; - readonly BLUE: GPUFlagsConstant; - readonly ALPHA: GPUFlagsConstant; - readonly ALL: GPUFlagsConstant; -} - declare var GPUColorWrite: { - prototype: GPUColorWrite; readonly RED: GPUFlagsConstant; readonly GREEN: GPUFlagsConstant; readonly BLUE: GPUFlagsConstant; @@ -3222,59 +3188,18 @@ declare var GPUColorWrite: { readonly ALL: GPUFlagsConstant; }; -interface GPUMapMode { - /** - * Nominal type branding. - * https://github.com/microsoft/TypeScript/pull/33038 - * @internal - */ - readonly __brand: "GPUMapMode"; - readonly READ: GPUFlagsConstant; - readonly WRITE: GPUFlagsConstant; -} - declare var GPUMapMode: { - prototype: GPUMapMode; - new (): never; readonly READ: GPUFlagsConstant; readonly WRITE: GPUFlagsConstant; }; -interface GPUShaderStage { - /** - * Nominal type branding. - * https://github.com/microsoft/TypeScript/pull/33038 - * @internal - */ - readonly __brand: "GPUShaderStage"; - readonly VERTEX: GPUFlagsConstant; - readonly FRAGMENT: GPUFlagsConstant; - readonly COMPUTE: GPUFlagsConstant; -} - declare var GPUShaderStage: { - prototype: GPUShaderStage; readonly VERTEX: GPUFlagsConstant; readonly FRAGMENT: GPUFlagsConstant; readonly COMPUTE: GPUFlagsConstant; }; -interface GPUTextureUsage { - /** - * Nominal type branding. - * https://github.com/microsoft/TypeScript/pull/33038 - * @internal - */ - readonly __brand: "GPUTextureUsage"; - readonly COPY_SRC: GPUFlagsConstant; - readonly COPY_DST: GPUFlagsConstant; - readonly TEXTURE_BINDING: GPUFlagsConstant; - readonly STORAGE_BINDING: GPUFlagsConstant; - readonly RENDER_ATTACHMENT: GPUFlagsConstant; -} - declare var GPUTextureUsage: { - prototype: GPUTextureUsage; readonly COPY_SRC: GPUFlagsConstant; readonly COPY_DST: GPUFlagsConstant; readonly TEXTURE_BINDING: GPUFlagsConstant;