diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index c0c0f94fd..983986ca2 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -31968,12 +31968,6 @@ declare var StorageManager: { new(): StorageManager; }; -/** @deprecated */ -interface StyleMedia { - type: string; - matchMedium(mediaquery: string): boolean; -} - /** * The **`StylePropertyMap`** interface of the CSS Typed Object Model API provides a representation of a CSS declaration block that is an alternative to CSSStyleDeclaration. * diff --git a/baselines/ts5.5/dom.generated.d.ts b/baselines/ts5.5/dom.generated.d.ts index cd855076e..8320f4413 100644 --- a/baselines/ts5.5/dom.generated.d.ts +++ b/baselines/ts5.5/dom.generated.d.ts @@ -31943,12 +31943,6 @@ declare var StorageManager: { new(): StorageManager; }; -/** @deprecated */ -interface StyleMedia { - type: string; - matchMedium(mediaquery: string): boolean; -} - /** * The **`StylePropertyMap`** interface of the CSS Typed Object Model API provides a representation of a CSS declaration block that is an alternative to CSSStyleDeclaration. * diff --git a/baselines/ts5.6/dom.generated.d.ts b/baselines/ts5.6/dom.generated.d.ts index 7bd58b642..edf5c9d6e 100644 --- a/baselines/ts5.6/dom.generated.d.ts +++ b/baselines/ts5.6/dom.generated.d.ts @@ -31965,12 +31965,6 @@ declare var StorageManager: { new(): StorageManager; }; -/** @deprecated */ -interface StyleMedia { - type: string; - matchMedium(mediaquery: string): boolean; -} - /** * The **`StylePropertyMap`** interface of the CSS Typed Object Model API provides a representation of a CSS declaration block that is an alternative to CSSStyleDeclaration. * diff --git a/baselines/ts5.9/dom.generated.d.ts b/baselines/ts5.9/dom.generated.d.ts index 388ce9493..db0497687 100644 --- a/baselines/ts5.9/dom.generated.d.ts +++ b/baselines/ts5.9/dom.generated.d.ts @@ -31965,12 +31965,6 @@ declare var StorageManager: { new(): StorageManager; }; -/** @deprecated */ -interface StyleMedia { - type: string; - matchMedium(mediaquery: string): boolean; -} - /** * The **`StylePropertyMap`** interface of the CSS Typed Object Model API provides a representation of a CSS declaration block that is an alternative to CSSStyleDeclaration. * diff --git a/inputfiles/addedTypes.jsonc b/inputfiles/addedTypes.jsonc index 5b7586411..d99ccd2d0 100644 --- a/inputfiles/addedTypes.jsonc +++ b/inputfiles/addedTypes.jsonc @@ -394,32 +394,6 @@ ] } }, - // This is used in the React d.ts files, and not including - // it would force an update for anyone using React. - "StyleMedia": { - "name": "StyleMedia", - "exposed": "Window", - "noInterfaceObject": true, - "deprecated": true, - "properties": { - "property": { - "type": { - "name": "type", - "type": "DOMString" - } - } - }, - "methods": { - "method": { - "matchMedium": { - "name": "matchMedium", - "overrideSignatures": [ - "matchMedium(mediaquery: string): boolean" - ] - } - } - } - }, "Navigator": { "name": "Navigator", "properties": {