mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Added TypeScript definitions in the BCL project.
This commit is contained in:
@@ -145,6 +145,7 @@
|
||||
<TypeScriptCompile Include="Console\index.ts" />
|
||||
<TypeScriptCompile Include="Camera\index.ts" />
|
||||
<TypeScriptCompile Include="Application\index.ts" />
|
||||
<TypeScriptCompile Include="android17.d.ts" />
|
||||
<Content Include="_references.ts" />
|
||||
<TypeScriptCompile Include="Console\console.android.ts">
|
||||
<DependentUpon>console.d.ts</DependentUpon>
|
||||
|
||||
@@ -27,6 +27,9 @@ export class LocationManager {
|
||||
},
|
||||
|
||||
onProviderEnabled: function (provider: string) {
|
||||
},
|
||||
|
||||
onStatusChanged: function(arg1: string, arg2: number, arg3: android.os.Bundle): void {
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
63874
android17.d.ts
vendored
Normal file
63874
android17.d.ts
vendored
Normal file
File diff suppressed because it is too large
Load Diff
2
declarations.android.d.ts
vendored
2
declarations.android.d.ts
vendored
@@ -2,6 +2,7 @@
|
||||
// Android specific TypeScript declarations
|
||||
// TODO: This is temporary, until we have the TS definitions for the native APIs
|
||||
|
||||
/*
|
||||
declare module org {
|
||||
export module json {
|
||||
export class JSONArray {
|
||||
@@ -335,6 +336,7 @@ declare module android {
|
||||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
declare var app;
|
||||
declare var telerik;
|
||||
|
||||
Reference in New Issue
Block a user