Data::getStore generic
This commit is contained in:
1 parent
717540682d
commit
c038ef882b
1 file changed
+1
-1
+1
-1
@@ -8,7 +8,7 @@ export default class Data {
|
||||
store.set(key, collection)
|
||||
}
|
||||
|
||||
static getStore(key: string): Collection {
|
||||
static getStore<T>(key: string): Collection<T> {
|
||||
return store.get(key)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user