API 参考
    正在准备搜索索引...

    变量 MarkdownAPI常量

    MarkdownAPI: {
        formatSection: (
            commits: Commit[],
            options: {
                baseUrl: string;
                capitalize: boolean;
                emoji: boolean;
                group?: boolean | "multiple";
                repo: string;
                scopeMap: Record<string, string>;
                scopeName?: string;
                sectionName: string;
            },
        ) => string[];
        getGithubVersionDescription: (
            __namedParameters: {
                baseUrl: string;
                fromVersion: string;
                repo: string;
                toVersion: string;
            },
        ) => string;
        getNoSignificantChanges: () => string;
        getNPMVersionDescription: (pkgName: string, pkgVersion: string) => string;
    } = ...

    类型声明

    • formatSection: (
          commits: Commit[],
          options: {
              baseUrl: string;
              capitalize: boolean;
              emoji: boolean;
              group?: boolean | "multiple";
              repo: string;
              scopeMap: Record<string, string>;
              scopeName?: string;
              sectionName: string;
          },
      ) => string[]
    • getGithubVersionDescription: (
          __namedParameters: {
              baseUrl: string;
              fromVersion: string;
              repo: string;
              toVersion: string;
          },
      ) => string
    • getNoSignificantChanges: () => string
    • getNPMVersionDescription: (pkgName: string, pkgVersion: string) => string