SheetJS / sheetjs

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

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

Closed mehrangulizadeh closed 1 year ago

mehrangulizadeh commented 1 year ago

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

SheetJSDev commented 1 year 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?