From 614d8f14fa2bac5c4f4357d51b4df527bea93c19 Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Fri, 28 May 2021 21:19:19 +0200 Subject: :sparkles: attachments --- src/util/Storage.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/util/Storage.ts') diff --git a/src/util/Storage.ts b/src/util/Storage.ts index 391afa83..f8b09e71 100644 --- a/src/util/Storage.ts +++ b/src/util/Storage.ts @@ -1,8 +1,9 @@ import { FileStorage } from "./FileStorage"; export interface Storage { - set(path: string, data: any): Promise; - get(path: string): Promise; + set(path: string, data: Buffer): Promise; + get(path: string): Promise; + delete(path: string): Promise; } var storage: Storage; -- cgit 1.5.1