Skip to content

Commit 64a8d49

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

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

packages/interactivity/src/test/store.ts

+7-1
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,13 @@ describe( 'Interactivity API', () => {
293293
const { state, actions } = store< {
294294
state: State;
295295
actions: Actions;
296-
} >( 'storeWithState' );
296+
} >( 'storeWithState', {
297+
actions: {
298+
incrementValue( n ) {
299+
state.someValue += n;
300+
},
301+
},
302+
} );
297303

298304
state.someValue satisfies number;
299305
actions.incrementValue( 1 ) satisfies void;

0 commit comments

Comments
 (0)