Skip to content

Commit

Permalink
Merge pull request #232 from remcohaszing/fix-types
Browse files Browse the repository at this point in the history
Remove named exports from type definitions
  • Loading branch information
dcousens committed Apr 2, 2021
2 parents f2379c3 + e953107 commit 560cc18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bind.d.ts
Expand Up @@ -5,6 +5,6 @@ export interface IClassNamesBind
bind: (styles: any) => typeof base
}

export const classNames: IClassNamesBind;
declare const classNames: IClassNamesBind;

export default classNames;
4 changes: 1 addition & 3 deletions index.d.ts
Expand Up @@ -12,6 +12,4 @@ export type Value = string | number | boolean | undefined | null;
export type Mapping = { [key: string]: Value };
export type Argument = Value | Mapping | Argument[];

export function classNames(...args: Argument[]): string;

export default classNames;
export default function classNames(...args: Argument[]): string;

0 comments on commit 560cc18

Please sign in to comment.