Skip to content

Commit 8f455e1

Browse files
committed
chore: wip
1 parent bfc96c1 commit 8f455e1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

fixtures/output/example-0001.d.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,12 @@ export declare interface ComplexGeneric<T extends Record<string, unknown>, K ext
128128
nested: Array<Partial<T>>;
129129
}
130130

131-
export declare type ComplexUnionIntersection = ;
131+
export declare type ComplexUnionIntersection =
132+
| (User & { role: 'admin' })
133+
| (Product & { category: string })
134+
& {
135+
metadata: Record<string, unknown>
136+
}
132137

133138
export * from './extract';
134139
export * from './generate';

0 commit comments

Comments
 (0)