This condition will always return 'false' since the types '“development” | “production” | “test”' and '“local”' have no overlap.ts(2367)

后端 未结 0 1491
迷失自我
迷失自我 2020-12-19 09:52

I\'m trying to do this

if (process.env.NODE_ENV === "local") {
  links = [authLink, apolloLogger, uploadLink];
}

But am getting thi

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