Tsconfig show typescript file not found error after change file name

i changed an archive name from 'index.ts' to 'style.ts', after that always returns this error in tsconfig.json:

"File '/src/components/AboutContainer/index.ts' not found. The file is in the program because: Matched by default include pattern '**/*'"

here's my tsconfig.json:

  "extends": "expo/tsconfig.base",
  "compilerOptions": {
    "strict": true


  • Closing and re-opening VSCode really seems to be the fix here. At least for me. It's something about how VSCode handles checking for problems.