io-ts array type with minimum length?

后端 未结 0 849
闹比i
闹比i 2021-02-04 14:47

I have these two types defined (using io-ts):

export const School = t.type({
    _id: t.string,
    title: t.string,
    slug: t.string,
    images:          


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