Skip to content

Commit

Permalink
deps(typescript): use typescript@~2.0.0. fix any types (#203)
Browse files Browse the repository at this point in the history
  • Loading branch information
cnishina authored and heathkit committed Feb 6, 2017
1 parent a8dc598 commit 0bdf6a4
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/binaries/chrome_xml.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export class ChromeXml extends XmlConfigSource {
*/
private getLatestChromeDriverVersion(): Promise<BinaryUrl> {
return this.getVersionList().then(list => {
let chromedriverVersion = null;
let chromedriverVersion: string = null;
let latest = '';
let latestVersion = '';
for (let item of list) {
Expand Down
2 changes: 1 addition & 1 deletion lib/binaries/iedriver_xml.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export class IEDriverXml extends XmlConfigSource {

private getLatestIEDriverVersion(): Promise<BinaryUrl> {
return this.getVersionList().then(list => {
let latestVersion = null;
let latestVersion: string = null;
let latest = '';
for (let item of list) {
// Get a semantic version.
Expand Down
4 changes: 2 additions & 2 deletions lib/binaries/standalone_xml.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export class StandaloneXml extends XmlConfigSource {

private getLatestStandaloneVersion(): Promise<BinaryUrl> {
return this.getVersionList().then(list => {
let standaloneVersion = null;
let standaloneVersion: string = null;
let latest = '';
let latestVersion = '';
for (let item of list) {
Expand Down Expand Up @@ -65,7 +65,7 @@ export class StandaloneXml extends XmlConfigSource {
private getSpecificStandaloneVersion(inputVersion: string): Promise<BinaryUrl> {
return this.getVersionList().then(list => {
let itemFound = '';
let standaloneVersion = null;
let standaloneVersion: string = null;

for (let item of list) {
// Get a semantic version.
Expand Down
2 changes: 1 addition & 1 deletion lib/cmds/start.ts
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ function startAndroid(
avd + '-v' + sdk.versionCustom + '-wd-manager',
'-netfast',
];
let portArg = null;
let portArg: number = null;
if (!useSnapshots) {
emuArgs = emuArgs.concat(['-no-snapshot-load', '-no-snapshot-save']);
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"jasmine": "^2.4.1",
"run-sequence": "^1.1.5",
"selenium-webdriver": "~3.0.1",
"typescript": "^2.1.1"
"typescript": "~2.0.0"
},
"engines": {
"node": ">=6.9.x"
Expand Down

0 comments on commit 0bdf6a4

Please sign in to comment.