diff --git a/packages/codec/lib/format/types.ts b/packages/codec/lib/format/types.ts index 0460f7efe21..d0cb0272b81 100644 --- a/packages/codec/lib/format/types.ts +++ b/packages/codec/lib/format/types.ts @@ -708,6 +708,8 @@ export function typeStringWithoutLocation(dataType: Type): string { block: "block" }; return variableNames[dataType.variable]; + case "type": + return `type(${typeString(dataType.type)})`; case "function": let visibilityString: string; switch (dataType.visibility) {