diff options
author | Chocobozzz <me@florianbigard.com> | 2020-06-26 08:37:26 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-08-07 08:28:14 +0200 |
commit | 583eb04b541175035d6d452ca626a96ebf2b7437 (patch) | |
tree | 114ba0a7004b4b2a7fc77444ef5fcb73414c6e93 /shared/models/plugins/plugin-storage-manager.model.ts | |
parent | 4504f09f6e85f09b0489debb547a17209d7176ea (diff) | |
download | PeerTube-583eb04b541175035d6d452ca626a96ebf2b7437.tar.gz PeerTube-583eb04b541175035d6d452ca626a96ebf2b7437.tar.zst PeerTube-583eb04b541175035d6d452ca626a96ebf2b7437.zip |
Upgrade to angular 10
Diffstat (limited to 'shared/models/plugins/plugin-storage-manager.model.ts')
-rw-r--r-- | shared/models/plugins/plugin-storage-manager.model.ts | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/shared/models/plugins/plugin-storage-manager.model.ts b/shared/models/plugins/plugin-storage-manager.model.ts index 8a1f389f1..51567044a 100644 --- a/shared/models/plugins/plugin-storage-manager.model.ts +++ b/shared/models/plugins/plugin-storage-manager.model.ts | |||
@@ -1,7 +1,5 @@ | |||
1 | import * as Bluebird from 'bluebird' | ||
2 | |||
3 | export interface PluginStorageManager { | 1 | export interface PluginStorageManager { |
4 | getData: (key: string) => Bluebird<string> | 2 | getData: (key: string) => Promise<string> |
5 | 3 | ||
6 | storeData: (key: string, data: any) => Bluebird<any> | 4 | storeData: (key: string, data: any) => Promise<any> |
7 | } | 5 | } |