Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

Upgrade to TypeScript 2.2.1 #2254

Merged
merged 1 commit into from
Feb 27, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"rimraf": "^2.5.4",
"tslint": "latest",
"tslint-test-config-non-relative": "file:test/external/tslint-test-config-non-relative",
"typescript": "^2.1.6"
"typescript": "^2.2.1"
},
"license": "Apache-2.0",
"engines": {
Expand Down
10 changes: 5 additions & 5 deletions test/rules/no-floating-promises/promises/test.ts.lint
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
class Promise {
then(): Promise;
class Promise<T> {
then(): Promise<T>;
}

function returnsPromiseFunction() {
return new Promise();
return new Promise<void>();
}

const returnsPromiseVariable = () => new Promise();
const returnsPromiseVariable = () => new Promise<void>();

class ReturnsPromiseClass {
returnsPromiseMemberFunction() {
return new Promise();
return new Promise<void>();
}

returnsPromiseMemberVariable = () => new Promise();
Expand Down
21 changes: 11 additions & 10 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -374,9 +374,6 @@ event-stream@~3.3.0:
stream-combiner "~0.0.4"
through "~2.3.1"

extend@3, extend@~3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.0.tgz#5a474353b9f3353ddd8176dfd37b91c83a46f1d4"
execa@^0.4.0:
version "0.4.0"
resolved "https://registry.yarnpkg.com/execa/-/execa-0.4.0.tgz#4eb6467a36a095fabb2970ff9d5e3fb7bce6ebc3"
Expand All @@ -388,6 +385,10 @@ execa@^0.4.0:
path-key "^1.0.0"
strip-eof "^1.0.0"

extend@3, extend@~3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.0.tgz#5a474353b9f3353ddd8176dfd37b91c83a46f1d4"

filled-array@^1.0.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/filled-array/-/filled-array-1.1.0.tgz#c3c4f6c663b923459a9aa29912d2d031f1507f84"
Expand Down Expand Up @@ -428,6 +429,10 @@ function-bind@^1.0.2, function-bind@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.0.tgz#16176714c801798e4e8f2cf7f7529467bb4a5771"

get-stream@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-3.0.0.tgz#8e943d1358dc37555054ecbe2edb05aa174ede14"

github@^8.1.1:
version "8.1.1"
resolved "https://registry.yarnpkg.com/github/-/github-8.1.1.tgz#a078c61669b4d4b588bf1b2e2a591eb7c49feb36"
Expand All @@ -436,10 +441,6 @@ github@^8.1.1:
https-proxy-agent "^1.0.0"
mime "^1.2.11"
netrc "^0.1.4"

get-stream@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-3.0.0.tgz#8e943d1358dc37555054ecbe2edb05aa174ede14"

[email protected]:
version "7.0.5"
Expand Down Expand Up @@ -1196,9 +1197,9 @@ type-detect@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-1.0.0.tgz#762217cc06db258ec48908a1298e8b95121e8ea2"

typescript@^2.1.6:
version "2.1.6"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.1.6.tgz#40c7e6e9e5da7961b7718b55505f9cac9487a607"
typescript@^2.2.1:
version "2.2.1"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.2.1.tgz#4862b662b988a4c8ff691cc7969622d24db76ae9"

unique-string@^1.0.0:
version "1.0.0"
Expand Down