Skip to content

Commit 83bbd4d

Browse files
committed
Ban the Omit type
Reason: microsoft/TypeScript#30825
1 parent 9719c24 commit 83bbd4d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

index.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,10 @@ module.exports = {
6666
any: {
6767
message: 'Use `unknown` instead.',
6868
fixWith: 'unknown'
69-
}
69+
},
7070
// TODO: Enforce `undefined` over `null` here too?
71+
72+
Omit: 'Prefer the `Except` type in the `type-fest` package instead as it\'s stricter.',
7173
}
7274
}
7375
],

0 commit comments

Comments
 (0)