You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
632 B
TypeScript
26 lines
632 B
TypeScript
2 years ago
|
/*!
|
||
|
* Fuzzy Search for DataTables
|
||
|
* 2021 SpryMedia Ltd - datatables.net/license MIT license
|
||
|
*
|
||
|
* Damerau-Levenshtein function courtesy of https://github.com/tad-lispy/node-damerau-levenshtein
|
||
|
* BSD 2-Clause License
|
||
|
* Copyright (c) 2018, Tadeusz Łazurski
|
||
|
* All rights reserved.
|
||
|
*/
|
||
|
declare module 'datatables.net' {
|
||
|
interface Config {
|
||
|
fuzzySearch?: boolean | {
|
||
|
rankColumn?: number;
|
||
|
threshold?: number;
|
||
|
toggleSmart?: boolean;
|
||
|
};
|
||
|
}
|
||
|
interface State {
|
||
|
_fuzzySearch: {
|
||
|
active: 'true' | 'false';
|
||
|
val: any;
|
||
|
};
|
||
|
}
|
||
|
}
|
||
|
export {};
|