1
0
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:
Thomas Wilkerling
2025-05-06 11:11:18 +02:00
parent 47a6f62cee
commit 5d7de9dd11

2
index.d.ts vendored
View File

@@ -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;
};