File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,11 +3,13 @@ declare global {
33 startViewTransition ?(
44 param ?: StartViewTransitionOptions | ViewTransitionUpdateCallback
55 ) : ViewTransition ;
6+ activeViewTransition ?: ViewTransition ;
67 }
78 interface Element {
89 startViewTransition ?(
910 param ?: StartViewTransitionOptions | ViewTransitionUpdateCallback
1011 ) : ViewTransition ;
12+ activeViewTransition ?: ViewTransition ;
1113 }
1214 interface PageSwapEvent extends Event {
1315 viewTransition ?: ViewTransition ;
@@ -36,12 +38,18 @@ declare global {
3638 interface ViewTransition {
3739 readonly types ?: Set < string > ;
3840 readonly transitionRoot ?: Element ;
41+ waitUntil ( promise : Promise < unknown > ) : void ;
3942 }
4043 interface Window {
4144 navigation ?: Navigation ;
4245 }
4346 interface Navigation {
4447 activation : NavigationActivation ;
4548 }
49+
50+ interface CSSStyleDeclaration {
51+ viewTransitionGroup : string ;
52+ viewTransitionScope : string ;
53+ }
4654}
4755export { } ;
You can’t perform that action at this time.
0 commit comments