Skip to content

Commit de83ebc

Browse files
authored
Merge branch 'microsoft:main' into descriptions
2 parents d97bcb7 + 0cebf53 commit de83ebc

5 files changed

Lines changed: 2 additions & 9 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ If you are familiar with Web IDL, you may also want to check whether the upstrea
8686
- `addedTypes.jsonc`: types that should exist but are missing from the spec data.
8787
- `overridingTypes.jsonc`: types that are defined in the spec but have TypeScript-friendly modifications in the json files.
8888
- `removedTypes.jsonc`: types that are defined in the spec but should be removed.
89-
- `comments.json`: comment strings to be embedded in the generated .js files.
90-
- `deprecatedMessage.json`: the reason why one type is deprecated. The reason why it is a separate file rather than merge in comment.json is mdn/apiDescriptions.json would also possibly be deprecated.
89+
- `comments.json`: comment strings to be embedded in the generated .d.ts files.
90+
- `deprecatedMessage.json`: the reason why one type is deprecated.
9191

9292
## Deployment to TypeScript
9393

baselines/dom.generated.d.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16109,15 +16109,13 @@ declare var HTMLDivElement: {
1610916109
new(): HTMLDivElement;
1611016110
};
1611116111

16112-
/** @deprecated use Document */
1611316112
interface HTMLDocument extends Document {
1611416113
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: HTMLDocument, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1611516114
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1611616115
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: HTMLDocument, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1611716116
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1611816117
}
1611916118

16120-
/** @deprecated */
1612116119
declare var HTMLDocument: {
1612216120
prototype: HTMLDocument;
1612316121
new(): HTMLDocument;

baselines/ts5.5/dom.generated.d.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16097,15 +16097,13 @@ declare var HTMLDivElement: {
1609716097
new(): HTMLDivElement;
1609816098
};
1609916099

16100-
/** @deprecated use Document */
1610116100
interface HTMLDocument extends Document {
1610216101
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: HTMLDocument, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1610316102
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1610416103
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: HTMLDocument, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1610516104
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1610616105
}
1610716106

16108-
/** @deprecated */
1610916107
declare var HTMLDocument: {
1611016108
prototype: HTMLDocument;
1611116109
new(): HTMLDocument;

baselines/ts5.6/dom.generated.d.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16109,15 +16109,13 @@ declare var HTMLDivElement: {
1610916109
new(): HTMLDivElement;
1611016110
};
1611116111

16112-
/** @deprecated use Document */
1611316112
interface HTMLDocument extends Document {
1611416113
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: HTMLDocument, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1611516114
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1611616115
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: HTMLDocument, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1611716116
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1611816117
}
1611916118

16120-
/** @deprecated */
1612116119
declare var HTMLDocument: {
1612216120
prototype: HTMLDocument;
1612316121
new(): HTMLDocument;

inputfiles/addedTypes.jsonc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,6 @@
582582
"HTMLDocument": {
583583
"name": "HTMLDocument",
584584
"extends": "Document",
585-
"deprecated": "use Document",
586585
"exposed": "Window"
587586
},
588587
"HTMLMediaElement": {

0 commit comments

Comments
 (0)