@platform/state
Version:
A small, simple, strongly typed, [rx/observable] state-machine.
13 lines (12 loc) • 503 B
TypeScript
import { t } from '../common';
export declare function format(namespace?: string, key?: string): string;
export declare function parse(input?: string): {
namespace: string;
key: string;
id: string;
};
export declare function hasNamespace(input?: string): boolean;
export declare function stripNamespace(input?: string): string;
export declare function namespace(input?: string): string;
export declare function key(input?: string): string;
export declare const TreeIdentity: t.TreeIdentity;