The ViewTransitionOptions type is used to define a viewTransition type.
interface ViewTransitionOptions {
types: Array<string>
}
interface ViewTransitionOptions {
types: Array<string>
}
The ViewTransitionOptions type accepts an object with a single property:
Your weekly dose of JavaScript news. Delivered every Monday to over 100,000 devs, for free.