📜  字符串未定义的打字稿代码示例

📅  最后修改于: 2022-03-11 14:48:19.504000             🧑  作者: Mango

代码示例1
let name1:string = person.name!; 
//                            ^ note the exclamation mark here