DefinitelyTyped/classnames/classnames.d.ts
2015-06-26 16:08:39 +02:00

13 lines
389 B
TypeScript

// Type definitions for classnames
// Project: https://github.com/JedWatson/classnames
// Definitions by: Dave Keen <http://www.keendevelopment.ch>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
interface ClassDictionary {
[id: string]: boolean;
}
declare module "classnames" {
function classNames(...classes: (string|ClassDictionary)[]): string;
export = classNames
}