【vue】Type Scriptエラー「property does not exist on value of type」


最も簡単な解決策は、as anyを追加することです.
eg:y.x誤報の場合は(y as any).xグローバル変数の露出
src下新規ファイルshime-vue.d.tsdeclare module 'nprogress';
declare module 'axios' {
     
  interface AxiosInstance {
     
    (config: AxiosRequestConfig): Promise<any>
  }
}