Routine update of lib.d.ts 20160131
This commit is contained in:
parent
39216e8811
commit
064de382cf
2 changed files with 18 additions and 11 deletions
18
src/lib/dom.generated.d.ts
vendored
18
src/lib/dom.generated.d.ts
vendored
|
@ -378,6 +378,8 @@ interface AudioNode extends EventTarget {
|
|||
numberOfOutputs: number;
|
||||
connect(destination: AudioNode, output?: number, input?: number): void;
|
||||
disconnect(output?: number): void;
|
||||
disconnect(destination: AudioNode, output?: number, input?: number): void;
|
||||
disconnect(destination: AudioParam, output?: number): void;
|
||||
}
|
||||
|
||||
declare var AudioNode: {
|
||||
|
@ -6894,7 +6896,7 @@ interface IDBCursor {
|
|||
direction: string;
|
||||
key: any;
|
||||
primaryKey: any;
|
||||
source: any;
|
||||
source: IDBObjectStore | IDBIndex;
|
||||
advance(count: number): void;
|
||||
continue(key?: any): void;
|
||||
delete(): IDBRequest;
|
||||
|
@ -6932,7 +6934,7 @@ interface IDBDatabase extends EventTarget {
|
|||
close(): void;
|
||||
createObjectStore(name: string, optionalParameters?: IDBObjectStoreParameters): IDBObjectStore;
|
||||
deleteObjectStore(name: string): void;
|
||||
transaction(storeNames: any, mode?: string): IDBTransaction;
|
||||
transaction(storeNames: string | string[], mode?: string): IDBTransaction;
|
||||
addEventListener(type: "abort", listener: (ev: Event) => any, useCapture?: boolean): void;
|
||||
addEventListener(type: "error", listener: (ev: ErrorEvent) => any, useCapture?: boolean): void;
|
||||
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
|
||||
|
@ -6990,9 +6992,10 @@ declare var IDBKeyRange: {
|
|||
|
||||
interface IDBObjectStore {
|
||||
indexNames: DOMStringList;
|
||||
keyPath: string;
|
||||
keyPath: string | string[];
|
||||
name: string;
|
||||
transaction: IDBTransaction;
|
||||
autoIncrement: boolean;
|
||||
add(value: any, key?: any): IDBRequest;
|
||||
clear(): IDBRequest;
|
||||
count(key?: any): IDBRequest;
|
||||
|
@ -7031,7 +7034,7 @@ interface IDBRequest extends EventTarget {
|
|||
onsuccess: (ev: Event) => any;
|
||||
readyState: string;
|
||||
result: any;
|
||||
source: any;
|
||||
source: IDBObjectStore | IDBIndex | IDBCursor;
|
||||
transaction: IDBTransaction;
|
||||
addEventListener(type: "error", listener: (ev: ErrorEvent) => any, useCapture?: boolean): void;
|
||||
addEventListener(type: "success", listener: (ev: Event) => any, useCapture?: boolean): void;
|
||||
|
@ -10218,11 +10221,14 @@ declare var SVGViewElement: {
|
|||
}
|
||||
|
||||
interface SVGZoomAndPan {
|
||||
zoomAndPan: number;
|
||||
}
|
||||
|
||||
declare var SVGZoomAndPan: {
|
||||
SVG_ZOOMANDPAN_DISABLE: number;
|
||||
SVG_ZOOMANDPAN_MAGNIFY: number;
|
||||
SVG_ZOOMANDPAN_UNKNOWN: number;
|
||||
}
|
||||
declare var SVGZoomAndPan: SVGZoomAndPan;
|
||||
|
||||
interface SVGZoomEvent extends UIEvent {
|
||||
newScale: number;
|
||||
|
@ -12685,7 +12691,7 @@ interface DecodeSuccessCallback {
|
|||
(decodedData: AudioBuffer): void;
|
||||
}
|
||||
interface DecodeErrorCallback {
|
||||
(): void;
|
||||
(error: DOMException): void;
|
||||
}
|
||||
interface FunctionStringCallback {
|
||||
(data: string): void;
|
||||
|
|
11
src/lib/webworker.generated.d.ts
vendored
11
src/lib/webworker.generated.d.ts
vendored
|
@ -275,7 +275,7 @@ interface IDBCursor {
|
|||
direction: string;
|
||||
key: any;
|
||||
primaryKey: any;
|
||||
source: any;
|
||||
source: IDBObjectStore | IDBIndex;
|
||||
advance(count: number): void;
|
||||
continue(key?: any): void;
|
||||
delete(): IDBRequest;
|
||||
|
@ -313,7 +313,7 @@ interface IDBDatabase extends EventTarget {
|
|||
close(): void;
|
||||
createObjectStore(name: string, optionalParameters?: IDBObjectStoreParameters): IDBObjectStore;
|
||||
deleteObjectStore(name: string): void;
|
||||
transaction(storeNames: any, mode?: string): IDBTransaction;
|
||||
transaction(storeNames: string | string[], mode?: string): IDBTransaction;
|
||||
addEventListener(type: "abort", listener: (ev: Event) => any, useCapture?: boolean): void;
|
||||
addEventListener(type: "error", listener: (ev: ErrorEvent) => any, useCapture?: boolean): void;
|
||||
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
|
||||
|
@ -371,9 +371,10 @@ declare var IDBKeyRange: {
|
|||
|
||||
interface IDBObjectStore {
|
||||
indexNames: DOMStringList;
|
||||
keyPath: string;
|
||||
keyPath: string | string[];
|
||||
name: string;
|
||||
transaction: IDBTransaction;
|
||||
autoIncrement: boolean;
|
||||
add(value: any, key?: any): IDBRequest;
|
||||
clear(): IDBRequest;
|
||||
count(key?: any): IDBRequest;
|
||||
|
@ -412,7 +413,7 @@ interface IDBRequest extends EventTarget {
|
|||
onsuccess: (ev: Event) => any;
|
||||
readyState: string;
|
||||
result: any;
|
||||
source: any;
|
||||
source: IDBObjectStore | IDBIndex | IDBCursor;
|
||||
transaction: IDBTransaction;
|
||||
addEventListener(type: "error", listener: (ev: ErrorEvent) => any, useCapture?: boolean): void;
|
||||
addEventListener(type: "success", listener: (ev: Event) => any, useCapture?: boolean): void;
|
||||
|
@ -959,7 +960,7 @@ interface DecodeSuccessCallback {
|
|||
(decodedData: AudioBuffer): void;
|
||||
}
|
||||
interface DecodeErrorCallback {
|
||||
(): void;
|
||||
(error: DOMException): void;
|
||||
}
|
||||
interface FunctionStringCallback {
|
||||
(data: string): void;
|
||||
|
|
Loading…
Reference in a new issue