toolmark-monorepo / @toolmark/inertia / InertiaCommonEventName
Type Alias: InertiaCommonEventName
InertiaCommonEventName =
Extract<InertiaEventName,"start"|"navigate"|"success"|"error"|"finish">
Defined in: packages/inertia/src/router-like.ts:53
The InertiaEventNames both Inertia majors dispatch. RouterLike.on accepts only these: a real router's on is typed with its own major's event names, so a signature naming invalid/exception (Inertia 2 only) or httpException/networkError (Inertia 3 only) would make neither major's router assignable to RouterLike.