Accept new baselines

This commit is contained in:
Anders Hejlsberg 2017-09-13 11:52:51 -07:00
parent 0ac942f7ab
commit b20d631ba2
3 changed files with 5 additions and 6 deletions

View File

@ -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;

View File

@ -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))

View File

@ -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