Files
DefinitelyTyped/types/jasmine
aj-richardson 37f59bd089 🤖 Merge PR #65790 Jasmine - Make createSpyObj work when toString is overridden by @aj-richardson
* Make createSpyObj work when toString is overridden

If a class overrides toString (or any Object prototype method), then TS
would previously throw an error:
"Types of property 'toString' are incompatible.
Type '() => string' is not assignable to type 'string'."

* Add a test verifying object spies didn't break.
2023-06-16 05:56:43 -07:00
..