Minor fix for EvModule support
This commit is contained in:
parent
afffdd8559
commit
e4eceb9cd3
|
@ -188,6 +188,12 @@ function createTsExport(
|
|||
case "EvTypeIdentifier":
|
||||
return tag("typeIdentifier", x.value);
|
||||
case "EvModule":
|
||||
return tag("module", x.value);
|
||||
let moduleResult: tagged<"module", { [key: string]: squiggleExpression }> = tag(
|
||||
"module",
|
||||
_.mapValues(x.value, (x: unknown) =>
|
||||
convertRawToTypescript(x as rescriptExport, environment)
|
||||
)
|
||||
);
|
||||
return moduleResult;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user