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
微信小程序
小程序基础库: 1.0.0 使用框架: React
import { getCurrentInstance } from '@tarojs/runtime'
得到具体的类型
类型定义并未输出
Taro CLI 3.0.2 environment info: System: OS: macOS 10.15.5 Shell: 5.7.1 - /bin/zsh Binaries: Node: 14.5.0 - ~/.nvm/versions/node/v14.5.0/bin/node Yarn: 1.22.4 - /usr/local/bin/yarn npm: 6.14.5 - ~/.nvm/versions/node/v14.5.0/bin/npm npmPackages: @tarojs/components: 3.0.2 => 3.0.2 @tarojs/mini-runner: 3.0.2 => 3.0.2 @tarojs/react: 3.0.2 => 3.0.2 @tarojs/runtime: 3.0.2 => 3.0.2 @tarojs/taro: 3.0.2 => 3.0.2 @tarojs/webpack-runner: 3.0.2 => 3.0.2 babel-preset-taro: 3.0.2 => 3.0.2 eslint-config-taro: 3.0.2 => 3.0.2 react: ^16.10.0 => 16.13.1
经查看,tarojs/runtime 的package.json 中并未定义 types 字段
The text was updated successfully, but these errors were encountered:
@LaamGinghong 等 3.0.3 版本,从 @tarojs/taro 中取。
@tarojs/taro
Sorry, something went wrong.
duplicate of #6904
No branches or pull requests
相关平台
微信小程序
小程序基础库: 1.0.0
使用框架: React
复现步骤
期望结果
得到具体的类型
实际结果
类型定义并未输出
环境信息
补充信息
经查看,tarojs/runtime 的package.json 中并未定义 types 字段
The text was updated successfully, but these errors were encountered: