Skip to content

Commit 3d85366

Browse files
authored
Update index.bs to match the spec in explainer.
Match the API spec with the explainer, also update the new Correction Type enum that will be supported.
1 parent 166b34d commit 3d85366

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,11 @@ dictionary ProofreadCorrection {
8686
unsigned long long startIndex;
8787
unsigned long long endIndex;
8888
DOMString correction;
89-
sequence<CorrectionType> type;
89+
sequence<CorrectionType> types;
9090
DOMString explanation;
9191
};
9292

93-
enum CorrectionType { "spelling", "punctuation", "capitalization", "preposition", "missing-words", "grammar" };
93+
enum CorrectionType { "spelling", "punctuation", "capitalization", "grammar" };
9494
</xmp>
9595

9696
<h2 id="supporting">Shared infrastructure</h2>

0 commit comments

Comments
 (0)