How to overcome TS2589 on Enumerate type with dynamic Enumerator (upper limit quantifier number) in Typescript

前端 未结 0 937
悲&欢浪女
悲&欢浪女 2021-01-05 12:44

Looking at Is it possible to restrict number to a certain range I found the type for creating Ranges and Enumerates.

Looking at What is the type of an enum in Typescr

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