Is there a way to combine existing types to create a new type in TypeScript?
`export type Align = 'center' | 'left' | 'right'
export type Breakpoints = ‘sm’ | ‘md’`
I want to merge the Align and Breakpoints types to generate a new type with outcomes like:
export type Aligns = ‘sm-center ’ | ‘sm-left ’ | ‘sm-right ’ | ‘md-center’ …
Can this be achieved in TypeScript?
without implementing any specific solution