Skip to content

Commit

Permalink
Add description to the function TS definition (#261)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshmedeski authored Aug 10, 2021
1 parent 1594fd7 commit 94acb87
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,7 @@ export type Mapping = Record<string, unknown>;
export interface ArgumentArray extends Array<Argument> {}
export type Argument = Value | Mapping | ArgumentArray;

/**
* A simple JavaScript utility for conditionally joining classNames together.
*/
export default function classNames(...args: ArgumentArray): string;

0 comments on commit 94acb87

Please sign in to comment.