Blame view

天文台pc/tianwentai-ui/node_modules/date-fns/locale/_lib/buildFormatLongFn.d.ts 464 Bytes
bc518174   王天杨   提交两个项目文件
1
2
3
4
5
6
7
8
9
10
11
12
13
14
  import type { FormatLongFn, FormatLongWidth } from "../types.js";
  export interface BuildFormatLongFnArgs<
    DefaultMatchWidth extends FormatLongWidth,
  > {
    formats: Partial<{
      [format in FormatLongWidth]: string;
    }> & {
      [format in DefaultMatchWidth]: string;
    };
    defaultWidth: DefaultMatchWidth;
  }
  export declare function buildFormatLongFn<
    DefaultMatchWidth extends FormatLongWidth,
  >(args: BuildFormatLongFnArgs<DefaultMatchWidth>): FormatLongFn;