Fixed an ambiguity in TypeScript error