Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitab898f4

Browse files
committed
fix(store);build issues
1 parente297d43 commitab898f4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎packages/store/src/create-store-context/create-store-context.tsx‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ export function createStoreContext<TCreator extends StoreApi<any, any> | AnyFn>(
7070
thrownewError('useLocalStore must be used within a LocalProvider');
7171
};
7272

73-
constwithProvider=<TPropsextendsunknown>(Component:React.FC<TProps>)=>{
73+
constwithProvider=<TPropsextendsRecord<string,any>>(
74+
Component:React.FC<TProps>
75+
)=>{
7476
constWrappedComponent=forwardRef((props:TProps&StoreParams,ref)=>{
7577
return(
7678
<Provider{...props}>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp