mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-04 19:42:46 +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:
4
zeroclipboard/zeroclipboard.d.ts
vendored
4
zeroclipboard/zeroclipboard.d.ts
vendored
@@ -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