Skip to content

Commit ce05a69

Browse files
committed
Ignore some TypeScript "errors" about fullscreen properties
Signed-off-by: William Desportes <williamdes@wdes.fr>
1 parent 5391167 commit ce05a69

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

resources/js/designer/move.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -525,8 +525,11 @@ const requestFullscreen = function (e) {
525525
const fullscreenEnabled = function () {
526526
// eslint-disable-next-line compat/compat
527527
return document.fullscreenEnabled ||
528+
// @ts-ignore: Exists on Webkit
528529
document.webkitFullscreenEnabled ||
530+
// @ts-ignore: Exists on Firefox
529531
document.mozFullScreenEnabled ||
532+
// @ts-ignore: Exists on Microsoft
530533
document.msFullscreenEnabled;
531534
};
532535

0 commit comments

Comments
 (0)