Add eqeqeq rule but require == for null
This commit is contained in:
parent
64a4d2e717
commit
0086216c9d
30 changed files with 64 additions and 63 deletions
|
@ -27,7 +27,7 @@ export function memoizeByRoot<F extends Function>(
|
|||
|
||||
const wrap = (root: unknown, ...rest: Array<unknown>): unknown => {
|
||||
strictAssert(
|
||||
typeof root === 'object' && root !== null,
|
||||
typeof root === 'object' && root != null,
|
||||
'Root is not object'
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue