init; collecting some of my commonly used utils

This commit is contained in:
2024-04-01 17:31:33 -05:00
commit a09a7d7337
13 changed files with 322 additions and 0 deletions

6
pkg/types.ts Normal file
View File

@@ -0,0 +1,6 @@
export type Callable<
TReturn = void,
TArgs extends unknown[] = unknown[]
> = (...args: TArgs) => TReturn;
export type Maybe<T> = T | null | undefined;