【vue】Type Scriptエラー「property does not exist on value of type」
最も簡単な解決策は、as anyを追加することです.
eg:
src下新規ファイル
eg:
y.x
誤報の場合は(y as any).x
グローバル変数の露出src下新規ファイル
shime-vue.d.ts
declare module 'nprogress';
declare module 'axios' {
interface AxiosInstance {
(config: AxiosRequestConfig): Promise<any>
}
}