docx-validate
    Preparing search index...

    Type Alias WordVerifier

    WordVerifier: (
        bytes: Uint8Array,
        options?: { timeoutMs?: number },
    ) => Promise<WordVerification>

    Side-effect boundary for real-Word verification. Defaults to verifyInWord (a temporary copy, opened through the injectable WordTransport); tests substitute their own so no lane opens Word.

    A run with a deadline passes options.timeoutMs: what is left of its budget, at most the default verifier's own 45 s (#630). A run without one passes the bytes alone, as before.

    Type Declaration

      • (bytes: Uint8Array, options?: { timeoutMs?: number }): Promise<WordVerification>
      • Parameters

        • bytes: Uint8Array
        • Optionaloptions: { timeoutMs?: number }

        Returns Promise<WordVerification>