This commit is contained in:
Umur Ozkul 2022-06-09 15:53:07 +02:00
parent e4eceb9cd3
commit 2f4db3230d
2 changed files with 8 additions and 5 deletions

View File

@ -188,7 +188,10 @@ function createTsExport(
case "EvTypeIdentifier":
return tag("typeIdentifier", x.value);
case "EvModule":
let moduleResult: tagged<"module", { [key: string]: squiggleExpression }> = tag(
let moduleResult: tagged<
"module",
{ [key: string]: squiggleExpression }
> = tag(
"module",
_.mapValues(x.value, (x: unknown) =>
convertRawToTypescript(x as rescriptExport, environment)