mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
AMD support
Added AMD support as the original ZeroClipboard.js has direct built-in support for AMD as well.
This commit is contained in:
1 parent
028836ee00
commit
eba4473728
1 file changed
+4
Vendored
+4
@@ -2,6 +2,7 @@
|
||||
// Project: https://github.com/jonrohan/ZeroClipboard
|
||||
// Definitions by: Eric J. Smith <https://github.com/ejsmith>
|
||||
// Definitions by: Blake Niemyjski <https://github.com/niemyjski>
|
||||
// Definitions by: György Balássy <https://github.com/balassy>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
declare class ZeroClipboard {
|
||||
@@ -35,3 +36,6 @@ interface ZeroClipboardOptions {
|
||||
hoverClass?: string;
|
||||
activeClass?: string;
|
||||
}
|
||||
|
||||
// Support AMD.
|
||||
declare module "zeroclipboard" { export = ZeroClipboard; }
|
||||
Reference in new issue
Block a user