Skip to content

Commit e234f0c

Browse files
authored
Update the DOM: March 03, 2021 (#43070)
* Update the DOM: March 03, 2021 Mostly Typescript-DOM-lib-generator#915 * update baselines
1 parent 1f6a8d7 commit e234f0c

8 files changed

+370
-814
lines changed

src/lib/dom.generated.d.ts

Lines changed: 263 additions & 648 deletions
Large diffs are not rendered by default.

src/lib/dom.iterable.generated.d.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ interface IDBDatabase {
119119
interface IDBObjectStore {
120120
/**
121121
* Creates a new index in store with the given name, keyPath and options and returns a new IDBIndex. If the keyPath and options define constraints that cannot be satisfied with the data already in store the upgrade transaction will abort with a "ConstraintError" DOMException.
122-
*
122+
*
123123
* Throws an "InvalidStateError" DOMException if not called within an upgrade transaction.
124124
*/
125125
createIndex(name: string, keyPath: string | Iterable<string>, options?: IDBIndexParameters): IDBIndex;
@@ -267,10 +267,6 @@ interface WEBGL_draw_buffers {
267267
drawBuffersWEBGL(buffers: Iterable<GLenum>): void;
268268
}
269269

270-
interface WebAuthentication {
271-
makeCredential(accountInformation: Account, cryptoParameters: Iterable<ScopedCredentialParameters>, attestationChallenge: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | null, options?: ScopedCredentialOptions): Promise<ScopedCredentialInfo>;
272-
}
273-
274270
interface WebGL2RenderingContextBase {
275271
clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLfloat>, srcOffset?: GLuint): void;
276272
clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLint>, srcOffset?: GLuint): void;

src/lib/webworker.generated.d.ts

Lines changed: 98 additions & 153 deletions
Large diffs are not rendered by default.

src/lib/webworker.iterable.generated.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ interface IDBDatabase {
6060
interface IDBObjectStore {
6161
/**
6262
* Creates a new index in store with the given name, keyPath and options and returns a new IDBIndex. If the keyPath and options define constraints that cannot be satisfied with the data already in store the upgrade transaction will abort with a "ConstraintError" DOMException.
63-
*
63+
*
6464
* Throws an "InvalidStateError" DOMException if not called within an upgrade transaction.
6565
*/
6666
createIndex(name: string, keyPath: string | Iterable<string>, options?: IDBIndexParameters): IDBIndex;

tests/baselines/reference/globalThisBlockscopedProperties.types

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

tests/baselines/reference/intersectionsOfLargeUnions2.errors.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ tests/cases/compiler/intersectionsOfLargeUnions2.ts(31,15): error TS2536: Type '
1010
interface ElementTagNameMap {
1111
~~~~~~~~~~~~~~~~~
1212
!!! error TS2300: Duplicate identifier 'ElementTagNameMap'.
13-
!!! related TS6203 /.ts/lib.dom.d.ts:19586:6: 'ElementTagNameMap' was also declared here.
13+
!!! related TS6203 /.ts/lib.dom.d.ts:19225:6: 'ElementTagNameMap' was also declared here.
1414
[index: number]: HTMLElement
1515
}
1616

tests/baselines/reference/mappedTypeRecursiveInference.types

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

tests/baselines/reference/moduleDeclarationExportStarShadowingGlobalIsNameable.symbols

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ declare global {
2323
>global : Symbol(global, Decl(index.ts, 0, 0))
2424

2525
interface Account {
26-
>Account : Symbol(Account, Decl(lib.dom.d.ts, --, --), Decl(index.ts, 0, 16))
26+
>Account : Symbol(Account, Decl(index.ts, 0, 16))
2727

2828
someProp: number;
2929
>someProp : Symbol(Account.someProp, Decl(index.ts, 1, 23))

0 commit comments

Comments
 (0)