Skip to content

Commit 59c4720

Browse files
committed
adapt gentype to dict as built in
1 parent 4447c52 commit 59c4720

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jscomp/gentype/TranslateTypeExprFromTypes.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ let translateConstr ~config ~paramsTranslation ~(path : Path.t) ~typeEnv =
236236
| ( (["Js"; "Promise"; "t"] | ["Promise"; "t"] | ["promise"]),
237237
[paramTranslation] ) ->
238238
{paramTranslation with type_ = Promise paramTranslation.type_}
239-
| (["Js"; "Dict"; "t"] | ["Dict"; "t"]), [paramTranslation] ->
239+
| (["Js"; "Dict"; "t"] | ["Dict"; "t"] | ["dict"]), [paramTranslation] ->
240240
{paramTranslation with type_ = Dict paramTranslation.type_}
241241
| ["function$"], [arg; _arity] ->
242242
{dependencies = arg.dependencies; type_ = arg.type_}

0 commit comments

Comments
 (0)