From 86f08421a35610969d3837e86fccd52217179272 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Fri, 16 Feb 2018 14:03:33 -0800 Subject: [PATCH] feat(typescript): upgrade to typescript 2.7.2 --- package.json | 2 +- src/test/typescript-service-helpers.ts | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index bb607251d..c5081c420 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "rxjs": "^5.5.0", "semaphore-async-await": "^1.5.1", "string-similarity": "^1.1.0", - "typescript": "2.6.2", + "typescript": "2.7.2", "vscode-jsonrpc": "^3.3.1", "vscode-languageserver": "^3.1.0", "vscode-languageserver-types": "^3.0.3" diff --git a/src/test/typescript-service-helpers.ts b/src/test/typescript-service-helpers.ts index 8259ce18b..74ae96a16 100644 --- a/src/test/typescript-service-helpers.ts +++ b/src/test/typescript-service-helpers.ts @@ -382,7 +382,7 @@ export function describeTypeScriptService( character: 8, }, }, - contents: [{ language: 'typescript', value: 'import Foo' }, '**alias**'], + contents: [{ language: 'typescript', value: 'class Foo\nimport Foo' }, '**alias**'], }) }) specify('over keyword (non-null)', async function(this: TestContext & ITestCallbackContext): Promise { @@ -2297,11 +2297,11 @@ export function describeTypeScriptService( uri: 'git://github.com/Microsoft/TypeScript?v' + ts.version + '#lib/lib.dom.d.ts', range: { start: { - line: 8428, + line: 8446, character: 10, }, end: { - line: 8428, + line: 8446, character: 14, }, }, @@ -2310,11 +2310,11 @@ export function describeTypeScriptService( uri: 'git://github.com/Microsoft/TypeScript?v' + ts.version + '#lib/lib.dom.d.ts', range: { start: { - line: 8480, + line: 8498, character: 12, }, end: { - line: 8480, + line: 8498, character: 16, }, }, @@ -3302,7 +3302,7 @@ export function describeTypeScriptService( .toPromise() assert.deepEqual(actions, [ { - title: "Add 'this.' to unresolved variable.", + title: "Add 'this.' to unresolved variable", command: 'codeFix', arguments: [ {