File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed
Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -31,18 +31,6 @@ declare const flattenProperties: {
3131
3232expectType < SimplifyDeep < Properties1 & Properties2 > > ( flattenProperties ) ;
3333
34- // Array
35- type ArrayType = Array < {
36- a : string ;
37- } > ;
38-
39- declare const flattenProperties2 : {
40- arrayType : Array < {
41- a : string ;
42- } > ;
43- } ;
44- expectType < SimplifyDeep < { arrayType : ArrayType } > > ( flattenProperties2 ) ;
45-
4634declare function testArraySimplification ( arg : { foo : Array < { [ x : string ] : string } > } ) : void ;
4735
4836// eslint-disable-next-line @typescript-eslint/consistent-type-definitions
@@ -54,5 +42,3 @@ interface BarBaz {
5442// This would fail if `SimplifyDeep` did not simplify arrays,
5543// because interfaces being open are not compatible with index signatures.
5644testArraySimplification ( { } as SimplifyDeep < { foo : BarBaz [ ] } > ) ;
57-
58- declare function bar ( object : { [ x : string ] : string } ) : void ;
You can’t perform that action at this time.
0 commit comments