UNPKG

@mapbox/mapbox-gl-style-spec

Version:

a specification for mapbox gl styles

5 lines (4 loc) 138 B
/** * Defines nominal type of `U` based on type of `T`. Similar to Opaque types in Flow. */ export type Brand<T, U> = T & {__brand: U};