@types/webidl2
Advanced tools
Comparing version 23.13.3 to 23.13.4
@@ -330,4 +330,4 @@ // Type definitions for webidl2 23.13 | ||
export interface DeclarationMemberType extends AbstractBase { | ||
type: "iterable" | "maplike" | "setlike"; | ||
interface AbstractDeclarationMemberType extends AbstractBase { | ||
type: DeclarationMemberType["type"]; | ||
/** An array with one or more IDL Types representing the declared type arguments. */ | ||
@@ -344,2 +344,30 @@ idlType: IDLTypeDescription[]; | ||
export type DeclarationMemberType = | ||
| IterableDeclarationMemberType | ||
| MaplikeDeclarationMemberType | ||
| SetlikeDeclarationMemberType; | ||
export interface IterableDeclarationMemberType extends AbstractDeclarationMemberType { | ||
type: "iterable"; | ||
idlType: [IDLTypeDescription] | [IDLTypeDescription, IDLTypeDescription]; | ||
async: boolean; | ||
readonly: false; | ||
} | ||
interface AbstractCollectionLikeMemberType extends AbstractDeclarationMemberType { | ||
async: false; | ||
readonly: boolean; | ||
arguments: []; | ||
} | ||
export interface MaplikeDeclarationMemberType extends AbstractCollectionLikeMemberType { | ||
type: "maplike"; | ||
idlType: [IDLTypeDescription, IDLTypeDescription]; | ||
} | ||
export interface SetlikeDeclarationMemberType extends AbstractCollectionLikeMemberType { | ||
type: "setlike"; | ||
idlType: [IDLTypeDescription]; | ||
} | ||
export interface Argument extends AbstractBase { | ||
@@ -346,0 +374,0 @@ type: "argument"; |
{ | ||
"name": "@types/webidl2", | ||
"version": "23.13.3", | ||
"version": "23.13.4", | ||
"description": "TypeScript definitions for webidl2", | ||
@@ -27,4 +27,4 @@ "license": "MIT", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "be449a8eb869cb0e2c25e4d0285e40303752eb65b09a526a15711867413ca6cb", | ||
"typesPublisherContentHash": "031ba72557c102eb96c5e899d30eada14c0f5946062eba9befd4a9f638db67c8", | ||
"typeScriptVersion": "3.1" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Thu, 10 Sep 2020 18:47:50 GMT | ||
* Last updated: Sat, 12 Sep 2020 00:12:33 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: `WebIDL2` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18174
431