mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-14 02:15:12 -06:00
Accept new baselines
This commit is contained in:
parent
0ac942f7ab
commit
b20d631ba2
@ -13,7 +13,7 @@ declare const nullAndUndefinedUnion: null | undefined;
|
||||
var rest4: { };
|
||||
var {...rest4 } = nullAndUndefinedUnion;
|
||||
|
||||
declare const unionWithIntersection: ({ n: number } & { s: string }) & undefined | null;
|
||||
declare const unionWithIntersection: ({ n: number } & { s: string }) & undefined;
|
||||
var rest5: { n: number, s: string };
|
||||
var {...rest5 } = unionWithIntersection;
|
||||
|
||||
|
||||
@ -35,7 +35,7 @@ var {...rest4 } = nullAndUndefinedUnion;
|
||||
>rest4 : Symbol(rest4, Decl(restUnion2.ts, 11, 3), Decl(restUnion2.ts, 12, 5))
|
||||
>nullAndUndefinedUnion : Symbol(nullAndUndefinedUnion, Decl(restUnion2.ts, 10, 13))
|
||||
|
||||
declare const unionWithIntersection: ({ n: number } & { s: string }) & undefined | null;
|
||||
declare const unionWithIntersection: ({ n: number } & { s: string }) & undefined;
|
||||
>unionWithIntersection : Symbol(unionWithIntersection, Decl(restUnion2.ts, 14, 13))
|
||||
>n : Symbol(n, Decl(restUnion2.ts, 14, 39))
|
||||
>s : Symbol(s, Decl(restUnion2.ts, 14, 55))
|
||||
|
||||
@ -37,11 +37,10 @@ var {...rest4 } = nullAndUndefinedUnion;
|
||||
>rest4 : {}
|
||||
>nullAndUndefinedUnion : null | undefined
|
||||
|
||||
declare const unionWithIntersection: ({ n: number } & { s: string }) & undefined | null;
|
||||
>unionWithIntersection : ({ n: number; } & { s: string; } & undefined) | null
|
||||
declare const unionWithIntersection: ({ n: number } & { s: string }) & undefined;
|
||||
>unionWithIntersection : { n: number; } & { s: string; } & undefined
|
||||
>n : number
|
||||
>s : string
|
||||
>null : null
|
||||
|
||||
var rest5: { n: number, s: string };
|
||||
>rest5 : { n: number; s: string; }
|
||||
@ -50,5 +49,5 @@ var rest5: { n: number, s: string };
|
||||
|
||||
var {...rest5 } = unionWithIntersection;
|
||||
>rest5 : { n: number; s: string; }
|
||||
>unionWithIntersection : ({ n: number; } & { s: string; } & undefined) | null
|
||||
>unionWithIntersection : { n: number; } & { s: string; } & undefined
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user