diff --git a/test-typings/every.ts b/test-typings/every.ts index ab51126f..04ffccc8 100644 --- a/test-typings/every.ts +++ b/test-typings/every.ts @@ -56,7 +56,7 @@ import { every } from '../dist/every'; const $b = createStore(1); const $invalid1 = createStore(''); const $invalid2 = createStore(true); - const $invalid3 = createStore({}); + const $invalid3 = createStore>({}); expectType>(every({ predicate: $predicate, stores: [$a, $b] })); @@ -78,7 +78,7 @@ import { every } from '../dist/every'; const $b = createStore(1); const $invalid1 = createStore(''); const $invalid2 = createStore(true); - const $invalid3 = createStore({}); + const $invalid3 = createStore>({}); expectType>(every([$a, $b], 0)); // @ts-expect-error diff --git a/test-typings/some.ts b/test-typings/some.ts index 2ec863dc..16e2c021 100644 --- a/test-typings/some.ts +++ b/test-typings/some.ts @@ -54,7 +54,7 @@ import { some } from '../dist/some'; const $b = createStore(1); const $invalid1 = createStore(''); const $invalid2 = createStore(true); - const $invalid3 = createStore({}); + const $invalid3 = createStore>({}); expectType>(some({ predicate: $predicate, stores: [$a, $b] })); @@ -76,7 +76,7 @@ import { some } from '../dist/some'; const $b = createStore(1); const $invalid1 = createStore(''); const $invalid2 = createStore(true); - const $invalid3 = createStore({}); + const $invalid3 = createStore>({}); expectType>(some([$a, $b], 0)); // @ts-expect-error