Skip to content

Commit 3db2356

Browse files
committed
fix: union case
1 parent 2a9f02d commit 3db2356

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/common/union.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ type Penguin = Bird & {
3333
swimmingSpeed: number
3434
}
3535

36-
export type Union_Model = (Mammal & (Dog | Cat)) | (Bird & (Eagle | Penguin))
36+
export type Union_Model = Dog | Cat | Eagle | Penguin

0 commit comments

Comments
 (0)