dom-to-code
Version:
navigate to the code through the dom
31 lines (27 loc) • 502 B
TypeScript
import { FilterPattern } from '@rollup/pluginutils';
/**
* 支持的模式
*/
declare const SUPPORT_MODE: readonly ["vue", "react"];
/**
* 支持的模式
*/
declare type SupportMode = (typeof SUPPORT_MODE)[number];
/**
* 插件配置选项
*/
interface Options {
/**
* 模式
*/
mode?: SupportMode;
/**
* 包含的文件规则
*/
include?: FilterPattern;
/**
* 排除的文件规则
*/
exclude?: FilterPattern;
}
export { Options as O };