We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d5c796 commit c44e708Copy full SHA for c44e708
1 file changed
packages/svelte/src/context.ts
@@ -19,8 +19,8 @@ export function setReplaneContext<T extends Record<string, unknown>>(
19
* Get the Replane context from Svelte context.
20
* @internal
21
*/
22
-// eslint-disable-next-line @typescript-eslint/no-explicit-any
23
export function getReplaneContext<
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
24
T extends Record<string, unknown> = any,
25
>(): ReplaneContextValue<T> {
26
const context = getContext<ReplaneContextValue<T> | undefined>(REPLANE_CONTEXT_KEY);
0 commit comments