Skip to content

Commit 7ae6fcd

Browse files
committed
Update LKG
1 parent c3caf7f commit 7ae6fcd

14 files changed

Lines changed: 50415 additions & 20567 deletions

lib/lib.core.d.ts

Lines changed: 239 additions & 156 deletions
Large diffs are not rendered by default.

lib/lib.core.es6.d.ts

Lines changed: 287 additions & 204 deletions
Large diffs are not rendered by default.

lib/lib.core.es7.d.ts

Lines changed: 5344 additions & 0 deletions
Large diffs are not rendered by default.

lib/lib.d.ts

Lines changed: 251 additions & 162 deletions
Large diffs are not rendered by default.

lib/lib.dom.d.ts

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -595,6 +595,8 @@ interface AudioNode extends EventTarget {
595595
numberOfOutputs: number;
596596
connect(destination: AudioNode, output?: number, input?: number): void;
597597
disconnect(output?: number): void;
598+
disconnect(destination: AudioNode, output?: number, input?: number): void;
599+
disconnect(destination: AudioParam, output?: number): void;
598600
}
599601

600602
declare var AudioNode: {
@@ -7111,7 +7113,7 @@ interface IDBCursor {
71117113
direction: string;
71127114
key: any;
71137115
primaryKey: any;
7114-
source: any;
7116+
source: IDBObjectStore | IDBIndex;
71157117
advance(count: number): void;
71167118
continue(key?: any): void;
71177119
delete(): IDBRequest;
@@ -7149,7 +7151,7 @@ interface IDBDatabase extends EventTarget {
71497151
close(): void;
71507152
createObjectStore(name: string, optionalParameters?: IDBObjectStoreParameters): IDBObjectStore;
71517153
deleteObjectStore(name: string): void;
7152-
transaction(storeNames: any, mode?: string): IDBTransaction;
7154+
transaction(storeNames: string | string[], mode?: string): IDBTransaction;
71537155
addEventListener(type: "abort", listener: (ev: Event) => any, useCapture?: boolean): void;
71547156
addEventListener(type: "error", listener: (ev: ErrorEvent) => any, useCapture?: boolean): void;
71557157
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
@@ -7207,9 +7209,10 @@ declare var IDBKeyRange: {
72077209

72087210
interface IDBObjectStore {
72097211
indexNames: DOMStringList;
7210-
keyPath: string;
7212+
keyPath: string | string[];
72117213
name: string;
72127214
transaction: IDBTransaction;
7215+
autoIncrement: boolean;
72137216
add(value: any, key?: any): IDBRequest;
72147217
clear(): IDBRequest;
72157218
count(key?: any): IDBRequest;
@@ -7248,7 +7251,7 @@ interface IDBRequest extends EventTarget {
72487251
onsuccess: (ev: Event) => any;
72497252
readyState: string;
72507253
result: any;
7251-
source: any;
7254+
source: IDBObjectStore | IDBIndex | IDBCursor;
72527255
transaction: IDBTransaction;
72537256
addEventListener(type: "error", listener: (ev: ErrorEvent) => any, useCapture?: boolean): void;
72547257
addEventListener(type: "success", listener: (ev: Event) => any, useCapture?: boolean): void;
@@ -10435,11 +10438,14 @@ declare var SVGViewElement: {
1043510438
}
1043610439

1043710440
interface SVGZoomAndPan {
10441+
zoomAndPan: number;
10442+
}
10443+
10444+
declare var SVGZoomAndPan: {
1043810445
SVG_ZOOMANDPAN_DISABLE: number;
1043910446
SVG_ZOOMANDPAN_MAGNIFY: number;
1044010447
SVG_ZOOMANDPAN_UNKNOWN: number;
1044110448
}
10442-
declare var SVGZoomAndPan: SVGZoomAndPan;
1044310449

1044410450
interface SVGZoomEvent extends UIEvent {
1044510451
newScale: number;
@@ -12902,7 +12908,7 @@ interface DecodeSuccessCallback {
1290212908
(decodedData: AudioBuffer): void;
1290312909
}
1290412910
interface DecodeErrorCallback {
12905-
(): void;
12911+
(error: DOMException): void;
1290612912
}
1290712913
interface FunctionStringCallback {
1290812914
(data: string): void;

0 commit comments

Comments
 (0)