UNPKG

@etsoo/appscript

Version:

Applications shared TypeScript framework

9 lines (7 loc) 189 B
import { ListType, ListType1 } from "@etsoo/shared"; /** * Conditional IdLabel type */ export type IdLabelConditional<T extends boolean> = T extends true ? ListType[] : ListType1[];