mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-17 05:10:40 -07:00
style: fix linting
This commit is contained in:
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user