mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Move module-related global declares to a separate file.
This commit is contained in:
13
module.d.ts
vendored
Normal file
13
module.d.ts
vendored
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user