Skip to content

Commit 779cdd2

Browse files
committed
revert making locale optional just for validation
1 parent a816e1b commit 779cdd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

specification/_types/analysis/token_filters.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ export class HunspellTokenFilter extends TokenFilterBase {
274274
dictionary?: string
275275
/** Locale directory used to specify the `.aff` and `.dic` files for a Hunspell dictionary.
276276
* @aliases lang, language */
277-
locale?: string
277+
locale: string
278278
/** If `true`, only the longest stemmed version of each token is included in the output. If `false`, all stemmed versions of the token are included. Defaults to `false`. */
279279
longest_only?: boolean
280280
}

0 commit comments

Comments
 (0)