Typescript React | Adding 'as const' on variable has different behavior in playground and IDEs (VSCode, WebStorm)

前端 未结 0 1266
-上瘾入骨i
-上瘾入骨i 2020-12-24 14:38

I know I\'ve added react-native even though this is really just a reactjs question.

The code

const ScreenStates = {
  DEFAU         


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