mirror of
https://github.com/nextapps-de/flexsearch.git
synced 2025-08-29 08:40:45 +02:00
add missing type for "encoder" option to index.d.ts
This commit is contained in:
2
index.d.ts
vendored
2
index.d.ts
vendored
@@ -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;
|
||||
};
|
||||
|
Reference in New Issue
Block a user