@types/audioworklet 0.0.33 → 0.0.34

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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/index.d.ts +63 -0
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -28,4 +28,4 @@ This project does not respect semantic versioning as almost every change could p
28
28
 
29
29
  ## Deploy Metadata
30
30
 
31
- You can read what changed in version 0.0.33 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Faudioworklet%400.0.33.
31
+ You can read what changed in version 0.0.34 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Faudioworklet%400.0.34.
package/index.d.ts CHANGED
@@ -264,6 +264,69 @@ declare var CustomEvent: {
264
264
  new<T>(type: string, eventInitDict?: CustomEventInit<T>): CustomEvent<T>;
265
265
  };
266
266
 
267
+ /** An abnormal event (called an exception) which occurs as a result of calling a method or accessing a property of a web API. */
268
+ interface DOMException extends Error {
269
+ /** @deprecated */
270
+ readonly code: number;
271
+ readonly message: string;
272
+ readonly name: string;
273
+ readonly ABORT_ERR: number;
274
+ readonly DATA_CLONE_ERR: number;
275
+ readonly DOMSTRING_SIZE_ERR: number;
276
+ readonly HIERARCHY_REQUEST_ERR: number;
277
+ readonly INDEX_SIZE_ERR: number;
278
+ readonly INUSE_ATTRIBUTE_ERR: number;
279
+ readonly INVALID_ACCESS_ERR: number;
280
+ readonly INVALID_CHARACTER_ERR: number;
281
+ readonly INVALID_MODIFICATION_ERR: number;
282
+ readonly INVALID_NODE_TYPE_ERR: number;
283
+ readonly INVALID_STATE_ERR: number;
284
+ readonly NAMESPACE_ERR: number;
285
+ readonly NETWORK_ERR: number;
286
+ readonly NOT_FOUND_ERR: number;
287
+ readonly NOT_SUPPORTED_ERR: number;
288
+ readonly NO_DATA_ALLOWED_ERR: number;
289
+ readonly NO_MODIFICATION_ALLOWED_ERR: number;
290
+ readonly QUOTA_EXCEEDED_ERR: number;
291
+ readonly SECURITY_ERR: number;
292
+ readonly SYNTAX_ERR: number;
293
+ readonly TIMEOUT_ERR: number;
294
+ readonly TYPE_MISMATCH_ERR: number;
295
+ readonly URL_MISMATCH_ERR: number;
296
+ readonly VALIDATION_ERR: number;
297
+ readonly WRONG_DOCUMENT_ERR: number;
298
+ }
299
+
300
+ declare var DOMException: {
301
+ prototype: DOMException;
302
+ new(message?: string, name?: string): DOMException;
303
+ readonly ABORT_ERR: number;
304
+ readonly DATA_CLONE_ERR: number;
305
+ readonly DOMSTRING_SIZE_ERR: number;
306
+ readonly HIERARCHY_REQUEST_ERR: number;
307
+ readonly INDEX_SIZE_ERR: number;
308
+ readonly INUSE_ATTRIBUTE_ERR: number;
309
+ readonly INVALID_ACCESS_ERR: number;
310
+ readonly INVALID_CHARACTER_ERR: number;
311
+ readonly INVALID_MODIFICATION_ERR: number;
312
+ readonly INVALID_NODE_TYPE_ERR: number;
313
+ readonly INVALID_STATE_ERR: number;
314
+ readonly NAMESPACE_ERR: number;
315
+ readonly NETWORK_ERR: number;
316
+ readonly NOT_FOUND_ERR: number;
317
+ readonly NOT_SUPPORTED_ERR: number;
318
+ readonly NO_DATA_ALLOWED_ERR: number;
319
+ readonly NO_MODIFICATION_ALLOWED_ERR: number;
320
+ readonly QUOTA_EXCEEDED_ERR: number;
321
+ readonly SECURITY_ERR: number;
322
+ readonly SYNTAX_ERR: number;
323
+ readonly TIMEOUT_ERR: number;
324
+ readonly TYPE_MISMATCH_ERR: number;
325
+ readonly URL_MISMATCH_ERR: number;
326
+ readonly VALIDATION_ERR: number;
327
+ readonly WRONG_DOCUMENT_ERR: number;
328
+ };
329
+
267
330
  /** Events providing information related to errors in scripts or in files. */
268
331
  interface ErrorEvent extends Event {
269
332
  readonly colno: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/audioworklet",
3
- "version": "0.0.33",
3
+ "version": "0.0.34",
4
4
  "description": "Types for the global scope of Audio Worklets",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],