ESLint त्रुटि "Unable to resolve path to module" TypeScript फ़ाइलों को import करते समय
नमस्ते साथियों! मैंने अभी-अभी TypeScript सीखना शुरू किया है और अपने प्रोजेक्ट में ESLint सेट करने की कोशिश कर रहा हूँ, लेकिन मुझे एक बहुत ही अजीब त्रुटि का सामना करना पड़ा। \n\nमेरे पास एक सरल प्रोजेक्ट संरचना है:\n```\nsrc/\n utils/\n helpers.ts\n components/\n Button.tsx\n index.ts\n```\n\n`index.ts` फ़ाइल में, मैं मॉड्यूल import करने की कोशिश कर रहा हूँ:\n```typescript\nimport { formatDate } from './utils/helpers';\n```\n\nESLint त्रुटि दे रहा है: `Unable to resolve path to module './utils/helpers'`. जबकि TypeScript स्वयं इस फ़ाइल को ठीक से देखता है और कोड बिना किसी त्रुटि के compile हो जाता है! \n\nमेरा ESLint कॉन्फ़िग (`.eslintrc.json`):\n```json\n{\n "parser": "@typescript-eslint/parser",\n "plugins": ["@typescript-eslint"],\n "extends": [\n "eslint:recommended",\n "plugin:@typescript-eslint/recommended"\n ]\n}\n```\n\nमैंने पहले ही प्रयास किया है: