Skip to content

Commit 87e658f

Browse files
committed
fix ts test
1 parent 23a10d8 commit 87e658f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/typescript/custom-types/useTranslation.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ describe('useTranslation', () => {
105105
it('should work with json format v4 plurals', () => {
106106
const [t] = useTranslation('plurals');
107107

108-
expectTypeOf(t('foo')).toEqualTypeOf<'foo'>();
108+
expectTypeOf(t('foo', { count: 0 })).toEqualTypeOf<'foo'>();
109109
expectTypeOf(t('foo_one')).toEqualTypeOf<'foo'>();
110110
});
111111
});

0 commit comments

Comments
 (0)