typescript-tutorial
typescript-tutorial copied to clipboard
void 类型不能赋值为null
trafficstars
> let j: void = null
[eval].ts:3:5 - error TS2322: Type 'null' is not assignable to type 'void'.