Back to reference

DocumentConfig

Characteristics and context of the document that inform Grammarly suggestions.

interface DocumentConfig {
  dialect?: Dialect | "auto";
  domain?: Domain;
}

Properties

dialect optionalDialect | "auto"
Which English dialect should be assumed?
Use "auto" to choose an appropriate value based on the user's browser locale.
Default: "american"

domain optionalDomain
What is the style or type of writing?
Default: "general"

Last Updated: 9/17/2021, 11:38:18 PM