@types/web 0.0.335 → 0.0.337

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -47,4 +47,4 @@ Prior to `@types/web` the web APIs were deployed with a version of TypeScript, a
47
47
 
48
48
  ## Deploy Metadata
49
49
 
50
- You can read what changed in version 0.0.335 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.335.
50
+ You can read what changed in version 0.0.337 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.337.
package/index.d.ts CHANGED
@@ -818,6 +818,20 @@ interface GPUBindGroupEntry {
818
818
  resource: GPUBindingResource;
819
819
  }
820
820
 
821
+ interface GPUBindGroupLayoutDescriptor extends GPUObjectDescriptorBase {
822
+ entries: GPUBindGroupLayoutEntry[];
823
+ }
824
+
825
+ interface GPUBindGroupLayoutEntry {
826
+ binding: GPUIndex32;
827
+ buffer?: GPUBufferBindingLayout;
828
+ externalTexture?: GPUExternalTextureBindingLayout;
829
+ sampler?: GPUSamplerBindingLayout;
830
+ storageTexture?: GPUStorageTextureBindingLayout;
831
+ texture?: GPUTextureBindingLayout;
832
+ visibility: GPUShaderStageFlags;
833
+ }
834
+
821
835
  interface GPUBlendComponent {
822
836
  dstFactor?: GPUBlendFactor;
823
837
  operation?: GPUBlendOperation;
@@ -835,6 +849,12 @@ interface GPUBufferBinding {
835
849
  size?: GPUSize64;
836
850
  }
837
851
 
852
+ interface GPUBufferBindingLayout {
853
+ hasDynamicOffset?: boolean;
854
+ minBindingSize?: GPUSize64;
855
+ type?: GPUBufferBindingType;
856
+ }
857
+
838
858
  interface GPUBufferDescriptor extends GPUObjectDescriptorBase {
839
859
  mappedAtCreation?: boolean;
840
860
  size: GPUSize64;
@@ -912,12 +932,21 @@ interface GPUDepthStencilState {
912
932
  stencilWriteMask?: GPUStencilValue;
913
933
  }
914
934
 
935
+ interface GPUDeviceDescriptor extends GPUObjectDescriptorBase {
936
+ defaultQueue?: GPUQueueDescriptor;
937
+ requiredFeatures?: GPUFeatureName[];
938
+ requiredLimits?: Record<string, GPUSize64 | undefined>;
939
+ }
940
+
915
941
  interface GPUExtent3DDict {
916
942
  depthOrArrayLayers?: GPUIntegerCoordinate;
917
943
  height?: GPUIntegerCoordinate;
918
944
  width: GPUIntegerCoordinate;
919
945
  }
920
946
 
947
+ interface GPUExternalTextureBindingLayout {
948
+ }
949
+
921
950
  interface GPUExternalTextureDescriptor extends GPUObjectDescriptorBase {
922
951
  colorSpace?: PredefinedColorSpace;
923
952
  source: HTMLVideoElement | VideoFrame;
@@ -979,6 +1008,9 @@ interface GPUQuerySetDescriptor extends GPUObjectDescriptorBase {
979
1008
  type: GPUQueryType;
980
1009
  }
981
1010
 
1011
+ interface GPUQueueDescriptor extends GPUObjectDescriptorBase {
1012
+ }
1013
+
982
1014
  interface GPURenderBundleDescriptor extends GPUObjectDescriptorBase {
983
1015
  }
984
1016
 
@@ -1036,6 +1068,15 @@ interface GPURenderPipelineDescriptor extends GPUPipelineDescriptorBase {
1036
1068
  vertex: GPUVertexState;
1037
1069
  }
1038
1070
 
1071
+ interface GPURequestAdapterOptions {
1072
+ forceFallbackAdapter?: boolean;
1073
+ powerPreference?: GPUPowerPreference;
1074
+ }
1075
+
1076
+ interface GPUSamplerBindingLayout {
1077
+ type?: GPUSamplerBindingType;
1078
+ }
1079
+
1039
1080
  interface GPUSamplerDescriptor extends GPUObjectDescriptorBase {
1040
1081
  addressModeU?: GPUAddressMode;
1041
1082
  addressModeV?: GPUAddressMode;
@@ -1060,6 +1101,12 @@ interface GPUStencilFaceState {
1060
1101
  passOp?: GPUStencilOperation;
1061
1102
  }
1062
1103
 
1104
+ interface GPUStorageTextureBindingLayout {
1105
+ access?: GPUStorageTextureAccess;
1106
+ format: GPUTextureFormat;
1107
+ viewDimension?: GPUTextureViewDimension;
1108
+ }
1109
+
1063
1110
  interface GPUTexelCopyBufferInfo extends GPUTexelCopyBufferLayout {
1064
1111
  buffer: GPUBuffer;
1065
1112
  }
@@ -1077,6 +1124,12 @@ interface GPUTexelCopyTextureInfo {
1077
1124
  texture: GPUTexture;
1078
1125
  }
1079
1126
 
1127
+ interface GPUTextureBindingLayout {
1128
+ multisampled?: boolean;
1129
+ sampleType?: GPUTextureSampleType;
1130
+ viewDimension?: GPUTextureViewDimension;
1131
+ }
1132
+
1080
1133
  interface GPUTextureDescriptor extends GPUObjectDescriptorBase {
1081
1134
  dimension?: GPUTextureDimension;
1082
1135
  format: GPUTextureFormat;
@@ -5308,13 +5361,13 @@ declare var CSSFontFaceRule: {
5308
5361
  };
5309
5362
 
5310
5363
  /**
5311
- * The **`CSSFontFeatureValuesRule`** interface represents an @font-feature-values at-rule, letting developers assign for each font face a common name to specify features indices to be used in font-variant-alternates.
5364
+ * The **`CSSFontFeatureValuesRule`** interface represents an @font-feature-values at-rule. The values of its instance properties can be accessed with the CSSFontFeatureValuesMapinterface.
5312
5365
  *
5313
5366
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFeatureValuesRule)
5314
5367
  */
5315
5368
  interface CSSFontFeatureValuesRule extends CSSRule {
5316
5369
  /**
5317
- * The **`fontFamily`** property of the CSSConditionRule interface represents the name of the font family it applies to.
5370
+ * The **`fontFamily`** property of the CSSFontFeatureValuesRule interface represents the name of the font family it applies to.
5318
5371
  *
5319
5372
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFeatureValuesRule/fontFamily)
5320
5373
  */
@@ -6765,6 +6818,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
6765
6818
  * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/background-size)
6766
6819
  */
6767
6820
  backgroundSize: string;
6821
+ /** The baseline-shift CSS property repositions the dominant-baseline of a text element relative to the dominant-baseline of its parent text content element. The shifted element might be a sub- or superscript. If the property is present, the value overrides the element's baseline-shift attribute. */
6768
6822
  baselineShift: string;
6769
6823
  /**
6770
6824
  * The baseline-source CSS property defines which baseline to use when inline-level boxes have multiple possible baselines, such as multi-line inline blocks or inline flex containers. The values allow for choosing between aligning to the box's first baseline, last baseline, or letting the browser decide automatically based on the box type.
@@ -11180,6 +11234,7 @@ interface CustomElementRegistry {
11180
11234
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/getName)
11181
11235
  */
11182
11236
  getName(constructor: CustomElementConstructor): string | null;
11237
+ initialize(root: Node): void;
11183
11238
  /**
11184
11239
  * The **`upgrade()`** method of the CustomElementRegistry interface upgrades all shadow-containing custom elements in a Node subtree, even before they are connected to the main document.
11185
11240
  *
@@ -13177,6 +13232,7 @@ interface DocumentOrShadowRoot {
13177
13232
  readonly activeElement: Element | null;
13178
13233
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/adoptedStyleSheets) */
13179
13234
  adoptedStyleSheets: CSSStyleSheet[];
13235
+ readonly customElementRegistry: CustomElementRegistry | null;
13180
13236
  /**
13181
13237
  * Returns document's fullscreen element.
13182
13238
  *
@@ -13486,6 +13542,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
13486
13542
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/currentCSSZoom)
13487
13543
  */
13488
13544
  readonly currentCSSZoom: number;
13545
+ readonly customElementRegistry: CustomElementRegistry | null;
13489
13546
  /**
13490
13547
  * The **`id`** property of the Element interface represents the element's identifier, reflecting the id global attribute.
13491
13548
  *
@@ -15044,6 +15101,76 @@ declare var FragmentDirective: {
15044
15101
  new(): FragmentDirective;
15045
15102
  };
15046
15103
 
15104
+ /**
15105
+ * The **`GPU`** interface of the WebGPU API is the starting point for using WebGPU. It can be used to return a GPUAdapter from which you can request devices, configure features and limits, and more.
15106
+ * Available only in secure contexts.
15107
+ *
15108
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPU)
15109
+ */
15110
+ interface GPU {
15111
+ /**
15112
+ * The **`wgslLanguageFeatures`** read-only property of the GPU interface returns a WGSLLanguageFeatures object that reports the WGSL language extensions supported by the WebGPU implementation.
15113
+ *
15114
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPU/wgslLanguageFeatures)
15115
+ */
15116
+ readonly wgslLanguageFeatures: WGSLLanguageFeatures;
15117
+ /**
15118
+ * The **`getPreferredCanvasFormat()`** method of the GPU interface returns the optimal canvas texture format for displaying 8-bit depth, standard dynamic range content on the current system.
15119
+ *
15120
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPU/getPreferredCanvasFormat)
15121
+ */
15122
+ getPreferredCanvasFormat(): GPUTextureFormat;
15123
+ /**
15124
+ * The **`requestAdapter()`** method of the GPU interface returns a Promise that fulfills with a GPUAdapter object instance. From this you can request a GPUDevice, adapter info, features, and limits.
15125
+ *
15126
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPU/requestAdapter)
15127
+ */
15128
+ requestAdapter(options?: GPURequestAdapterOptions): Promise<GPUAdapter | null>;
15129
+ }
15130
+
15131
+ declare var GPU: {
15132
+ prototype: GPU;
15133
+ new(): GPU;
15134
+ };
15135
+
15136
+ /**
15137
+ * The **`GPUAdapter`** interface of the WebGPU API represents a GPU adapter. From this you can request a GPUDevice, adapter info, features, and limits.
15138
+ * Available only in secure contexts.
15139
+ *
15140
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapter)
15141
+ */
15142
+ interface GPUAdapter {
15143
+ /**
15144
+ * The **`features`** read-only property of the GPUAdapter interface returns a GPUSupportedFeatures object that describes additional functionality supported by the adapter.
15145
+ *
15146
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapter/features)
15147
+ */
15148
+ readonly features: GPUSupportedFeatures;
15149
+ /**
15150
+ * The **`info`** read-only property of the GPUAdapter interface returns a GPUAdapterInfo object containing identifying information about the adapter.
15151
+ *
15152
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapter/info)
15153
+ */
15154
+ readonly info: GPUAdapterInfo;
15155
+ /**
15156
+ * The **`limits`** read-only property of the GPUAdapter interface returns a GPUSupportedLimits object that describes the limits supported by the adapter.
15157
+ *
15158
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapter/limits)
15159
+ */
15160
+ readonly limits: GPUSupportedLimits;
15161
+ /**
15162
+ * The **`requestDevice()`** method of the GPUAdapter interface returns a Promise that fulfills with a GPUDevice object, which is the primary interface for communicating with the GPU.
15163
+ *
15164
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapter/requestDevice)
15165
+ */
15166
+ requestDevice(descriptor?: GPUDeviceDescriptor): Promise<GPUDevice>;
15167
+ }
15168
+
15169
+ declare var GPUAdapter: {
15170
+ prototype: GPUAdapter;
15171
+ new(): GPUAdapter;
15172
+ };
15173
+
15047
15174
  /**
15048
15175
  * The **`GPUAdapterInfo`** interface of the WebGPU API contains identifying information about a GPUAdapter.
15049
15176
  * Available only in secure contexts.
@@ -15497,6 +15624,12 @@ interface GPUDevice extends EventTarget, GPUObjectBase {
15497
15624
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createBindGroup)
15498
15625
  */
15499
15626
  createBindGroup(descriptor: GPUBindGroupDescriptor): GPUBindGroup;
15627
+ /**
15628
+ * The **`createBindGroupLayout()`** method of the GPUDevice interface creates a GPUBindGroupLayout that defines the structure and purpose of related GPU resources such as buffers that will be used in a pipeline, and is used as a template when creating GPUBindGroups.
15629
+ *
15630
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createBindGroupLayout)
15631
+ */
15632
+ createBindGroupLayout(descriptor: GPUBindGroupLayoutDescriptor): GPUBindGroupLayout;
15500
15633
  /**
15501
15634
  * The **`createBuffer()`** method of the GPUDevice interface creates a GPUBuffer in which to store raw data to use in GPU operations.
15502
15635
  *
@@ -21174,6 +21307,7 @@ interface HTMLTemplateElement extends HTMLElement {
21174
21307
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootClonable)
21175
21308
  */
21176
21309
  shadowRootClonable: boolean;
21310
+ shadowRootCustomElementRegistry: string;
21177
21311
  /**
21178
21312
  * The **`shadowRootDelegatesFocus`** property of the HTMLTemplateElement interface reflects the value of the shadowrootdelegatesfocus attribute of the associated <template> element.
21179
21313
  *
@@ -25536,6 +25670,12 @@ declare var NavigationHistoryEntry: {
25536
25670
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationPrecommitController)
25537
25671
  */
25538
25672
  interface NavigationPrecommitController {
25673
+ /**
25674
+ * The **`addHandler()`** method of the NavigationPrecommitController interface allows you to dynamically add a handler callback function in precommit code, which will then be run after the navigation has committed.
25675
+ *
25676
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationPrecommitController/addHandler)
25677
+ */
25678
+ addHandler(handler: NavigationInterceptHandler): void;
25539
25679
  /**
25540
25680
  * The **`redirect()`** method of the NavigationPrecommitController interface redirects the browser to a specified URL and specifies history behavior and any desired state information.
25541
25681
  *
@@ -25624,7 +25764,7 @@ declare var NavigationTransition: {
25624
25764
  *
25625
25765
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator)
25626
25766
  */
25627
- interface Navigator extends NavigatorAutomationInformation, NavigatorBadge, NavigatorConcurrentHardware, NavigatorContentUtils, NavigatorCookies, NavigatorID, NavigatorLanguage, NavigatorLocks, NavigatorOnLine, NavigatorPlugins, NavigatorStorage {
25767
+ interface Navigator extends NavigatorAutomationInformation, NavigatorBadge, NavigatorConcurrentHardware, NavigatorContentUtils, NavigatorCookies, NavigatorGPU, NavigatorID, NavigatorLanguage, NavigatorLocks, NavigatorOnLine, NavigatorPlugins, NavigatorStorage {
25628
25768
  /**
25629
25769
  * The **`clipboard`** read-only property of the Navigator interface returns a Clipboard object used to read and write the clipboard's contents.
25630
25770
  * Available only in secure contexts.
@@ -25789,6 +25929,15 @@ interface NavigatorCookies {
25789
25929
  readonly cookieEnabled: boolean;
25790
25930
  }
25791
25931
 
25932
+ interface NavigatorGPU {
25933
+ /**
25934
+ * Available only in secure contexts.
25935
+ *
25936
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/gpu)
25937
+ */
25938
+ readonly gpu: GPU;
25939
+ }
25940
+
25792
25941
  interface NavigatorID {
25793
25942
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName) */
25794
25943
  readonly appCodeName: string;
@@ -35176,7 +35325,7 @@ declare var ShadowRoot: {
35176
35325
  };
35177
35326
 
35178
35327
  /**
35179
- * The **`SharedWorker`** interface represents a specific kind of worker that can be accessed from several browsing contexts, such as several windows, iframes or even workers. They implement an interface different than dedicated workers and have a different global scope, SharedWorkerGlobalScope.
35328
+ * The **`SharedWorker`** interface represents a specific kind of worker that can be accessed from several browsing contexts, such as multiple windows or iframes. Shared workers implement a different interface than dedicated workers, have a different global scope (SharedWorkerGlobalScope), and their constructor is not exposed in DedicatedWorkerGlobalScope, so they cannot be instantiated from dedicated workers.
35180
35329
  *
35181
35330
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SharedWorker)
35182
35331
  */
@@ -44026,6 +44175,7 @@ type GPUOrigin2D = GPUIntegerCoordinate[] | GPUOrigin2DDict;
44026
44175
  type GPUOrigin3D = GPUIntegerCoordinate[] | GPUOrigin3DDict;
44027
44176
  type GPUPipelineConstantValue = number;
44028
44177
  type GPUSampleMask = number;
44178
+ type GPUShaderStageFlags = number;
44029
44179
  type GPUSignedOffset32 = number;
44030
44180
  type GPUSize32 = number;
44031
44181
  type GPUSize32Out = number;
@@ -44143,6 +44293,7 @@ type GPUAddressMode = "clamp-to-edge" | "mirror-repeat" | "repeat";
44143
44293
  type GPUAutoLayoutMode = "auto";
44144
44294
  type GPUBlendFactor = "constant" | "dst" | "dst-alpha" | "one" | "one-minus-constant" | "one-minus-dst" | "one-minus-dst-alpha" | "one-minus-src" | "one-minus-src-alpha" | "src" | "src-alpha" | "src-alpha-saturated" | "zero";
44145
44295
  type GPUBlendOperation = "add" | "max" | "min" | "reverse-subtract" | "subtract";
44296
+ type GPUBufferBindingType = "read-only-storage" | "storage" | "uniform";
44146
44297
  type GPUBufferMapState = "mapped" | "pending" | "unmapped";
44147
44298
  type GPUCanvasAlphaMode = "opaque" | "premultiplied";
44148
44299
  type GPUCanvasToneMappingMode = "extended" | "standard";
@@ -44151,19 +44302,24 @@ type GPUCompilationMessageType = "error" | "info" | "warning";
44151
44302
  type GPUCullMode = "back" | "front" | "none";
44152
44303
  type GPUDeviceLostReason = "destroyed" | "unknown";
44153
44304
  type GPUErrorFilter = "internal" | "out-of-memory" | "validation";
44305
+ type GPUFeatureName = "bgra8unorm-storage" | "clip-distances" | "core-features-and-limits" | "depth-clip-control" | "depth32float-stencil8" | "dual-source-blending" | "float32-blendable" | "float32-filterable" | "indirect-first-instance" | "primitive-index" | "rg11b10ufloat-renderable" | "shader-f16" | "subgroups" | "texture-compression-astc" | "texture-compression-astc-sliced-3d" | "texture-compression-bc" | "texture-compression-bc-sliced-3d" | "texture-compression-etc2" | "texture-formats-tier1" | "timestamp-query";
44154
44306
  type GPUFilterMode = "linear" | "nearest";
44155
44307
  type GPUFrontFace = "ccw" | "cw";
44156
44308
  type GPUIndexFormat = "uint16" | "uint32";
44157
44309
  type GPULoadOp = "clear" | "load";
44158
44310
  type GPUMipmapFilterMode = "linear" | "nearest";
44159
44311
  type GPUPipelineErrorReason = "internal" | "validation";
44312
+ type GPUPowerPreference = "high-performance" | "low-power";
44160
44313
  type GPUPrimitiveTopology = "line-list" | "line-strip" | "point-list" | "triangle-list" | "triangle-strip";
44161
44314
  type GPUQueryType = "occlusion" | "timestamp";
44315
+ type GPUSamplerBindingType = "comparison" | "filtering" | "non-filtering";
44162
44316
  type GPUStencilOperation = "decrement-clamp" | "decrement-wrap" | "increment-clamp" | "increment-wrap" | "invert" | "keep" | "replace" | "zero";
44317
+ type GPUStorageTextureAccess = "read-only" | "read-write" | "write-only";
44163
44318
  type GPUStoreOp = "discard" | "store";
44164
44319
  type GPUTextureAspect = "all" | "depth-only" | "stencil-only";
44165
44320
  type GPUTextureDimension = "1d" | "2d" | "3d";
44166
44321
  type GPUTextureFormat = "astc-10x10-unorm" | "astc-10x10-unorm-srgb" | "astc-10x5-unorm" | "astc-10x5-unorm-srgb" | "astc-10x6-unorm" | "astc-10x6-unorm-srgb" | "astc-10x8-unorm" | "astc-10x8-unorm-srgb" | "astc-12x10-unorm" | "astc-12x10-unorm-srgb" | "astc-12x12-unorm" | "astc-12x12-unorm-srgb" | "astc-4x4-unorm" | "astc-4x4-unorm-srgb" | "astc-5x4-unorm" | "astc-5x4-unorm-srgb" | "astc-5x5-unorm" | "astc-5x5-unorm-srgb" | "astc-6x5-unorm" | "astc-6x5-unorm-srgb" | "astc-6x6-unorm" | "astc-6x6-unorm-srgb" | "astc-8x5-unorm" | "astc-8x5-unorm-srgb" | "astc-8x6-unorm" | "astc-8x6-unorm-srgb" | "astc-8x8-unorm" | "astc-8x8-unorm-srgb" | "bc1-rgba-unorm" | "bc1-rgba-unorm-srgb" | "bc2-rgba-unorm" | "bc2-rgba-unorm-srgb" | "bc3-rgba-unorm" | "bc3-rgba-unorm-srgb" | "bc4-r-snorm" | "bc4-r-unorm" | "bc5-rg-snorm" | "bc5-rg-unorm" | "bc6h-rgb-float" | "bc6h-rgb-ufloat" | "bc7-rgba-unorm" | "bc7-rgba-unorm-srgb" | "bgra8unorm" | "bgra8unorm-srgb" | "depth16unorm" | "depth24plus" | "depth24plus-stencil8" | "depth32float" | "depth32float-stencil8" | "eac-r11snorm" | "eac-r11unorm" | "eac-rg11snorm" | "eac-rg11unorm" | "etc2-rgb8a1unorm" | "etc2-rgb8a1unorm-srgb" | "etc2-rgb8unorm" | "etc2-rgb8unorm-srgb" | "etc2-rgba8unorm" | "etc2-rgba8unorm-srgb" | "r16float" | "r16sint" | "r16snorm" | "r16uint" | "r16unorm" | "r32float" | "r32sint" | "r32uint" | "r8sint" | "r8snorm" | "r8uint" | "r8unorm" | "rg11b10ufloat" | "rg16float" | "rg16sint" | "rg16snorm" | "rg16uint" | "rg16unorm" | "rg32float" | "rg32sint" | "rg32uint" | "rg8sint" | "rg8snorm" | "rg8uint" | "rg8unorm" | "rgb10a2uint" | "rgb10a2unorm" | "rgb9e5ufloat" | "rgba16float" | "rgba16sint" | "rgba16snorm" | "rgba16uint" | "rgba16unorm" | "rgba32float" | "rgba32sint" | "rgba32uint" | "rgba8sint" | "rgba8snorm" | "rgba8uint" | "rgba8unorm" | "rgba8unorm-srgb" | "stencil8";
44322
+ type GPUTextureSampleType = "depth" | "float" | "sint" | "uint" | "unfilterable-float";
44167
44323
  type GPUTextureViewDimension = "1d" | "2d" | "2d-array" | "3d" | "cube" | "cube-array";
44168
44324
  type GPUVertexFormat = "float16" | "float16x2" | "float16x4" | "float32" | "float32x2" | "float32x3" | "float32x4" | "sint16" | "sint16x2" | "sint16x4" | "sint32" | "sint32x2" | "sint32x3" | "sint32x4" | "sint8" | "sint8x2" | "sint8x4" | "snorm16" | "snorm16x2" | "snorm16x4" | "snorm8" | "snorm8x2" | "snorm8x4" | "uint16" | "uint16x2" | "uint16x4" | "uint32" | "uint32x2" | "uint32x3" | "uint32x4" | "uint8" | "uint8x2" | "uint8x4" | "unorm10-10-10-2" | "unorm16" | "unorm16x2" | "unorm16x4" | "unorm8" | "unorm8x2" | "unorm8x4" | "unorm8x4-bgra";
44169
44325
  type GPUVertexStepMode = "instance" | "vertex";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.335",
3
+ "version": "0.0.337",
4
4
  "description": "Types for the DOM, and other web technologies in browsers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],