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": case "EvTypeIdentifier":
return tag("typeIdentifier", x.value); return tag("typeIdentifier", x.value);
case "EvModule": case "EvModule":
let moduleResult: tagged<"module", { [key: string]: squiggleExpression }> = tag( let moduleResult: tagged<
"module",
{ [key: string]: squiggleExpression }
> = tag(
"module", "module",
_.mapValues(x.value, (x: unknown) => _.mapValues(x.value, (x: unknown) =>
convertRawToTypescript(x as rescriptExport, environment) convertRawToTypescript(x as rescriptExport, environment)