prettier/tests/typescript_intersection/intersection-parens.ts

5 lines
164 B
TypeScript

type A = (number | string) & boolean;
type B = ((number | string)) & boolean;
type C = (((number | string))) & boolean;
type D = ((((number | string)))) & boolean;