From c85a0c7944bdae1c1b084f863f56c460e35f37be Mon Sep 17 00:00:00 2001 From: Jay McDoniel Date: Thu, 6 Jul 2023 14:10:44 -0700 Subject: [PATCH] fix: remove storage property from interface ref: #1211 --- src/throttler-storage.interface.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/throttler-storage.interface.ts b/src/throttler-storage.interface.ts index d5cd71f46..b4c85676a 100644 --- a/src/throttler-storage.interface.ts +++ b/src/throttler-storage.interface.ts @@ -1,13 +1,6 @@ -import { ThrottlerStorageOptions } from './throttler-storage-options.interface'; import { ThrottlerStorageRecord } from './throttler-storage-record.interface'; export interface ThrottlerStorage { - /** - * The internal storage with all the request records. - * The key is a hashed key based on the current context and IP. - */ - storage: Record; - /** * Increment the amount of requests for a given record. The record will * automatically be removed from the storage once its TTL has been reached.