UNPKG

docschema

Version:

Schema declaration and validation library using JsDoc comments

23 lines (22 loc) 533 B
/** * Clear all properties of the checkResult object, * but without losing its reference. * Use in object loops. * * @returns {void} */ export function resetCheckResult(): void; /** * Create a new reference of the checkResult object. * This function must be called every time a new * check (validation) is started. * * @returns {void} */ export function startCheckResult(): void; /** * @throws {ValidationError} */ export function throwLastError(): void; /** @type {CheckResult} */ export let checkResult: CheckResult;