How do you specify that a class property is an integer?

后端 未结 8 1178
旧巷少年郎
旧巷少年郎 2020-12-15 02:20

I\'m experimenting with TypeScript, and in the process of creating a class with an ID field that should be an integer, I have gotten a

8条回答
提交回复
热议问题