Fix verify bug
This commit is contained in:
@ -183,7 +183,7 @@ export class TypescriptTarget extends CompileTarget {
|
||||
default:
|
||||
a(
|
||||
2 + off,
|
||||
`if(!verify_${field.type}(${varName})) throw new VerificationError("${field.type}", "${field.name}", ${varName});`
|
||||
`verify_${field.type}(${varName});`
|
||||
);
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user