Skip to content

Commit e9c7998

Browse files
committed
Fix test again (types)
1 parent 64a8d49 commit e9c7998

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

packages/interactivity/src/test/store.ts

+8-1
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,14 @@ describe( 'Interactivity API', () => {
305305
actions.incrementValue( 1 ) satisfies void;
306306

307307
const { actions: actions2 } = store< { actions: Actions } >(
308-
'storeWithoutState'
308+
'storeWithoutState',
309+
{
310+
actions: {
311+
incrementValue( n ) {
312+
state.someValue += n;
313+
},
314+
},
315+
}
309316
);
310317

311318
actions2.incrementValue( 1 ) satisfies void;

0 commit comments

Comments
 (0)