Thread TypeScript semantic errors as warnings