From 4f93d23b6883508a25bb4ebe1056801a8725646c Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Wed, 23 Nov 2022 21:22:42 -0500 Subject: [PATCH] *Fix return type --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 02e2eae..20d9ab4 100644 --- a/src/index.ts +++ b/src/index.ts @@ -73,7 +73,7 @@ export default class DHTCache extends EventEmitter { private _cache: Set; - public get cache(): {} { + public get cache(): string[] { return [...this._cache].sort(); }