Open zlk89 opened 2 years ago
The follow example returns undefined:
undefined
import safeStringify from "fast-safe-stringify"; safeStringify(undefined) // -> returns undefined
But the type definition only specifies string as return type, we should update it to string | undefined instead.
string
string | undefined
The follow example returns
undefined
:But the type definition only specifies
string
as return type, we should update it tostring | undefined
instead.