@codama/renderers-js 1.6.0 → 1.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2187,7 +2187,7 @@ function getProgramInstructionsParseFunctionFragment(scope) {
2187
2187
  const instructionType = ${programInstructionsIdentifierFunction}(instruction);
2188
2188
  switch (instructionType) {
2189
2189
  ${switchCases}
2190
- default: throw new Error("Unrecognized instruction type: " + instructionType);
2190
+ default: throw new Error(\`Unrecognized instruction type: \${instructionType as string}\`);
2191
2191
  }
2192
2192
  }`;
2193
2193
  }