mirror of
https://github.com/nextapps-de/flexsearch.git
synced 2025-08-29 16:50:13 +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;
|
commit?: boolean;
|
||||||
|
|
||||||
// Language-specific Options and Encoding
|
// Language-specific Options and Encoding
|
||||||
encoder?: typeof Charset | Encoders | EncoderOptions;
|
encoder?: typeof Charset | Encoders | EncoderOptions | Encoder;
|
||||||
encode?: (text: string) => string[],
|
encode?: (text: string) => string[],
|
||||||
rtl?: boolean;
|
rtl?: boolean;
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user