We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 333fb6b commit 9db7297Copy full SHA for 9db7297
src/util.ts
@@ -197,4 +197,4 @@ export function destructurePropsForOptions<T>(
197
* Construct a type with the properties of T except for those in type K.
198
* Including this allows for backwards compatibility with earlier versions of TS.
199
*/
200
-export type Omit<T, K extends keyof any> = Pick<T, Exclude<keyof T, K>>;
+export type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
0 commit comments