Skip to content

Commit 4d25bde

Browse files
Fatme HavaluovaFatme Havaluova
authored andcommitted
Update typescript to 1.3
1 parent f77bfa6 commit 4d25bde

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

lib/node-package-manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export class NodePackageManager implements INodePackageManager {
8383
}
8484
return options.frameworkPath;
8585
} else {
86-
var version = version || this.getLatestVersion(packageName).wait();
86+
var version: string = version || this.getLatestVersion(packageName).wait();
8787
var packagePath = path.join(npm.cache, packageName, version, "package");
8888
if (!this.isPackageCached(packagePath).wait()) {
8989
this.addToCacheCore(packageName, version).wait();

lib/services/platform-service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export class PlatformService implements IPlatformService {
6060
this.$logger.out("Copying template files...");
6161

6262
var packageToInstall = "";
63-
var npmOptions = {
63+
var npmOptions: IStringDictionary = {
6464
pathToSave: path.join(this.$projectData.platformsDir, platform)
6565
};
6666

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,11 @@
6262
"grunt-contrib-copy": "0.5.0",
6363
"grunt-contrib-watch": "0.5.3",
6464
"grunt-shell": "0.6.4",
65-
"grunt-ts": "1.11.2",
65+
"grunt-ts": "1.12.1",
6666
"mocha": "1.21.4",
6767
"mocha-fibers": "https://github.com/Icenium/mocha-fibers/tarball/master",
68-
"should": "4.0.4"
68+
"should": "4.0.4",
69+
"typescript": "1.3"
6970
},
7071
"license": "Apache-2.0",
7172
"engines": {

0 commit comments

Comments
 (0)