defineFilter

Identity helper for a single filter registration.

Signature

declare function defineFilter(registration: FilterRegistration): FilterRegistration;

JSDoc

Deprecated

Now a plain pass-through. It existed to preserve the inferred payload type of the `isDefault` predicate inside a batch registration; predicates are gone (a filter is active by the presence of its key), so registrations can be passed to {@link FilterRegistry.register } as-is.

Parameters

registration
The registration to return unchanged.

Returns

The same registration.

Members

This export does not declare public properties or methods in the generated declaration file.