不兼容的签名实现和函数默认参数
sayHello(str:string=null)
接口也要写成
sayHello(str:string=null);
关键问题在于你要给函数参与默认值null,接口也要写上赋值
posted on 2009-07-04 16:25 jiahuafu 阅读(1010) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 jiahuafu Powered by .NET 9.0 on Kubernetes