Fix TS error checking