Skip to content

Commit a95d18e

Browse files
committed
Accept new baselines
1 parent b688e25 commit a95d18e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/baselines/reference/useObjectValuesAndEntries1.types

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,16 +121,16 @@ enum E { A, B }
121121
>B : E.B
122122

123123
var entries5 = Object.entries(E); // [string, any][]
124-
>entries5 : [string, any][]
125-
>Object.entries(E) : [string, any][]
124+
>entries5 : [string, string | E][]
125+
>Object.entries(E) : [string, string | E][]
126126
>Object.entries : { <T>(o: { [s: string]: T; } | ArrayLike<T>): [string, T][]; (o: {}): [string, any][]; }
127127
>Object : ObjectConstructor
128128
>entries : { <T>(o: { [s: string]: T; } | ArrayLike<T>): [string, T][]; (o: {}): [string, any][]; }
129129
>E : typeof E
130130

131131
var values5 = Object.values(E); // any[]
132-
>values5 : any[]
133-
>Object.values(E) : any[]
132+
>values5 : (string | E)[]
133+
>Object.values(E) : (string | E)[]
134134
>Object.values : { <T>(o: { [s: string]: T; } | ArrayLike<T>): T[]; (o: {}): any[]; }
135135
>Object : ObjectConstructor
136136
>values : { <T>(o: { [s: string]: T; } | ArrayLike<T>): T[]; (o: {}): any[]; }

0 commit comments

Comments
 (0)