跳到主要内容

UnknownPattern

等级:错误

遇到未知的模式

如何修复

在绑定或匹配位置使用变量、弃元、字面量、数组模式或记录模式。

修改前

let ? = 1; 

修复后

let value = 1;