Blame view

天文台pc/tianwentai-ui/node_modules/date-fns/locale/_lib/buildMatchPatternFn.d.mts 333 Bytes
bc518174   王天杨   提交两个项目文件
1
2
3
4
5
6
7
8
9
  import type { MatchFn, MatchValueCallback } from "../types.js";
  export interface BuildMatchPatternFnArgs<Result> {
    matchPattern: RegExp;
    parsePattern: RegExp;
    valueCallback?: MatchValueCallback<string, Result>;
  }
  export declare function buildMatchPatternFn<Result>(
    args: BuildMatchPatternFnArgs<Result>,
  ): MatchFn<Result>;