@softchef/cdk-iot-device-management
Version:
IoT device management is composed of things, thing types, thing groups, jobs, files API services. The constructs can be used independently, that are based on full-managed service to create an API Gateway & Lambda function.
34 lines (26 loc) • 621 B
TypeScript
/**
* Mnemonist SymSpell Typings
* ===========================
*/
type SymSpellVerbosity = 0 | 1 | 2;
type SymSpellOptions = {
maxDistance?: number;
verbosity?: SymSpellVerbosity
};
type SymSpellMatch = {
term: string;
distance: number;
count: number;
}
export default class SymSpell {
// Members
size: number;
// Constructor
constructor(options?: SymSpellOptions);
// Methods
clear(): void;
add(string: string): this;
search(query: string): Array<SymSpellMatch>;
// Statics
static from(strings: Iterable<string> | {[key: string]: string}, options?: SymSpellOptions): SymSpell;
}