Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged d.ts

0 votes
4.7k views
1 answer
    在uni-app使用ts开发中,uni-app的promise类型返回值是错误的,我将这个错误纠正后形成一个新的类型,但我却无法覆盖 declare const uni: UniApp.Uni;的类型,我应该如何覆盖全局模块定义 ... 果 declare const uni: PromiseUni; 目前只能使用 as 断言方式解决问题,有木有更好的方法?...
asked Jan 25, 2021 in Technique[技术] by 深蓝 (71.8m points)
To see more, click for the full list of questions or popular tags.
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...