Yep, RTK is specifically written in TypeScript, and I have a co-maintainer (Lenz Weber) who has done an amazing job working on the TS typedefs to make sure it works well.
See the "Usage with TypeScript" docs page:
See the "Usage with TypeScript" docs page: