UNPKG

@prefecthq/prefect-ui-library

Version:

This library is the Vue and Typescript component library for [Prefect 2](https://github.com/PrefectHQ/prefect) and [Prefect Cloud 2](https://www.prefect.io/cloud/). _The components and utilities in this project are not meant to be used independently_.

7 lines (5 loc) 278 B
// expand types from https://stackoverflow.com/a/57683652/2687861 export type Expand<T> = T extends infer O ? { [K in keyof O]: O[K] } : never export type ExpandRecursively<T> = T extends object ? T extends infer O ? { [K in keyof O]: ExpandRecursively<O[K]> } : never : T