ts 提示在赋值前使用了变量 startTime 那我要判断startTime是否赋值怎么判断?-灵析社区
庆广大
let startTime: number | undefined 知道了 显式指定类型包括undefined就行了
阅读量:1
点赞量:0
问AI