Skip to content

Commit 227aa3f

Browse files
Bashamegasaschanaz
andauthored
Remove StyleMedia (microsoft#2199)
Co-authored-by: saschanaz <[email protected]>
1 parent a5f870b commit 227aa3f

File tree

5 files changed

+0
-50
lines changed

5 files changed

+0
-50
lines changed

baselines/dom.generated.d.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34368,12 +34368,6 @@ declare var StorageManager: {
3436834368
new(): StorageManager;
3436934369
};
3437034370

34371-
/** @deprecated */
34372-
interface StyleMedia {
34373-
type: string;
34374-
matchMedium(mediaquery: string): boolean;
34375-
}
34376-
3437734371
/**
3437834372
* The **`StylePropertyMap`** interface of the CSS Typed Object Model API provides a representation of a CSS declaration block that is an alternative to CSSStyleDeclaration.
3437934373
*

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34343,12 +34343,6 @@ declare var StorageManager: {
3434334343
new(): StorageManager;
3434434344
};
3434534345

34346-
/** @deprecated */
34347-
interface StyleMedia {
34348-
type: string;
34349-
matchMedium(mediaquery: string): boolean;
34350-
}
34351-
3435234346
/**
3435334347
* The **`StylePropertyMap`** interface of the CSS Typed Object Model API provides a representation of a CSS declaration block that is an alternative to CSSStyleDeclaration.
3435434348
*

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34365,12 +34365,6 @@ declare var StorageManager: {
3436534365
new(): StorageManager;
3436634366
};
3436734367

34368-
/** @deprecated */
34369-
interface StyleMedia {
34370-
type: string;
34371-
matchMedium(mediaquery: string): boolean;
34372-
}
34373-
3437434368
/**
3437534369
* The **`StylePropertyMap`** interface of the CSS Typed Object Model API provides a representation of a CSS declaration block that is an alternative to CSSStyleDeclaration.
3437634370
*

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34365,12 +34365,6 @@ declare var StorageManager: {
3436534365
new(): StorageManager;
3436634366
};
3436734367

34368-
/** @deprecated */
34369-
interface StyleMedia {
34370-
type: string;
34371-
matchMedium(mediaquery: string): boolean;
34372-
}
34373-
3437434368
/**
3437534369
* The **`StylePropertyMap`** interface of the CSS Typed Object Model API provides a representation of a CSS declaration block that is an alternative to CSSStyleDeclaration.
3437634370
*

inputfiles/addedTypes.jsonc

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -275,32 +275,6 @@
275275
]
276276
}
277277
},
278-
// This is used in the React d.ts files, and not including
279-
// it would force an update for anyone using React.
280-
"StyleMedia": {
281-
"name": "StyleMedia",
282-
"exposed": "Window",
283-
"noInterfaceObject": true,
284-
"deprecated": true,
285-
"properties": {
286-
"property": {
287-
"type": {
288-
"name": "type",
289-
"type": "DOMString"
290-
}
291-
}
292-
},
293-
"methods": {
294-
"method": {
295-
"matchMedium": {
296-
"name": "matchMedium",
297-
"overrideSignatures": [
298-
"matchMedium(mediaquery: string): boolean"
299-
]
300-
}
301-
}
302-
}
303-
},
304278
"RuntimeError": {
305279
"name": "RuntimeError",
306280
"extends": "Error",

0 commit comments

Comments
 (0)