SheetJS / sheetjs

📗 SheetJS Spreadsheet Data Toolkit -- New home https://git.sheetjs.com/SheetJS/sheetjs
https://sheetjs.com/
Apache License 2.0
35.2k stars 7.99k forks source link

Fix JSON.parse undefined error when o is function #2807

Closed mehrangulizadeh closed 2 years ago

mehrangulizadeh commented 2 years ago

Prevent JSON.parse undefined error when 'o' variable is function

SheetJSDev commented 2 years ago

Please raise an issue first with some way to reproduce the error. Can you elicit this error with code that would pass a TS strict type check?