UNPKG

@api-buddy/types

Version:

Shared types for API Buddy

10 lines 319 B
export type DeepPartial<T> = { [P in keyof T]?: T[P] extends object ? DeepPartial<T[P]> : T[P]; }; export type WithId<T> = T & { id: string; }; export type MaybePromise<T> = T | Promise<T>; export type Unsubscribe = () => void; export type Nullable<T> = T | null | undefined; //# sourceMappingURL=types.d.ts.map