mirror of
https://github.com/ershisan99/DevToysWeb.git
synced 2025-12-16 20:49:23 +00:00
4 lines
101 B
TypeScript
4 lines
101 B
TypeScript
import { fromThrowable } from "neverthrow";
|
|
|
|
export const safeJsonParse = fromThrowable(JSON.parse);
|