This repository has been archived on 2026-03-28. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
StasisWarden-Legacy/node_modules/structural/build/lib/result.d.ts
T

10 lines
228 B
TypeScript

export declare class TypeError extends Error {
constructor(message: string);
}
export declare class Err<_> {
message: string;
constructor(str: string);
toError(): TypeError;
}
export type Result<T> = T | Err<T>;