Ignore some TypeScript "errors" about fullscreen properties

Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
William Desportes 2026-02-24 15:53:24 +01:00
parent 5391167eab
commit ce05a69743
No known key found for this signature in database
GPG Key ID: 70684F4717D49A31

View File

@ -525,8 +525,11 @@ const requestFullscreen = function (e) {
const fullscreenEnabled = function () {
// eslint-disable-next-line compat/compat
return document.fullscreenEnabled ||
// @ts-ignore: Exists on Webkit
document.webkitFullscreenEnabled ||
// @ts-ignore: Exists on Firefox
document.mozFullScreenEnabled ||
// @ts-ignore: Exists on Microsoft
document.msFullscreenEnabled;
};