We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ES2018
es2018
JSON.stringify always returns string
TypeScript/src/lib/es5.d.ts
Line 1151 in 01a874a
But JSON.stringify(undefined) returns undefined
JSON.stringify(undefined)
const whatever: string | undefined = `JSON.stringify(undefined)`;
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify#return_value
The text was updated successfully, but these errors were encountered:
Duplicate #18879
See #18879 (comment)
Sorry, something went wrong.
No branches or pull requests
⚙ Compilation target
ES2018
⚙ Library
es2018
Missing / Incorrect Definition
JSON.stringify always returns string
TypeScript/src/lib/es5.d.ts
Line 1151 in 01a874a
But
JSON.stringify(undefined)
returns undefinedSample Code
Documentation Link
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify#return_value
The text was updated successfully, but these errors were encountered: