type alias FilterConfig
Private

The slice of Config the filter helpers read — every function below takes this rather than a full Config, so callers with only the three fields qualify.

import type { Config } from '../types.ts';

type FilterConfig = Pick<Config, 'filter' | 'lineTargets' | 'state'>;
const expression: FilterConfig['filter'] = '/^Cart(:| >)/'; // the exact-module recipe

Definition

Pick<Config, "filter" | "lineTargets" | "state">

Usage

import { type FilterConfig } from "lib/selection/filter.ts";