File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ function getScreenSize() {
33 return [ screen . width , screen . height , screen . colorDepth ] . join ( '×' ) ;
44}
55function getScreenOrientation ( ) {
6- return typeof screen . orientation === 'string' ? screen . orientation : screen . orientation . type ;
6+ var _a ;
7+ return typeof screen . orientation === 'string' ? screen . orientation : ( _a = screen . orientation ) === null || _a === void 0 ? void 0 : _a . type ;
78}
89function copyTextToClipboard ( text ) {
910 var textarea = document . createElement ( 'textarea' ) ;
Original file line number Diff line number Diff line change 66 return [ screen . width , screen . height , screen . colorDepth ] . join ( '×' ) ;
77 }
88 function getScreenOrientation ( ) {
9- return typeof screen . orientation === 'string' ? screen . orientation : screen . orientation . type ;
9+ var _a ;
10+ return typeof screen . orientation === 'string' ? screen . orientation : ( _a = screen . orientation ) === null || _a === void 0 ? void 0 : _a . type ;
1011 }
1112 function copyTextToClipboard ( text ) {
1213 var textarea = document . createElement ( 'textarea' ) ;
You can’t perform that action at this time.
0 commit comments