Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

Commit 15579a1

Browse files
matthiaskernfelixfbecker
authored andcommitted
feat(typescript): upgrade to typescript 2.8.3 (#452)
1 parent 35b0140 commit 15579a1

File tree

4 files changed

+12
-11
lines changed

4 files changed

+12
-11
lines changed

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"rxjs": "^5.5.0",
5252
"semaphore-async-await": "^1.5.1",
5353
"string-similarity": "^1.1.0",
54-
"typescript": "2.7.2",
54+
"typescript": "2.8.3",
5555
"vscode-jsonrpc": "^3.3.1",
5656
"vscode-languageserver": "^3.1.0",
5757
"vscode-languageserver-types": "^3.0.3"

src/diagnostics.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ function convertDiagnosticCategory(category: ts.DiagnosticCategory): DiagnosticS
3535
return DiagnosticSeverity.Warning
3636
case ts.DiagnosticCategory.Message:
3737
return DiagnosticSeverity.Information
38-
// unmapped: DiagnosticSeverity.Hint
38+
case ts.DiagnosticCategory.Suggestion:
39+
return DiagnosticSeverity.Hint
3940
}
4041
}

src/test/typescript-service-helpers.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2297,11 +2297,11 @@ export function describeTypeScriptService(
22972297
uri: 'git://github.com/Microsoft/TypeScript?v' + ts.version + '#lib/lib.dom.d.ts',
22982298
range: {
22992299
start: {
2300-
line: 8446,
2300+
line: 9378,
23012301
character: 10,
23022302
},
23032303
end: {
2304-
line: 8446,
2304+
line: 9378,
23052305
character: 14,
23062306
},
23072307
},
@@ -2310,11 +2310,11 @@ export function describeTypeScriptService(
23102310
uri: 'git://github.com/Microsoft/TypeScript?v' + ts.version + '#lib/lib.dom.d.ts',
23112311
range: {
23122312
start: {
2313-
line: 8498,
2313+
line: 9429,
23142314
character: 12,
23152315
},
23162316
end: {
2317-
line: 8498,
2317+
line: 9429,
23182318
character: 16,
23192319
},
23202320
},
@@ -3309,8 +3309,8 @@ export function describeTypeScriptService(
33093309
fileName: toUnixPath(uri2path(rootUri + 'a.ts')), // path only used by TS service
33103310
textChanges: [
33113311
{
3312-
span: { start: 49, length: 13 },
3313-
newText: '\t\tthis.missingThis',
3312+
span: { start: 51, length: 11 },
3313+
newText: 'this.missingThis',
33143314
},
33153315
],
33163316
},

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy