Added support for the CommonJS require call

This commit is contained in:
Tiddo Langerak
2013-10-15 07:37:49 +02:00
parent fa9a7b7a83
commit a14182b018
+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.