Skip to content

Commit

Permalink
Remove named exports from type definitions
Browse files Browse the repository at this point in the history
These exports don’t exist in the implementation.
  • Loading branch information
remcohaszing committed Apr 1, 2021
1 parent f2379c3 commit e953107
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 e953107

Please sign in to comment.