Skip to content

Commit 0e64fe8

Browse files
committedApr 2, 2021
Fix bind types
1 parent 77fd7e0 commit 0e64fe8

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed
 

‎bind.d.ts

+4-9
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
1-
import * as base from './index';
1+
export * from './index';
2+
import { Argument } from './index';
23

3-
export interface IClassNamesBind
4-
{
5-
bind: (styles: any) => typeof base
6-
}
7-
8-
declare const classNames: IClassNamesBind;
9-
10-
export default classNames;
4+
export type Binding = { [key: string]: string };
5+
export default function classNames(this: Binding | void, ...args: Argument[]): string;

0 commit comments

Comments
 (0)