@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.
27 lines (22 loc) • 555 B
TypeScript
/**
* Mnemonist Trie Typings
* =======================
*/
export default class Trie<T> implements Iterable<T> {
// Members
size: number;
// Constructor
constructor(Token?: new () => T);
// Methods
clear(): void;
add(prefix: T): this;
delete(prefix: T): boolean;
has(prefix: T): boolean;
find(prefix: T): Array<T>;
prefixes(): IterableIterator<T>;
keys(): IterableIterator<T>;
[Symbol.iterator](): IterableIterator<T>;
inspect(): any;
// Statics
static from<I>(iterable: Iterable<I> | {[key: string]: I}): Trie<I>;
}