Angular Universal Type 'string' is not assignable to type 'Navigator'

前端 未结 0 358
攒了一身酷
攒了一身酷 2020-12-31 01:45

I am getting the following error in my server.ts

server.get(\'*\', (req, res) => {
  global[\'navigator\'] = req[\'headers\'][\'user-agent\'];         


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