Remove duplicate toBeInstanceOf type declaration for Expect (#20844)

This commit is contained in:
CountBleck
2025-07-05 17:25:52 -07:00
committed by Meghan Denny
parent a8af3413b8
commit 45ca566cb4

View File

@@ -1184,14 +1184,6 @@ declare module "bun:test" {
* expect(null).toBeInstanceOf(Array); // fail
*/
toBeInstanceOf(value: unknown): void;
/**
* Asserts that the expected value is an instance of value
*
* @example
* expect([]).toBeInstanceOf(Array);
* expect(null).toBeInstanceOf(Array); // fail
*/
toBeInstanceOf(value: unknown): void;
/**
* Asserts that a value is `undefined`.
*