fix parsing under bleading-edge tsc