TypeScript报错:Object is possibly “null“ 解决方法——断言函数

NoSuchKey