jest-extended
jest-extended copied to clipboard
TypeScript declarations are not working when used with @jest/globals
Hello!
Thank you for this great library!
However, when using TypeScript and Jest with @jest/globals
, the declarations provided by the package doesn't work. E.g.:
import 'jest-extended';
import { expect } from '@jest/globals';
// TS2339: Property toIncludeSameMembers does not exist on type
expect([]).toIncludeSameMembers([]);
Have you considered this use case? Thank you.