Typescript
百里挑单
这个作者很懒,什么都没留下…
展开
-
2020-08-26
[vue+typescript]Property or method "xxx" is not defined on the instance but referenced during render 引用于⬇️ https://www.it610.com/article/1291208288041508864.htm原创 2021-08-20 16:28:24 · 183 阅读 · 0 评论 -
typescript方法传参,可选参数定义用?
// 返回值是字符串类型 function runstring(): string { return "12345"; } console.log(runstring()); //返回值是number类型 functionrunnumber():number{ return9876; ...原创 2019-10-21 17:37:26 · 3708 阅读 · 0 评论