arco-design / arco-design-pro-vue

An out-of-the-box solution to quickly build enterprise-level applications based on Arco Design.

Home Page:https://pro.arco.design

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

添加ts 全局类型声明 declare,ts和vue文件都无法使用

SanpLee opened this issue · comments

基本信息

  • 依赖包名 及 版本: arco-design-pro-vue@2.7.2
  • 框架版本: vue3.2.4
  • 浏览器版本: chrome118.0.0.0

预期结果

vue和ts文件中都一个直接使用类型

复现步骤

在src/types/global.ts 中添加 declare类型声明

额外补充

在src/types/新建了xx.d.ts文件也不行

eslint 的问题,已解决