When I try to import untyped JS functions in my React application, I encounter a Typescript error:
The variable 'initialiseConfig' is assumed to be of type 'any' in certain places where its actual type cannot be inferred. TS7034
Is there a method to avoid Typescript errors when dealing with imported untyped JS functions?