How to Delcare type as Contrained in F#

后端 未结 0 550
栀梦
栀梦 2021-02-08 13:25

In Nodejs I could declare something like below ( note the productType ). Is this possible in a Record or struct in F#? I don\'t want to use classes - and I don\'t think I can u

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