@iotize/device-client.js
Version:
IoTize Device client for Javascript
16 lines (15 loc) • 342 B
TypeScript
/**
* Path alias resolver.
* Provide mapping between url and
*/
export declare class AliasResolver {
_map: {
[key: string]: string;
};
constructor(map?: {
[key: string]: string;
});
add(key: string, value: string): this;
resolve(key: string): string;
has(key: string): boolean;
}