|
1 | 1 | import Main, { Hook } from '../index'; |
2 | 2 | import { createApp, App } from 'vue'; |
3 | | -import ElementPlus, { ElMessage, MessageHandle } from 'element-plus'; |
| 3 | +import ElementPlus, { ElMessage, MessageHandler } from 'element-plus'; |
4 | 4 |
|
5 | 5 | import { upload } from '@/common/ipfs'; |
6 | 6 | import { bucket, getSettings, key, store } from '@/common/store'; |
@@ -137,7 +137,7 @@ class TwitterHook { |
137 | 137 | const settings = await getSettings(); |
138 | 138 | const handle = settings.handle; |
139 | 139 | const syncing = settings.syncing; |
140 | | - let notice: MessageHandle | undefined; |
| 140 | + let notice: MessageHandler | undefined; |
141 | 141 |
|
142 | 142 | if (handle && syncing === true) { |
143 | 143 | if (attachmentUrls) { |
@@ -207,7 +207,7 @@ class TwitterHook { |
207 | 207 | const settings = await getSettings(); |
208 | 208 | const handle = settings.handle; |
209 | 209 | const syncing = settings.syncing; |
210 | | - let notice: MessageHandle | undefined; |
| 210 | + let notice: MessageHandler | undefined; |
211 | 211 | if (handle && syncing === true) { |
212 | 212 | // attachments |
213 | 213 | notice = ElMessage.warning({ |
|
0 commit comments