File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed
Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 1515 "react": {
1616 "version": "detect"
1717 }
18+ },
19+ "env": {
20+ "es2020": true
1821 }
1922}
Original file line number Diff line number Diff line change @@ -65,7 +65,9 @@ You may pass any props you like to the `root.*` component which will be applied
6565ShadowRoot .propTypes = {
6666 mode: PropTypes .oneOf ([' open' , ' closed' ]),
6767 delegatesFocus: PropTypes .bool ,
68- styleSheets: PropTypes .arrayOf (PropTypes .instanceOf (global .CSSStyleSheet )),
68+ styleSheets: PropTypes .arrayOf (
69+ PropTypes .instanceOf (globalThis .CSSStyleSheet ),
70+ ),
6971 children: PropTypes .node ,
7072};
7173
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ export default function create(options) {
8383 mode : PropTypes . oneOf ( [ 'open' , 'closed' ] ) ,
8484 delegatesFocus : PropTypes . bool ,
8585 styleSheets : PropTypes . arrayOf (
86- PropTypes . instanceOf ( global . CSSStyleSheet ) ,
86+ PropTypes . instanceOf ( globalThis . CSSStyleSheet ) ,
8787 ) ,
8888 ssr : PropTypes . bool ,
8989 children : PropTypes . node ,
You can’t perform that action at this time.
0 commit comments