DefinitelyTyped/types/classnames/bind.d.ts
2017-08-15 11:25:54 +02:00

6 lines
194 B
TypeScript

export type ClassNamesFn = (
...args: Array<string | string[] | Record<string, boolean | undefined | null>>
) => string;
export function bind(styles: Record<string, string>): ClassNamesFn;