UNPKG

node-schematron

Version:

A pure-JS Schematron implementation for Node, browsers and CLI

16 lines (15 loc) 418 B
import { Node } from 'slimdom'; import { Assert } from './Assert'; export declare class Result { assertId: string | null; isReport: boolean; context: Node; message?: string; constructor(context: Node, assert: Assert, message?: string); toJson(): { assertId: string | null; isReport: boolean; context: string; message: string | undefined; }; }