Added TypeScript definitions in the BCL project.

This commit is contained in:
panayot.cankov@telerik.com
2014-04-01 17:15:10 +03:00
parent b8314a3a4c
commit 6d5f779253
4 changed files with 63880 additions and 0 deletions

View File

@@ -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>

View File

@@ -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
View File

File diff suppressed because it is too large Load Diff

View File

@@ -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;