Skip to content

Commit 0b26966

Browse files
author
devgioele
committed
make strict omit work with all kinds of records
1 parent faf1b08 commit 0b26966

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/types/strict-omit.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
export type StrictOmit<
2-
Type extends Record<PropertyKey, unknown>,
2+
Type,
33
Keys extends keyof Type,
44
> = Type extends ArrayLike<unknown> ? never : Omit<Type, Keys>

0 commit comments

Comments
 (0)