zcatalyst-cli
Version:
Command Line Tool for CATALYST
12 lines (11 loc) • 330 B
TypeScript
export interface ICliStore {
[key: string]: unknown;
}
declare class runtime {
readonly storeName: string;
store: ICliStore;
constructor(storeName: string);
get<T, U = T>(path: string | Array<string>, fallback?: U): T | U;
set(path: string | Array<string>, value: unknown): void;
}
export default runtime;