Make parser to behave like TS parser and not as spec says