uhyo / better-typescript-lib

Better TypeScript standard library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JSON.stringify: Return type should include `undefined`

kku39 opened this issue · comments

commented

Thanks a lot for fixing #5.

By the way, after the fix of #5, JSON.stringify can receive undefined, symbol, and more.

When JSON.stringify receives them, it returns undefined. So its return type should be string | undefined, isn't it?

commented

Thank you, fixed in 2.1.0.