diff --git a/src/throttler-module-options.interface.ts b/src/throttler-module-options.interface.ts index 48ab57614..1aa87a9b2 100644 --- a/src/throttler-module-options.interface.ts +++ b/src/throttler-module-options.interface.ts @@ -8,6 +8,10 @@ export type Resolvable = ======= >>>>>>> ccc52db (feat: allowfor multiple throttler contexts) +export type Resolvable = + | T + | ((context: ExecutionContext) => T | Promise); + /** * @publicApi */