Ai
1 Star 0 Fork 0

XYCode/orbit-db-types

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
KeyValueStore.d.ts 406 Bytes
一键复制 编辑 原始数据 按行查看 历史
EmiM 提交于 2022-01-18 18:32 +08:00 . Fix 'all' declaration for KeyValueStore
declare module "orbit-db-kvstore" {
import Store from "orbit-db-store";
export default class KeyValueStore<V> extends Store {
get(key: string): V;
put(key: string, value: V, options?: {}): Promise<string>;
set(key: string, value: V, options?: {}): Promise<string>;
del(key: string, options?: {}): Promise<string>;
all: {[key: string]: V};
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/XYCode-XYC/orbit-db-types.git
git@gitee.com:XYCode-XYC/orbit-db-types.git
XYCode-XYC
orbit-db-types
orbit-db-types
main

搜索帮助