How to fix TypeSrcipt error “Object is possibly 'undefined' ” with virtual mongoose attribute

前端 未结 0 1450
小蘑菇
小蘑菇 2020-12-11 01:33

When trying to calculate a virtual property model I get: Object is possibly \'null\' If possible I would prefer not suppressing the typescript\'s strict rule.



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题