Documentation / @super-line/react / RegisterGuard
Type Alias: RegisterGuard
RegisterGuard =
Registerextendsobject?unknown:object
Defined in: index.ts:567
Makes an unregistered app fail at the provider — the one place every app touches — with the property name as the message, instead of leaving a trail of cryptic nevers at each hook. Exported so plugin providers that FEED the shared context (SuperLineAuthProvider) can put the same guard on their own props; inside a plugin's own (unregistered) compilation, cast the guard away at the one render site.