mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-06 13:11:46 +00:00
add support for AMD require (#18142)
This commit is contained in:
Vendored
+7
@@ -3,6 +3,13 @@
|
||||
// Definitions by: Roger Chen <https://github.com/rcchen>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare var __keypress: Keypress.Keypress;
|
||||
|
||||
// Support AMD require
|
||||
declare module 'keypress.js' {
|
||||
export = __keypress;
|
||||
}
|
||||
|
||||
// A keyboard input capturing utility in which any key can be a modifier key.
|
||||
declare namespace Keypress {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user