@types/web
Advanced tools
Comparing version 0.0.1 to 0.0.2
///////////////////////////// | ||
/// DOM Iterable APIs | ||
/// Window Iterable APIs | ||
///////////////////////////// | ||
@@ -33,6 +33,2 @@ | ||
interface ClientRectList { | ||
[Symbol.iterator](): IterableIterator<ClientRect>; | ||
} | ||
interface DOMRectList { | ||
@@ -61,2 +57,5 @@ [Symbol.iterator](): IterableIterator<DOMRect>; | ||
interface FontFaceSet extends Set<FontFace> { | ||
} | ||
interface FormData { | ||
@@ -95,3 +94,3 @@ [Symbol.iterator](): IterableIterator<[string, FormDataEntryValue]>; | ||
interface HTMLSelectElement { | ||
[Symbol.iterator](): IterableIterator<Element>; | ||
[Symbol.iterator](): IterableIterator<HTMLOptionElement>; | ||
} | ||
@@ -142,4 +141,9 @@ | ||
interface MessageEvent<T = any> { | ||
/** @deprecated */ | ||
initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: Iterable<MessagePort>): void; | ||
} | ||
interface MimeTypeArray { | ||
[Symbol.iterator](): IterableIterator<MimeType>; | ||
[Symbol.iterator](): IterableIterator<any>; | ||
} | ||
@@ -153,2 +157,3 @@ | ||
requestMediaKeySystemAccess(keySystem: string, supportedConfigurations: Iterable<MediaKeySystemConfiguration>): Promise<MediaKeySystemAccess>; | ||
vibrate(pattern: Iterable<number>): boolean; | ||
} | ||
@@ -189,14 +194,17 @@ | ||
interface Plugin { | ||
[Symbol.iterator](): IterableIterator<MimeType>; | ||
[Symbol.iterator](): IterableIterator<undefined>; | ||
} | ||
interface PluginArray { | ||
[Symbol.iterator](): IterableIterator<Plugin>; | ||
[Symbol.iterator](): IterableIterator<any>; | ||
} | ||
interface RTCRtpTransceiver { | ||
setCodecPreferences(codecs: Iterable<RTCRtpCodecCapability>): void; | ||
interface RTCStatsReport extends ReadonlyMap<string, any> { | ||
} | ||
interface RTCStatsReport extends ReadonlyMap<string, any> { | ||
interface ReadableStream<R = any> { | ||
[Symbol.iterator](): IterableIterator<any>; | ||
entries(): IterableIterator<[number, any]>; | ||
keys(): IterableIterator<number>; | ||
values(): IterableIterator<any>; | ||
} | ||
@@ -220,2 +228,6 @@ | ||
interface SVGTransformList { | ||
[Symbol.iterator](): IterableIterator<SVGTransform>; | ||
} | ||
interface SourceBufferList { | ||
@@ -225,6 +237,2 @@ [Symbol.iterator](): IterableIterator<SourceBuffer>; | ||
interface SpeechGrammarList { | ||
[Symbol.iterator](): IterableIterator<SpeechGrammar>; | ||
} | ||
interface SpeechRecognitionResult { | ||
@@ -242,2 +250,12 @@ [Symbol.iterator](): IterableIterator<SpeechRecognitionAlternative>; | ||
interface SubtleCrypto { | ||
deriveKey(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: AlgorithmIdentifier | AesDerivedKeyParams | HmacImportParams | HkdfParams | Pbkdf2Params, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>; | ||
generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKeyPair>; | ||
generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>; | ||
generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKeyPair | CryptoKey>; | ||
importKey(format: "jwk", keyData: JsonWebKey, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>; | ||
importKey(format: Exclude<KeyFormat, "jwk">, keyData: BufferSource, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>; | ||
unwrapKey(format: KeyFormat, wrappedKey: BufferSource, unwrappingKey: CryptoKey, unwrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, unwrappedKeyAlgorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>; | ||
} | ||
interface TextTrackCueList { | ||
@@ -271,6 +289,2 @@ [Symbol.iterator](): IterableIterator<TextTrackCue>; | ||
interface VRDisplay { | ||
requestPresent(layers: Iterable<VRLayer>): Promise<void>; | ||
} | ||
interface WEBGL_draw_buffers { | ||
@@ -277,0 +291,0 @@ drawBuffersWEBGL(buffers: Iterable<GLenum>): void; |
{ | ||
"name": "@types/web", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Types for the DOM, and other web technologies in browsers", | ||
@@ -15,3 +15,3 @@ "license": "MIT", | ||
"dependencies": {}, | ||
"domLibGeneratorSha": "28298bd" | ||
"domLibGeneratorSha": "a0f3ac4" | ||
} |
@@ -33,2 +33,2 @@ ### `@types/web` - Types for the DOM and most web-related APIs | ||
You can read what changed in version 0.0.1 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.1. | ||
You can read what changed in version 0.0.2 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.2. |
Sorry, the diff of this file is too big to display
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
805154
17586