diff --git a/tests/cases/compiler/restIntersectionOrIntersection.ts b/tests/cases/compiler/restIntersectionOrIntersection.ts index 6d06ed5ebc2..5fca2dafc36 100644 --- a/tests/cases/compiler/restIntersectionOrIntersection.ts +++ b/tests/cases/compiler/restIntersectionOrIntersection.ts @@ -1,10 +1,4 @@ var intersection: { x: number, y: number } & { w: string, z: string }; -var union: { a: number, c: boolean } | { a: string, b: string }; - var rest1: { y: number, w: string, z: string }; var {x, ...rest1 } = intersection; - -var rest2: { c: boolean } | { b: string }; -var {a, ...rest2 } = union; -