Skip to content

Commit

Permalink
feat: Add Language.defaultLanguageOptions (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
fasttime authored Oct 17, 2024
1 parent 7e54b8b commit 1ecf0f8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/core/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,11 @@ export interface Language {
*/
visitorKeys?: Record<string, string[]>;

/**
* Default language options. User-defined options are merged with this object.
*/
defaultLanguageOptions?: LanguageOptions;

/**
* Validates languageOptions for this language.
*/
Expand Down

0 comments on commit 1ecf0f8

Please sign in to comment.