Files
NapCatQQ/.pnpm-store/v3/files/f9/dbbdae1dc0d07850fd8244339d188eafd5f092b7b25fcb561b058cd5fe8fc7a1f51977e78c515fb3d54a320febc61327656ab039e7ea9be5c13b8ef8292fd9
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

27 lines
591 B
Plaintext

import type { Rule } from 'eslint';
import type { Node } from 'estree';
type Visitor = (source: Node, importer: unknown) => any;
type Options = {
amd?: boolean;
commonjs?: boolean;
esmodule?: boolean;
ignore?: string[];
};
declare function moduleVisitor(
visitor: Visitor,
options?: Options,
): object;
export default moduleVisitor;
export type Schema = NonNullable<Rule.RuleModule['schema']>;
declare function makeOptionsSchema(additionalProperties?: Partial<Schema>): Schema
declare const optionsSchema: Schema;
export { makeOptionsSchema, optionsSchema };