Merge pull request #1142 from TiddoLangerak/patch-1

Added support for the CommonJS require call
This commit is contained in:
basarat
2013-10-15 01:17:18 -07:00
+7
View File
@@ -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.