UNPKG

beautiful-react-hooks

Version:

A collection of beautiful (and hopefully useful) React hooks to speed-up your components and hooks development

7 lines (6 loc) 183 B
/** * Safely parse JSON string to object or null * @param parseString */ declare const safelyParseJson: <T = any>(parseString: string) => T | null; export default safelyParseJson;