Skip to content

Commit 71d7454

Browse files
committed
update typescript, add workaround for microsoft/TypeScript#18276
1 parent 73f8707 commit 71d7454

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
"istanbul": "^0.4.5",
2121
"mkdirp": "^0.5.1",
2222
"mocha": "^2.4.5",
23-
"typescript": "^2.1.5",
23+
"typescript": "^2.5.2",
2424
"xml2js": "^0.4.16"
2525
},
2626
"dependencies": {
27-
"vscode-languageserver-types": "^3.3.0-alpha.1",
27+
"vscode-languageserver-types": "^3.3.0",
2828
"vscode-nls": "^2.0.1"
2929
},
3030
"scripts": {

src/parser/cssNodes.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,8 @@ export class Stylesheet extends Node {
429429
}
430430

431431
export class Declarations extends Node {
432+
private _declarations: void; // workaround for https://github.com/Microsoft/TypeScript/issues/18276
433+
432434
constructor(offset: number, length: number) {
433435
super(offset, length);
434436
}
@@ -1203,6 +1205,8 @@ export class Operator extends Node {
12031205
}
12041206

12051207
export class HexColorValue extends Node {
1208+
private _hexColorValue: void; // workaround for https://github.com/Microsoft/TypeScript/issues/18276
1209+
12061210
constructor(offset: number, length: number) {
12071211
super(offset, length);
12081212
}
@@ -1290,6 +1294,8 @@ export class VariableDeclaration extends AbstractDeclaration {
12901294
}
12911295

12921296
export class Interpolation extends Node {
1297+
1298+
private _interpolations: void ; // workaround for https://github.com/Microsoft/TypeScript/issues/18276
12931299

12941300
constructor(offset: number, length: number) {
12951301
super(offset, length);

0 commit comments

Comments
 (0)