[0]async不能使用编译报语法错误semantic error

export async function showWin(type: PackageType) {}
 
错误
 Error: core.ts(15,23): semantic error TS2354: This syntax requires an imported helper but module 'tslib' cannot be found.
已邀请:

Yan

赞同来自:

参考这个帖子修改下试试 https://ask.layabox.com/question/46228

要回复问题请先

商务合作
商务合作