*Fix return type
This commit is contained in:
parent
9bc97fa195
commit
4f93d23b68
|
@ -73,7 +73,7 @@ export default class DHTCache extends EventEmitter {
|
||||||
|
|
||||||
private _cache: Set<string>;
|
private _cache: Set<string>;
|
||||||
|
|
||||||
public get cache(): {} {
|
public get cache(): string[] {
|
||||||
return [...this._cache].sort();
|
return [...this._cache].sort();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue