Files
hoppscotch/types/ts-utils.d.ts
Liyas Thomas 3533aa391a chore: lint
2021-05-15 12:43:31 +00:00

2 lines
91 B
TypeScript

export type KeysMatching<T, V> = { [K in keyof T]-?: T[K] extends V ? K : never }[keyof T]