Accept new baselines

This commit is contained in:
Anders Hejlsberg 2019-10-15 11:11:35 -07:00
parent cbcb59c95c
commit 9c073ab638
3 changed files with 7 additions and 7 deletions

View file

@ -6,7 +6,7 @@ type T11 = Array<string>;
>T11 : T11
type T12 = readonly string[];
>T12 : readonly string[]
>T12 : T12
type T13 = ReadonlyArray<string>;
>T13 : T13
@ -15,7 +15,7 @@ type T20 = [number, number];
>T20 : T20
type T21 = readonly [number, number];
>T21 : readonly [number, number]
>T21 : T21
type T30 = readonly string; // Error
>T30 : string
@ -24,10 +24,10 @@ type T31<T> = readonly T; // Error
>T31 : T
type T32 = readonly readonly string[]; // Error
>T32 : readonly string[]
>T32 : T32
type T33 = readonly Array<string>; // Error
>T33 : string[]
>T33 : T33
function f1(ma: string[], ra: readonly string[], mt: [string, string], rt: readonly [string, string]) {
>f1 : (ma: string[], ra: readonly string[], mt: [string, string], rt: readonly [string, string]) => void

View file

@ -6,7 +6,7 @@ type T11 = Array<string>;
>T11 : T11
type T12 = readonly string[];
>T12 : readonly string[]
>T12 : T12
type T13 = ReadonlyArray<string>;
>T13 : T13
@ -15,7 +15,7 @@ type T20 = [number, number];
>T20 : T20
type T21 = readonly [number, number];
>T21 : readonly [number, number]
>T21 : T21
declare function f1(ma: string[], ra: readonly string[], mt: [string, string], rt: readonly [string, string]): readonly [string, string];
>f1 : (ma: string[], ra: readonly string[], mt: [string, string], rt: readonly [string, string]) => readonly [string, string]

View file

@ -347,7 +347,7 @@ type T10 = T10[];
>T10 : T10
type T11 = readonly T11[];
>T11 : readonly (readonly (readonly (readonly (readonly (readonly (readonly (readonly (readonly (readonly (readonly any[])[])[])[])[])[])[])[])[])[])[]
>T11 : T11
type T12 = (T12)[];
>T12 : T12