mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* enable classnames/bind usage without bind * add test for classnames/bind * add classnames/dedupe support * same default export trick for classnames/bind * add me to definition author * add dedupe.d.ts to files
12 lines
304 B
TypeScript
12 lines
304 B
TypeScript
import { ClassNamesFn } from './types';
|
|
|
|
interface ClassNamesBind extends ClassNamesFn {
|
|
bind(styles: Record<string, string>): ClassNamesFn;
|
|
}
|
|
type ClassNamesBindExport = ClassNamesBind & {
|
|
default: ClassNamesBind;
|
|
};
|
|
declare const classNamesBind: ClassNamesBindExport;
|
|
|
|
export = classNamesBind;
|