InterceptorOptions
interface in meocord/interface Since 4.1.0
interface InterceptorOptionsWhat @Interceptor takes: the context types the interceptor runs for.
Members
types
types?: readonly ExecutionContextType[]The context types the interceptor runs for, as ExecutionContext.getType() reports them; it is skipped for
any other call. A subclass inherits them unless it declares its own.
Default: every type
See also
- Interceptor