Rebasely Beta: data may be purged

justintypescript-ultra-strict Public

Text · 7 lines · 230 B · at 9c48a39

import { type Option, type Result } from "@tsus/runtime";export type PathError = { kind: "invalid_path"; path: string };export const getPath = (obj: unknown, path: string): Result<Option<unknown>, PathError> => {  // TODO};