T

FilterPredicate

A predicate taking a module and a filter's arguments; the build gives it a cache key from its source.

type FilterPredicate<A extends FilterArgument[]> = ((mdl: MetroExport, ...args: A) => PredicateResult) & { [CACHE_KEY]?: string }