mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-30 12:50:40 +08:00
classnames: initial commit
This commit is contained in:
1 parent
e1182d56cc
commit
cd3b9a69dc
2 files changed
+30
No files matched your search
Vendored
+13
@@ -0,0 +1,13 @@
|
||||
// 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
|
||||
}
|
||||
Reference in new issue
Block a user