We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
uniapp类型@dcloudio/types从tsconfig.json的types放到env.d.ts里;
@dcloudio/types
tsconfig.json
env.d.ts
// env.d.ts 文件 /// <reference types="vite/client" /> /// <reference types="@dcloudio/types" />
原因:指定types配置,失去了ts自动包含@types里的所有包的特性,导致使用其他包声明(如lodash、express)都得在types里配置
The text was updated successfully, but these errors were encountered:
No branches or pull requests
uniapp类型
@dcloudio/types
从tsconfig.json
的types放到env.d.ts
里;原因:指定types配置,失去了ts自动包含@types里的所有包的特性,导致使用其他包声明(如lodash、express)都得在types里配置
The text was updated successfully, but these errors were encountered: