Fix new errors in services

This commit is contained in:
Nathan Shively-Sanders 2019-09-19 14:04:25 -07:00
parent 6ec445f9d5
commit c283574123

View file

@ -339,7 +339,6 @@ namespace ts {
}
class TokenObject<TKind extends SyntaxKind> extends TokenOrIdentifierObject implements Token<TKind> {
public symbol!: Symbol;
public kind: TKind;
constructor(kind: TKind, pos: number, end: number) {
@ -349,9 +348,8 @@ namespace ts {
}
class IdentifierObject extends TokenOrIdentifierObject implements Identifier {
public kind!: SyntaxKind.Identifier;
public kind: SyntaxKind.Identifier = SyntaxKind.Identifier;
public escapedText!: __String;
public symbol!: Symbol;
public autoGenerateFlags!: GeneratedIdentifierFlags;
_primaryExpressionBrand: any;
_memberExpressionBrand: any;
@ -541,7 +539,7 @@ namespace ts {
}
class SourceFileObject extends NodeObject implements SourceFile {
public kind!: SyntaxKind.SourceFile;
public kind: SyntaxKind.SourceFile = SyntaxKind.SourceFile;
public _declarationBrand: any;
public fileName!: string;
public path!: Path;