How to differentiate values of different simple types in typescript?

前端 未结 0 1094
灰色年华
灰色年华 2021-01-07 06:50

By "simple type" I mean a type build from primitive types such as string or number, like so:

type Foo = number;
type Bar =         


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