diff --git a/packages/core/src/types.ts b/packages/core/src/types.ts index 16d77b4..3fc3e19 100644 --- a/packages/core/src/types.ts +++ b/packages/core/src/types.ts @@ -587,6 +587,13 @@ export interface Language< */ validateLanguageOptions(languageOptions: Options["LangOptions"]): void; + /** + * Normalizes languageOptions for this language. + */ + normalizeLanguageOptions?( + languageOptions: Options["LangOptions"], + ): Options["LangOptions"]; + /** * Helper for esquery that allows languages to match nodes against * class. esquery currently has classes like `function` that will