pxt-core
Version:
Microsoft MakeCode provides Blocks / JavaScript / Python tools and editors
8 lines (7 loc) • 346 B
TypeScript
export declare type Record = {
type: "json" | "text";
val: string;
};
export declare function getAsync<T>(container: string, key: string): Promise<T | undefined>;
export declare function setAsync(container: string, key: string, rec: Record): Promise<void>;
export declare function delAsync(container: string, key: string): Promise<void>;