mirror of
https://gitee.com/JavaLionLi/plus-ui.git
synced 2026-09-13 07:43:43 +08:00
参照vuejs官方文档,[扩展全局属性](https://cn.vuejs.org/guide/typescript/options-api.html#augmenting-global-properties), ```ts declare module 'vue' { interface ComponentCustomProperties { $http: typeof axios $translate: (key: string) => string } } ``` Signed-off-by: dhb52 <dhb52@126.com> |
||
|---|---|---|
| .. | ||
| axios.d.ts | ||
| element.d.ts | ||
| env.d.ts | ||
| global.d.ts | ||
| module.d.ts | ||
| router.d.ts | ||