Skip to content
New issue

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

import VirtualList from '@tarojs/components/virtual-list' 缺少typings #6936

Closed
pidehen23 opened this issue Jul 6, 2020 · 1 comment · Fixed by #7394
Closed

import VirtualList from '@tarojs/components/virtual-list' 缺少typings #6936

pidehen23 opened this issue Jul 6, 2020 · 1 comment · Fixed by #7394
Assignees
Labels
A-typings Area - TypeScript Typings 相关 F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x
Milestone

Comments

@pidehen23
Copy link

相关平台

微信小程序

复现仓库

https://taro-docs.jd.com/taro/docs/guide#%E6%80%A7%E8%83%BD%E4%BC%98%E5%8C%96
image

小程序基础库: 2.11.3
使用框架: React

复现步骤

import VirtualList from '@tarojs/components/virtual-list'
缺少typings

期望结果

import VirtualList from '@tarojs/components/virtual-list'
有ts类型提示

实际结果

import VirtualList from '@tarojs/components/virtual-list'
无ts类型提示

环境信息

 Taro v3.0.2


  Taro CLI 3.0.2 environment info:
    System:
      OS: macOS 10.15.5
      Shell: 5.7.1 - /bin/zsh
    Binaries:
      Node: 14.4.0 - /usr/local/bin/node
      Yarn: 1.22.4 - ~/.yarn/bin/yarn
      npm: 6.14.5 - /usr/local/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.13.1 => 16.13.1 
    npmGlobalPackages:
@taro-bot2 taro-bot2 bot added F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x labels Jul 6, 2020
@Chen-jj Chen-jj added the A-typings Area - TypeScript Typings 相关 label Jul 30, 2020
@Chen-jj Chen-jj modified the milestones: 3.0.7, 3.0.8 Jul 30, 2020
@Chen-jj Chen-jj modified the milestones: 3.0.8, 3.0.9 Aug 18, 2020
@ZakaryCode
Copy link
Contributor

已经添加 virtual-list 在 react 中的类型,后续在补充 vue 相关的类型

也欢迎有想法的各位提交 PR,贡献一波~~

@Chen-jj Chen-jj linked a pull request Aug 21, 2020 that will close this issue
20 tasks
@Chen-jj Chen-jj modified the milestones: 3.0.9, 3.0.8 Aug 21, 2020
@Chen-jj Chen-jj closed this as completed Aug 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-typings Area - TypeScript Typings 相关 F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants