first commit

This commit is contained in:
Stefan Hacker
2026-04-03 09:38:48 +02:00
commit 37ad745546
47450 changed files with 3120798 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
export interface Ok<T> {
ok: true;
value: T;
}
export interface Err<E> {
ok: false;
err: E;
}
export type Result<T, E> = Ok<T> | Err<E>;
export declare function Ok<T>(value: T): Ok<T>;
export declare function Err<E>(err: E): Err<E>;