diff --git a/Application/index.ts b/Application/index.ts new file mode 100644 index 000000000..0996e50e3 --- /dev/null +++ b/Application/index.ts @@ -0,0 +1,2 @@ +declare var module, require; +module.exports = require("Application/application"); \ No newline at end of file diff --git a/BCL.csproj b/BCL.csproj index 7ee6cd1be..9ed99d4b3 100644 --- a/BCL.csproj +++ b/BCL.csproj @@ -137,6 +137,14 @@ + + + + + + + + console.d.ts diff --git a/Camera/index.ts b/Camera/index.ts new file mode 100644 index 000000000..3505e7e95 --- /dev/null +++ b/Camera/index.ts @@ -0,0 +1,2 @@ +declare var module, require; +module.exports = require("Camera/camera"); \ No newline at end of file diff --git a/Console/index.ts b/Console/index.ts new file mode 100644 index 000000000..e4bd6c6a5 --- /dev/null +++ b/Console/index.ts @@ -0,0 +1,2 @@ +declare var module, require; +module.exports = require("Console/console"); \ No newline at end of file diff --git a/FileSystem/index.ts b/FileSystem/index.ts new file mode 100644 index 000000000..c9093dbef --- /dev/null +++ b/FileSystem/index.ts @@ -0,0 +1,2 @@ +declare var module, require; +module.exports = require("FileSystem/file_system"); \ No newline at end of file diff --git a/Image/index.ts b/Image/index.ts new file mode 100644 index 000000000..e390041b0 --- /dev/null +++ b/Image/index.ts @@ -0,0 +1,2 @@ +declare var module, require; +module.exports = require("Image/image"); \ No newline at end of file diff --git a/Location/index.ts b/Location/index.ts new file mode 100644 index 000000000..9a554aa9d --- /dev/null +++ b/Location/index.ts @@ -0,0 +1,2 @@ +declare var module, require; +module.exports = require("Location/location"); \ No newline at end of file diff --git a/UserPreferences/index.ts b/UserPreferences/index.ts new file mode 100644 index 000000000..d26af64aa --- /dev/null +++ b/UserPreferences/index.ts @@ -0,0 +1,2 @@ +declare var module, require; +module.exports = require("UserPreferences/user_preferences"); \ No newline at end of file diff --git a/WebClient/index.ts b/WebClient/index.ts new file mode 100644 index 000000000..5f7bab652 --- /dev/null +++ b/WebClient/index.ts @@ -0,0 +1,2 @@ +declare var module, require; +module.exports = require("WebClient/web_client"); \ No newline at end of file diff --git a/WebClient/web_client.d.ts b/WebClient/web_client.d.ts index d3fe2fce4..22b625121 100644 --- a/WebClient/web_client.d.ts +++ b/WebClient/web_client.d.ts @@ -3,7 +3,7 @@ */ import image_module = require("Image/image"); -declare class Client { +export declare class Client { private static get(url: string, successCallback: (result: any) => void, errorCallback?: (e: Error) => void) getString(url: string, successCallback: (result: string) => void, errorCallback?: (e: Error) => void) getJSON(url: string, successCallback: (result: Object) => void, errorCallback?: (e: Error) => void)