Fixed missing braces inside comment

This commit is contained in:
Bertie690 2025-09-15 21:18:17 -04:00 committed by Sirz Benjie
parent 5b6eb18439
commit 992fcfb0c6
No known key found for this signature in database
GPG Key ID: 4A524B4D196C759E

View File

@ -71,7 +71,7 @@ interface GenericMatchers<T> {
* @privateRemarks
* While this functionality _could_ be simulated by writing
* `expect(x.get(y)).toBeDefined()` or
* `expect(x).toContain(y, expect.anything())`,
* `expect(x).toContain([y, expect.anything()])`,
* this is still preferred due to being more ergonomic and provides better error messsages.
*/
toHaveKey: T extends Map<infer K, unknown> ? (expectedKey: K) => void : never;