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

@tarojs/components/types/props.ts 应该为 props.d.ts #12180

Closed
ccqgithub opened this issue Aug 2, 2022 · 1 comment · Fixed by #12188
Closed

@tarojs/components/types/props.ts 应该为 props.d.ts #12180

ccqgithub opened this issue Aug 2, 2022 · 1 comment · Fixed by #12188
Assignees
Labels
A-typings Area - TypeScript Typings 相关 E-easy Helper Wanted - Easy F-vue3 Framework - Vue 3 T-weapp Target - 编译到微信小程序 V-3 Version - 3.x
Milestone

Comments

@ccqgithub
Copy link

相关平台

微信小程序

小程序基础库: 2.3.1
使用框架: Vue 3

复现步骤

props.ts导致--skipLibCheck无效,开启isolatedModules是会报错。因为--skipLibCheck只忽略.d.ts

其他都是 .d.ts,只有这一个是props.ts

期望结果

props.d.ts

实际结果

props.ts

环境信息

Taro CLI 3.4.13 environment info:
    System:
      OS: macOS 12.4
      Shell: 5.8.1 - /bin/zsh
    Binaries:
      Node: 16.15.1 - /usr/local/bin/node
      npm: 8.11.0 - /usr/local/bin/npm
    npmPackages:
      @tarojs/cli: 3.5.1 => 3.5.1 
      @tarojs/components: 3.5.1 => 3.5.1 
      @tarojs/mini-runner: 3.5.1 => 3.5.1 
      @tarojs/runtime: 3.5.1 => 3.5.1 
      @tarojs/taro: 3.5.1 => 3.5.1 
      @tarojs/webpack-runner: 3.5.1 => 3.5.1 
      babel-preset-taro: 3.5.1 => 3.5.1 
      eslint-config-taro: 3.5.1 => 3.5.1 
@taro-bot2 taro-bot2 bot added F-vue3 Framework - Vue 3 T-weapp Target - 编译到微信小程序 V-3 Version - 3.x labels Aug 2, 2022
@yanbowe
Copy link

yanbowe commented Aug 2, 2022

same here
image

应该为 export type { StandardProps } from './common'

@Chen-jj Chen-jj added the A-typings Area - TypeScript Typings 相关 label Aug 2, 2022
@ZakaryCode ZakaryCode added the E-easy Helper Wanted - Easy label Aug 2, 2022
@ZakaryCode ZakaryCode added this to the 3.5.2 milestone Aug 2, 2022
ZakaryCode added a commit that referenced this issue Aug 2, 2022
ZakaryCode added a commit that referenced this issue Aug 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-typings Area - TypeScript Typings 相关 E-easy Helper Wanted - Easy F-vue3 Framework - Vue 3 T-weapp Target - 编译到微信小程序 V-3 Version - 3.x
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants