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

_ToastRef定义类型问题引用存在错误 #629

Open
micoSakura opened this issue Jan 25, 2025 · 0 comments
Open

_ToastRef定义类型问题引用存在错误 #629

micoSakura opened this issue Jan 25, 2025 · 0 comments

Comments

@micoSakura
Copy link

该ref定义

<script setup lang="ts">
import type { _ToastRef } from 'uview-plus/types/comps/toast';
const uToastRef = ref<_ToastRef | undefined>();

// @error {declare interface _ToastRef}
// 如果强制类型声明这show方法会报错, 请及时纠正类型声明文件里show方法函数
// 不应该声明成void方法, 应给予部分形参和回调形参...
</script>


错误 提示 图片
Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant