Files
powerpoint-toolbox/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/maybe.d.ts
T
2025-03-07 19:22:02 +01:00

4 lines
186 B
TypeScript

type MaybeParams<T> = (err: Error | any | null, result?: T) => void;
export default function maybe<T>(cb: MaybeParams<T> | undefined, promise: Promise<T>): Promise<T> | void;
export {};