Skip to content

Commit b60d975

Browse files
committed
I hate it (hooks)
1 parent c723647 commit b60d975

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/interactivity/src/hooks.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ const namespaceStack: string[] = [];
142142
* @return The context content.
143143
*/
144144
export const getContext = < T extends object >( namespace?: string ): T =>
145+
// @ts-expect-error it's any!
145146
getScope()?.context[ namespace || getNamespace() ];
146147

147148
/**

0 commit comments

Comments
 (0)