@@ -3274,6 +3274,7 @@ interface AnimationTimeline {
32743274 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/currentTime)
32753275 */
32763276 readonly currentTime: CSSNumberish | null;
3277+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/duration) */
32773278 readonly duration: CSSNumberish | null;
32783279}
32793280
@@ -30618,6 +30619,12 @@ interface ScreenOrientation extends EventTarget {
3061830619 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/type)
3061930620 */
3062030621 readonly type: OrientationType;
30622+ /**
30623+ * The **`lock()`** method of the ScreenOrientation interface locks the orientation of the containing document to the specified orientation.
30624+ *
30625+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/lock)
30626+ */
30627+ lock(orientation: OrientationLockType): Promise<void>;
3062130628 /**
3062230629 * The **`unlock()`** method of the ScreenOrientation interface unlocks the orientation of the containing document from its default orientation.
3062330630 *
@@ -40068,6 +40075,7 @@ type NotificationDirection = "auto" | "ltr" | "rtl";
4006840075type NotificationPermission = "default" | "denied" | "granted";
4006940076type OffscreenRenderingContextId = "2d" | "bitmaprenderer" | "webgl" | "webgl2" | "webgpu";
4007040077type OpusBitstreamFormat = "ogg" | "opus";
40078+ type OrientationLockType = "any" | "landscape" | "landscape-primary" | "landscape-secondary" | "natural" | "portrait" | "portrait-primary" | "portrait-secondary";
4007140079type OrientationType = "landscape-primary" | "landscape-secondary" | "portrait-primary" | "portrait-secondary";
4007240080type OscillatorType = "custom" | "sawtooth" | "sine" | "square" | "triangle";
4007340081type OverSampleType = "2x" | "4x" | "none";
0 commit comments