From acf44f640549acf0644b6a656ca380c5e98d725f Mon Sep 17 00:00:00 2001 From: Reilly Grant Date: Mon, 15 Dec 2025 17:30:08 -0800 Subject: [PATCH] Rename 'type' to 'types' Since this is now a sequence the name of the attribute should be plural. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1479dc0..d029aeb 100644 --- a/README.md +++ b/README.md @@ -197,14 +197,14 @@ dictionary ProofreadCorrection { unsigned long long startIndex; unsigned long long endIndex; DOMString correction; - sequence type; // exists if proofreader.includeCorrectionTypes === true + sequence types; // exists if proofreader.includeCorrectionTypes === true DOMString explanation; // exists if proofreader.includeCorrectionExplanations === true } enum CorrectionType { "spelling", "punctuation", "capitalization", "preposition", "missing-words", "grammar" }; ``` -`type` only exists when the proofreader object is configured with `includeCorrectionTypes = true`, while `explanation` only exists when the proofreader object is configured with `includeCorrectionExplanations = true`. +`types` only exists when the proofreader object is configured with `includeCorrectionTypes = true`, while `explanation` only exists when the proofreader object is configured with `includeCorrectionExplanations = true`. Each correction could be associated with multiple correction type labels. For example: @@ -297,7 +297,7 @@ dictionary ProofreadCorrection { unsigned long long startIndex; unsigned long long endIndex; DOMString correction; - sequence type; + sequence types; DOMString explanation; };