test02/node_modules/@vuepress/plugin-git/lib/node/gitPlugin.d.ts
罗佳鸿 6aa1ebe342
Some checks are pending
部署文档 / deploy-gh-pages (push) Waiting to run
first commit
2024-08-13 10:11:19 +08:00

20 lines
510 B
TypeScript

import type { Plugin } from 'vuepress/core';
/**
* Options of @vuepress/plugin-git
*/
export interface GitPluginOptions {
/**
* Whether to get the created time of a page
*/
createdTime?: boolean;
/**
* Whether to get the updated time of a page
*/
updatedTime?: boolean;
/**
* Whether to get the contributors of a page
*/
contributors?: boolean;
}
export declare const gitPlugin: ({ createdTime, updatedTime, contributors }?: GitPluginOptions) => Plugin;