UseRateLimitDirectivePlugin
UseRateLimitDirectivePlugin
Compiler plugin for the "use ratelimit" directive.
Signature
class UseRateLimitDirectivePlugin extends CommonDirectiveTransformer {
public readonly name = 'UseRateLimitDirectivePlugin';
constructor(options?: Partial<CommonDirectiveTransformerOptions>)
activate(ctx: CompilerPluginRuntime) => Promise<void>;
}
- Extends:
CommonDirectiveTransformer
name
property
constructor
method
(options?: Partial<CommonDirectiveTransformerOptions>) => UseRateLimitDirectivePluginCreate the directive compiler plugin with optional overrides.
activate
method
(ctx: CompilerPluginRuntime) => Promise<void>Activate the compiler plugin in the current build runtime.