mirror of
https://github.com/chenasraf/DefinitelyTyped.git
synced 2026-05-18 01:49:01 +00:00
* 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.