diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 86c14fd30..d2e75ec95 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -3274,6 +3274,7 @@ interface AnimationTimeline { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/currentTime) */ readonly currentTime: CSSNumberish | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/duration) */ readonly duration: CSSNumberish | null; } @@ -30618,6 +30619,12 @@ interface ScreenOrientation extends EventTarget { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/type) */ readonly type: OrientationType; + /** + * The **`lock()`** method of the ScreenOrientation interface locks the orientation of the containing document to the specified orientation. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/lock) + */ + lock(orientation: OrientationLockType): Promise; /** * The **`unlock()`** method of the ScreenOrientation interface unlocks the orientation of the containing document from its default orientation. * @@ -40068,6 +40075,7 @@ type NotificationDirection = "auto" | "ltr" | "rtl"; type NotificationPermission = "default" | "denied" | "granted"; type OffscreenRenderingContextId = "2d" | "bitmaprenderer" | "webgl" | "webgl2" | "webgpu"; type OpusBitstreamFormat = "ogg" | "opus"; +type OrientationLockType = "any" | "landscape" | "landscape-primary" | "landscape-secondary" | "natural" | "portrait" | "portrait-primary" | "portrait-secondary"; type OrientationType = "landscape-primary" | "landscape-secondary" | "portrait-primary" | "portrait-secondary"; type OscillatorType = "custom" | "sawtooth" | "sine" | "square" | "triangle"; type OverSampleType = "2x" | "4x" | "none"; diff --git a/baselines/ts5.5/dom.generated.d.ts b/baselines/ts5.5/dom.generated.d.ts index c01cddb58..a46179419 100644 --- a/baselines/ts5.5/dom.generated.d.ts +++ b/baselines/ts5.5/dom.generated.d.ts @@ -3274,6 +3274,7 @@ interface AnimationTimeline { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/currentTime) */ readonly currentTime: CSSNumberish | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/duration) */ readonly duration: CSSNumberish | null; } @@ -30596,6 +30597,12 @@ interface ScreenOrientation extends EventTarget { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/type) */ readonly type: OrientationType; + /** + * The **`lock()`** method of the ScreenOrientation interface locks the orientation of the containing document to the specified orientation. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/lock) + */ + lock(orientation: OrientationLockType): Promise; /** * The **`unlock()`** method of the ScreenOrientation interface unlocks the orientation of the containing document from its default orientation. * @@ -40045,6 +40052,7 @@ type NotificationDirection = "auto" | "ltr" | "rtl"; type NotificationPermission = "default" | "denied" | "granted"; type OffscreenRenderingContextId = "2d" | "bitmaprenderer" | "webgl" | "webgl2" | "webgpu"; type OpusBitstreamFormat = "ogg" | "opus"; +type OrientationLockType = "any" | "landscape" | "landscape-primary" | "landscape-secondary" | "natural" | "portrait" | "portrait-primary" | "portrait-secondary"; type OrientationType = "landscape-primary" | "landscape-secondary" | "portrait-primary" | "portrait-secondary"; type OscillatorType = "custom" | "sawtooth" | "sine" | "square" | "triangle"; type OverSampleType = "2x" | "4x" | "none"; diff --git a/baselines/ts5.6/dom.generated.d.ts b/baselines/ts5.6/dom.generated.d.ts index 6fab76961..38fd93592 100644 --- a/baselines/ts5.6/dom.generated.d.ts +++ b/baselines/ts5.6/dom.generated.d.ts @@ -3274,6 +3274,7 @@ interface AnimationTimeline { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/currentTime) */ readonly currentTime: CSSNumberish | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/duration) */ readonly duration: CSSNumberish | null; } @@ -30618,6 +30619,12 @@ interface ScreenOrientation extends EventTarget { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/type) */ readonly type: OrientationType; + /** + * The **`lock()`** method of the ScreenOrientation interface locks the orientation of the containing document to the specified orientation. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/lock) + */ + lock(orientation: OrientationLockType): Promise; /** * The **`unlock()`** method of the ScreenOrientation interface unlocks the orientation of the containing document from its default orientation. * @@ -40068,6 +40075,7 @@ type NotificationDirection = "auto" | "ltr" | "rtl"; type NotificationPermission = "default" | "denied" | "granted"; type OffscreenRenderingContextId = "2d" | "bitmaprenderer" | "webgl" | "webgl2" | "webgpu"; type OpusBitstreamFormat = "ogg" | "opus"; +type OrientationLockType = "any" | "landscape" | "landscape-primary" | "landscape-secondary" | "natural" | "portrait" | "portrait-primary" | "portrait-secondary"; type OrientationType = "landscape-primary" | "landscape-secondary" | "portrait-primary" | "portrait-secondary"; type OscillatorType = "custom" | "sawtooth" | "sine" | "square" | "triangle"; type OverSampleType = "2x" | "4x" | "none"; diff --git a/package-lock.json b/package-lock.json index 659191b13..e2f874369 100644 --- a/package-lock.json +++ b/package-lock.json @@ -396,9 +396,9 @@ } }, "node_modules/@mdn/browser-compat-data": { - "version": "7.1.6", - "resolved": "https://registry.npmjs.org/@mdn/browser-compat-data/-/browser-compat-data-7.1.6.tgz", - "integrity": "sha512-//xJOI7gGx1OAHAMQq1V4by5gWOZNPSoZdYdUZRKtXuxLnBY5DwY0nZVe7tw4PJQeAeeUH9ZZeAlm1wpdod1Uw==", + "version": "7.1.8", + "resolved": "https://registry.npmjs.org/@mdn/browser-compat-data/-/browser-compat-data-7.1.8.tgz", + "integrity": "sha512-5ND+azfaE7xtM9vOVzikPu3WtMkCBYvKGY8omIj+zeL+jwuZIJ3g43yuHZvMfmom9wtW6UOB3nNul5oNpMS1kg==", "dev": true, "license": "CC0-1.0" },