refactor: lint

This commit is contained in:
liyasthomas
2021-05-17 17:11:58 +05:30
parent f9821e5f80
commit e424d06026
7 changed files with 127 additions and 228 deletions

4
types/ts-utils.d.ts vendored
View File

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