elearning/Frontend-Learner/node_modules/eslint-plugin-import-x/lib/rules/no-duplicates.d.ts
2026-01-13 10:48:02 +07:00

15 lines
739 B
TypeScript

import type { TSESLint, TSESTree } from '@typescript-eslint/utils';
export interface Options {
considerQueryString?: boolean;
'prefer-inline'?: boolean;
}
export type MessageId = 'duplicate';
export interface ModuleMap {
imported: Map<string, TSESTree.ImportDeclaration[]>;
nsImported: Map<string, TSESTree.ImportDeclaration[]>;
defaultTypesImported: Map<string, TSESTree.ImportDeclaration[]>;
namespaceTypesImported: Map<string, TSESTree.ImportDeclaration[]>;
namedTypesImported: Map<string, TSESTree.ImportDeclaration[]>;
}
declare const _default: TSESLint.RuleModule<"duplicate", [(Options | undefined)?], import("../utils/create-rule.ts").ImportXPluginDocs, TSESLint.RuleListener>;
export default _default;