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

18 lines
1.2 KiB
Plaintext

import type { TSESLint, TSESTree } from '@typescript-eslint/utils';
import type { InferMessageIdsTypeFromRule, InferOptionsTypeFromRule } from '../util';
declare const baseRule: TSESLint.RuleModule<"preferDestructuring", [import("eslint/lib/rules/prefer-destructuring").DestructuringTypeConfig | {
AssignmentExpression?: import("eslint/lib/rules/prefer-destructuring").DestructuringTypeConfig;
VariableDeclarator?: import("eslint/lib/rules/prefer-destructuring").DestructuringTypeConfig;
}, (import("eslint/lib/rules/prefer-destructuring").Option1 | undefined)?], unknown, {
AssignmentExpression(node: TSESTree.AssignmentExpression): void;
VariableDeclarator(node: TSESTree.VariableDeclarator): void;
}>;
type BaseOptions = InferOptionsTypeFromRule<typeof baseRule>;
type EnforcementOptions = {
enforceForDeclarationWithTypeAnnotation?: boolean;
} & BaseOptions[1];
export type Options = [BaseOptions[0], EnforcementOptions];
export type MessageIds = InferMessageIdsTypeFromRule<typeof baseRule>;
declare const _default: TSESLint.RuleModule<"preferDestructuring", Options, import("../../rules").ESLintPluginDocs, TSESLint.RuleListener>;
export default _default;