Skip to content

在使用Taro和TypeScript开发小程序, 使用抖音tt.pay报错找不到名称“tt” #15762

Discussion options

You must be logged in to vote

已解决,在src/globals.d.ts中引入
import "@douyin-microapp/typings";
import "@types/wechat-miniprogram";

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by honlyHuang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q & A
Labels
None yet
1 participant