In TS document.startViewTransition throws a
Property 'startViewTransition' does not exist on type 'Document' error.
I've tryied to add lib: ["DOM"] but it doesn't change anything.
Why is there TS definition for this new API ?
In TS document.startViewTransition throws a
Property 'startViewTransition' does not exist on type 'Document' error.
I've tryied to add lib: ["DOM"] but it doesn't change anything.
Why is there TS definition for this new API ?
The ViewTransition api is still a "Candidate recommandation", so it's not embedded in TSs' definition yet.
I've found that
@types/dom-view-transitionsfit my needs though !