Skip to content

Commit 91b0dac

Browse files
committed
Minor tweaks
1 parent ece45c5 commit 91b0dac

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

index.test-d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {expectType} from 'tsd';
1+
import {expectType, expectAssignable} from 'tsd';
22
import camelcaseKeys = require('.');
33

44
const fooBarObject = {'foo-bar': true};
@@ -95,11 +95,11 @@ expectType<{topLevel: {fooBar: {'bar-baz': boolean}}; fooFoo: boolean}>(
9595
)
9696
);
9797

98-
expectType<Record<string, string>>(
98+
expectAssignable<Record<string, string>>(
9999
camelcaseKeys({} as Record<string, string>)
100100
);
101101

102-
expectType<Record<string, string>>(
102+
expectAssignable<Record<string, string>>(
103103
camelcaseKeys({} as Record<string, string>, {deep: true})
104104
);
105105

0 commit comments

Comments
 (0)