diff --git a/index.d.ts b/index.d.ts index 30b8f48..0697b45 100644 --- a/index.d.ts +++ b/index.d.ts @@ -193,7 +193,7 @@ declare module "flexsearch" { commit?: boolean; // Language-specific Options and Encoding - encoder?: typeof Charset | Encoders | EncoderOptions; + encoder?: typeof Charset | Encoders | EncoderOptions | Encoder; encode?: (text: string) => string[], rtl?: boolean; };