File tree Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -14311,6 +14311,12 @@ declare var StorageManager: {
14311
14311
new(): StorageManager;
14312
14312
};
14313
14313
14314
+ /** @deprecated */
14315
+ interface StyleMedia {
14316
+ type: string;
14317
+ matchMedium(mediaquery: string): boolean;
14318
+ }
14319
+
14314
14320
/** A single style sheet. CSS style sheets will further implement the more specialized CSSStyleSheet interface. */
14315
14321
interface StyleSheet {
14316
14322
disabled: boolean;
Original file line number Diff line number Diff line change 616
616
}
617
617
}
618
618
},
619
+ // This is used in the React d.ts files, and not including
620
+ // it would force an update for anyone using React.
621
+ "StyleMedia" : {
622
+ "name" : " StyleMedia" ,
623
+ "exposed" : " Window" ,
624
+ "noInterfaceObject" : true ,
625
+ "deprecated" : true ,
626
+ "properties" : {
627
+ "property" : {
628
+ "type" : {
629
+ "name" : " type" ,
630
+ "type" : " DOMString"
631
+ }
632
+ }
633
+ },
634
+ "methods" : {
635
+ "method" : {
636
+ "matchMedium" : {
637
+ "name" : " matchMedium" ,
638
+ "overrideSignatures" : [
639
+ " matchMedium(mediaquery: string): boolean"
640
+ ]
641
+ }
642
+ }
643
+ }
644
+ },
619
645
"Navigator" : {
620
646
"name" : " Navigator" ,
621
647
"properties" : {
You can’t perform that action at this time.
0 commit comments