Move module-related global declares to a separate file.

This commit is contained in:
Hristo Deshev
2016-02-11 13:02:17 +02:00
parent fb4d83d44e
commit 213cf8848c
2 changed files with 15 additions and 7 deletions

13
module.d.ts vendored Normal file
View File

@@ -0,0 +1,13 @@
//Base module declarations
//Not required in Angular apps since it clashes with its typings.
declare var global: any;
interface NativeScriptRequire {
(id: string): any;
}
declare interface NativeScriptModule {
id: string;
filename: string;
exports: any;
}