whatsapp-api-js
Version:
A TypeScript server agnostic Whatsapp's Official API framework
9 lines • 380 B
TypeScript
export type AtLeastOne<T> = [T, ...T[]];
export type MaybePromise<T> = T | Promise<T> | PromiseLike<T>;
export declare function escapeUnicode(str: string): string;
type Without<T, U> = {
[P in Exclude<keyof T, keyof U>]?: never;
};
export type XOR<T, U> = T | U extends object ? (Without<T, U> & U) | (Without<U, T> & T) : T | U;
export {};
//# sourceMappingURL=utils.d.ts.map