Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions baselines/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down
6 changes: 0 additions & 6 deletions baselines/ts5.5/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down
6 changes: 0 additions & 6 deletions baselines/ts5.6/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down
6 changes: 0 additions & 6 deletions baselines/ts5.9/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down
26 changes: 0 additions & 26 deletions inputfiles/addedTypes.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down