tsconfig: started on setting noImplicitThis to true

This commit is contained in:
Torkel Ödegaard
2018-08-30 08:53:13 +02:00
parent ceadced6f0
commit 80d6ef535d
9 changed files with 37 additions and 51 deletions

View File

@@ -1,6 +1,6 @@
import { Lexer } from './lexer';
export function Parser(expression) {
export function Parser(this: any, expression) {
this.expression = expression;
this.lexer = new Lexer(expression);
this.tokens = this.lexer.tokenize();