Skip to content

@jsvision/code-editor / DocumentMutationResult

Type Alias: DocumentMutationResult

DocumentMutationResult = { accepted: true; } | { accepted: false; reason: DocumentRejectionReason; }

Defined in: code-editor/src/document/types.ts:146

Reports the result of a mutation request without throwing for untrusted edits.