Skip to main content
Version: Next (2.x)

ScopeCacheKeyMap<Scopes>

ScopeCacheKeyMap<Scopes> = { [K in keyof Scopes as Scopes[K] extends boolean ? never : K]?: ScopeCacheKeyFn<Scopes[K]> }

Provide an entry when the scope's argument can't be safely auto-serialized in a stable manner or when a more compact key is preferable.

Type Parameters

Type Parameter

Scopes extends ScopesShape