We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ece45c5 commit 91b0dacCopy full SHA for 91b0dac
1 file changed
index.test-d.ts
@@ -1,4 +1,4 @@
1
-import {expectType} from 'tsd';
+import {expectType, expectAssignable} from 'tsd';
2
import camelcaseKeys = require('.');
3
4
const fooBarObject = {'foo-bar': true};
@@ -95,11 +95,11 @@ expectType<{topLevel: {fooBar: {'bar-baz': boolean}}; fooFoo: boolean}>(
95
)
96
);
97
98
-expectType<Record<string, string>>(
+expectAssignable<Record<string, string>>(
99
camelcaseKeys({} as Record<string, string>)
100
101
102
103
camelcaseKeys({} as Record<string, string>, {deep: true})
104
105
0 commit comments