Skip to content

Commit

Permalink
Fix bind types
Browse files Browse the repository at this point in the history
  • Loading branch information
dcousens committed Apr 2, 2021
1 parent 77fd7e0 commit 0e64fe8
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions bind.d.ts
@@ -1,10 +1,5 @@
import * as base from './index';
export * from './index';
import { Argument } from './index';

export interface IClassNamesBind
{
bind: (styles: any) => typeof base
}

declare const classNames: IClassNamesBind;

export default classNames;
export type Binding = { [key: string]: string };
export default function classNames(this: Binding | void, ...args: Argument[]): string;

0 comments on commit 0e64fe8

Please sign in to comment.