@bobfrankston/mailx-types 0.1.28 → 0.1.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/mailx-api.d.ts +12 -0
- package/package.json +1 -1
package/mailx-api.d.ts
CHANGED
|
@@ -241,5 +241,17 @@ export interface MailxApi {
|
|
|
241
241
|
ok: boolean;
|
|
242
242
|
message: string;
|
|
243
243
|
}>;
|
|
244
|
+
/** Offline grammar lint (Harper). One entry per input block; spans are
|
|
245
|
+
* offsets into that block's plain text. Optional — absent host means
|
|
246
|
+
* the feature is silently off. */
|
|
247
|
+
grammarLint?(blocks: string[]): Promise<{
|
|
248
|
+
blocks: {
|
|
249
|
+
start: number;
|
|
250
|
+
end: number;
|
|
251
|
+
kind: string;
|
|
252
|
+
message: string;
|
|
253
|
+
suggestions: string[];
|
|
254
|
+
}[][];
|
|
255
|
+
}>;
|
|
244
256
|
}
|
|
245
257
|
//# sourceMappingURL=mailx-api.d.ts.map
|