You can come up with any number of excuses but the bottom line is that TypeScript adds complexity which creates a lot of different problems which plain JavaScript does not have.
The OP is rightfully getting type errors due to conflicting type defs, why is that a bad thing?