Skip to content

Commit 17f7bc9

Browse files
committed
fix(utils): [keys] match function and type parameter defaults
Signed-off-by: Lexus Drumgold <unicornware@flexdevelopment.llc>
1 parent b34c5d1 commit 17f7bc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/keys.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ import select from './select'
3737
* @param {Nilable<boolean>} [options.deep] - Include nested keys
3838
* @return {Keys<T, K>[]} Enumerable string-keyed property names
3939
*/
40-
const keys = <T, K extends Nilable<KeysOptions> = Nilable<KeysOptions>>(
40+
const keys = <T, K extends Nilable<KeysOptions> = undefined>(
4141
target: T,
4242
options?: K
4343
): Keys<T, K> => {

0 commit comments

Comments
 (0)