style: fix linting

This commit is contained in:
harttle
2019-08-26 10:15:43 -05:00
committed by Jun Yang
parent 7fb01ad69a
commit 0426d08fd0
12 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ type ParseToken = ((token: Token, remainTokens: Token[]) => ITemplate)
export class ParseStream {
private tokens: Token[]
private handlers: {[key: string]: (arg: any) => void} = {}
private stopRequested: boolean = false
private stopRequested = false
private parseToken: ParseToken
public constructor (tokens: Token[], parseToken: ParseToken) {
+3 -3
View File
@@ -1,7 +1,7 @@
export class Token {
public trimLeft: boolean = false
public trimRight: boolean = false
public type: string = 'notset'
public trimLeft = false
public trimRight = false
public type = 'notset'
public line: number
public col: number
public raw: string