Closed rauschma closed 3 years ago
https://sindresorhus.com/ow/classes/arraypredicate.html#deepequal
Documentation:
deepEqual(expected: keyof T[]): this
Source code:
deepEqual(expected: readonly T[]) {...}
The source code is what I’d expect. keyof T[] seems wrong in this context.
keyof T[]
This looks like a bug in TypeDoc, the thing we use to auto-generate the docs. I'll open an issue over there when I have some time.
Fixed: https://sindresorhus.com/ow/classes/arraypredicate.html#deepequal
https://sindresorhus.com/ow/classes/arraypredicate.html#deepequal
Documentation:
Source code:
The source code is what I’d expect.
keyof T[]
seems wrong in this context.