mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-20 11:49:35 +08:00
Added support for the CommonJS require call
This commit is contained in:
1 parent
fa9a7b7a83
commit
a14182b018
1 file changed
+7
Vendored
+7
@@ -222,6 +222,13 @@ interface Require {
|
||||
* Configure require.js
|
||||
**/
|
||||
config(config: RequireConfig): Require;
|
||||
|
||||
/**
|
||||
* CommonJS require call
|
||||
* @param module Module to load
|
||||
* @return The loaded module
|
||||
*/
|
||||
(module: string): any;
|
||||
|
||||
/**
|
||||
* Start the main app logic.
|
||||
|
||||
Reference in new issue
Block a user