TypeScript type system is not easy. Errors are often undecipherable. There is no shame to use as any or @ts-ignore because YOLO is the real thing. Especially after days spent hunting compiler bugs.
But TypeScript and its ecosystem is smarter day by day. Some old as any or @ts-ignore maybe are not required anymore.
TypeScript should detect it.