@headlessui/vue
Version:
A set of completely unstyled, fully accessible UI components for Vue 3, designed to integrate beautifully with Tailwind CSS.
6 lines (5 loc) • 325 B
TypeScript
declare type FunctionPropertyNames<T> = {
[K in keyof T]: T[K] extends (...args: any[]) => any ? K : never;
}[keyof T] & string;
export declare function suppressConsoleLogs<T extends unknown[]>(cb: (...args: T) => void, type?: FunctionPropertyNames<typeof global.console>): (...args: T) => Promise<void>;
export {};