Skip to content

Commit d24a63d

Browse files
committed
Accept new baselines
1 parent 0eac506 commit d24a63d

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

tests/baselines/reference/readonlyArraysAndTuples.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,16 @@ function f1(ma, ra, mt, rt) {
4343
rt = ra; // Error
4444
rt = mt;
4545
}
46+
47+
48+
//// [readonlyArraysAndTuples.d.ts]
49+
declare type T10 = string[];
50+
declare type T11 = Array<string>;
51+
declare type T12 = readonly string[];
52+
declare type T13 = ReadonlyArray<string>;
53+
declare type T20 = [number, number];
54+
declare type T21 = readonly [number, number];
55+
declare type T30 = readonly string;
56+
declare type T31<T> = readonly T;
57+
declare type T32 = readonly readonly string[];
58+
declare function f1(ma: string[], ra: readonly string[], mt: [string, string], rt: readonly [string, string]): void;

0 commit comments

Comments
 (0)