Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update LKG to enable improved narrowing in 4.4. #44842

Merged
merged 2 commits into from
Jul 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
401 changes: 335 additions & 66 deletions lib/cs/diagnosticMessages.generated.json

Large diffs are not rendered by default.

367 changes: 318 additions & 49 deletions lib/de/diagnosticMessages.generated.json

Large diffs are not rendered by default.

383 changes: 326 additions & 57 deletions lib/es/diagnosticMessages.generated.json

Large diffs are not rendered by default.

369 changes: 319 additions & 50 deletions lib/fr/diagnosticMessages.generated.json

Large diffs are not rendered by default.

403 changes: 336 additions & 67 deletions lib/it/diagnosticMessages.generated.json

Large diffs are not rendered by default.

395 changes: 332 additions & 63 deletions lib/ja/diagnosticMessages.generated.json

Large diffs are not rendered by default.

393 changes: 331 additions & 62 deletions lib/ko/diagnosticMessages.generated.json

Large diffs are not rendered by default.

5,108 changes: 2,070 additions & 3,038 deletions lib/lib.dom.d.ts

Large diffs are not rendered by default.

52 changes: 33 additions & 19 deletions lib/lib.dom.iterable.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ and limitations under the License.


/////////////////////////////
/// DOM Iterable APIs
/// Window Iterable APIs
/////////////////////////////

interface AudioParam {
Expand Down Expand Up @@ -50,10 +50,6 @@ interface CanvasPathDrawingStyles {
setLineDash(segments: Iterable<number>): void;
}

interface ClientRectList {
[Symbol.iterator](): IterableIterator<ClientRect>;
}

interface DOMRectList {
[Symbol.iterator](): IterableIterator<DOMRect>;
}
Expand All @@ -77,6 +73,9 @@ interface FileList {
[Symbol.iterator](): IterableIterator<File>;
}

interface FontFaceSet extends Set<FontFace> {
}

interface FormData {
[Symbol.iterator](): IterableIterator<[string, FormDataEntryValue]>;
/**
Expand Down Expand Up @@ -156,8 +155,13 @@ interface MediaList {
[Symbol.iterator](): IterableIterator<string>;
}

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>;
}

interface NamedNodeMap {
Expand All @@ -166,6 +170,7 @@ interface NamedNodeMap {

interface Navigator {
requestMediaKeySystemAccess(keySystem: string, supportedConfigurations: Iterable<MediaKeySystemConfiguration>): Promise<MediaKeySystemAccess>;
vibrate(pattern: Iterable<number>): boolean;
}

interface NodeList {
Expand Down Expand Up @@ -201,18 +206,21 @@ interface NodeListOf<TNode extends Node> {
}

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>;
}

interface SVGLengthList {
Expand All @@ -231,12 +239,12 @@ interface SVGStringList {
[Symbol.iterator](): IterableIterator<string>;
}

interface SourceBufferList {
[Symbol.iterator](): IterableIterator<SourceBuffer>;
interface SVGTransformList {
[Symbol.iterator](): IterableIterator<SVGTransform>;
}

interface SpeechGrammarList {
[Symbol.iterator](): IterableIterator<SpeechGrammar>;
interface SourceBufferList {
[Symbol.iterator](): IterableIterator<SourceBuffer>;
}

interface SpeechRecognitionResult {
Expand All @@ -251,6 +259,16 @@ interface StyleSheetList {
[Symbol.iterator](): IterableIterator<CSSStyleSheet>;
}

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 {
[Symbol.iterator](): IterableIterator<TextTrackCue>;
}
Expand Down Expand Up @@ -279,10 +297,6 @@ interface URLSearchParams {
values(): IterableIterator<string>;
}

interface VRDisplay {
requestPresent(layers: Iterable<VRLayer>): Promise<void>;
}

interface WEBGL_draw_buffers {
drawBuffersWEBGL(buffers: Iterable<GLenum>): void;
}
Expand Down
Loading