I am currently working on a project using typescript in combination with VueJS
Despite my efforts, I encountered a type error in my code
I tried using type assertation
to resolve the issue
However, the error persists
catch (err) {
const msg = (err as TypeError)?.response?.statusText
}
Can anyone suggest what steps I should take to address this problem?