Fix audit issue and issue with generating docs

This commit is contained in:
Kuldeep
2026-07-18 17:03:39 +00:00
parent 7ce25d6502
commit 10fd35acef
5 changed files with 21 additions and 15 deletions

View File

@@ -123,7 +123,8 @@ const testParseTemplateThrowsOnMissingRequiredFields = (): void => {
*/
const testParseTemplateThrowsOnMissingScriptsField = (): void => {
// Set scripts to undefined to test the field path for a missing record
const templateWithoutScripts = { ...p2pkhTemplate, scripts: undefined };
// @ts-expect-error - scripts is intentionally undefined for this test case
const templateWithoutScripts: XOTemplate = { ...p2pkhTemplate, scripts: undefined };
let thrownError: unknown;