Skip to content
This repository was archived by the owner on Feb 2, 2021. It is now read-only.

Use TypeScript 2.0 #831

Merged
merged 1 commit into from
Nov 10, 2016
Merged

Conversation

TsvetanMilanov
Copy link
Contributor

Update the TS related dependencies to use TS 2.0 and fix the errors from
the update

@TsvetanMilanov TsvetanMilanov self-assigned this Nov 1, 2016
@TsvetanMilanov TsvetanMilanov added this to the AB 3.6 milestone Nov 1, 2016
@TsvetanMilanov TsvetanMilanov force-pushed the milanov/update-typescript-to-2.0 branch from c61e6d3 to f0bfc4b Compare November 7, 2016 09:30
@TsvetanMilanov TsvetanMilanov force-pushed the milanov/update-typescript-to-2.0 branch from f0bfc4b to 4fa565c Compare November 7, 2016 09:36
@justcodebuilduser
Copy link

❤️

Copy link
Collaborator

@rosen-vladimirov rosen-vladimirov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After fixing tests. Great work

@@ -10,6 +10,7 @@ $injector.require("errors", "./errors");
$injector.requirePublic("fs", "./file-system");
$injector.require("sysInfoBase", "./sys-info-base");
$injector.require("hostInfo", "./host-info");
$injector.require("osInfo", "./os-info");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we name this just "os", usually our naming convention is to use the same name used in Node.js

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, the interface will be IoS, which is totally strange and will be confused with iOS, so osInfo is ok

});

after(() => {
os.type = osType;
os.release = osRelease;
osInfo.type = osType;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the after task should return everything in the correct way, so other tests will use the correct osInfo. In this case we set the type property of osInfo to something that is not the default value. Is this correct?

@@ -1,5 +1,5 @@
import Future = require("fibers/future");
import * as prompt from "inquirer";
import prompt = require("inquirer");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure?

@TsvetanMilanov TsvetanMilanov force-pushed the milanov/update-typescript-to-2.0 branch from 4fa565c to 172f03a Compare November 8, 2016 08:30
@justcodebuilduser
Copy link

❤️

Update the TS related dependencies to use TS 2.0 and fix the errors from
the update
@TsvetanMilanov TsvetanMilanov force-pushed the milanov/update-typescript-to-2.0 branch from 172f03a to 16a4c64 Compare November 8, 2016 10:05
@justcodebuilduser
Copy link

❤️

@TsvetanMilanov TsvetanMilanov merged commit 555fc22 into master Nov 10, 2016
@TsvetanMilanov TsvetanMilanov deleted the milanov/update-typescript-to-2.0 branch November 10, 2016 09:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants