u/DenseProgrammer7602

Cannot find module '../types/index' or its corresponding type declarations

hello, I'm fairly new to JS and I'm currently trying to make myself a quiz app on VS, to help myself learn languages, and in the following file;

"src\data\languages.ts"

I have the first line of code;

import { Language, DictionaryCategory } from '../types/index';

an error comes up saying "Cannot find module '../types/index' or its corresponding type declarations "

however, when I right click'../types/index';

and select 'Go to Source Definition'

it takes me straight to "src\types\index.ts

Its the only error I've got and I've hit a stumbling block, I've tried removing \index and adding .ts but nothing seems to work.

I've installed 'tailwindCSS' and 'Lucide-React' onto the project. I bet its something simple, but I can't work it out.

Thanks for any help

reddit.com
u/DenseProgrammer7602 — 7 days ago

Hello Everyone, We’ve had very good pregnancy so far, my wife is currently 36+3 weeks pregnant with our baby girl.

2 weeks ago during our midwife appointment, the midwife believed she may have breeched and her weight was below what should be expected, my wife has had a 2 scans at our local hospital and they couldn’t locate the stomach, however they said that the stomach may have debris in it from, either from lanugo, or from blood (My wife hasn’t experienced any bleeding). Since they weren’t sure, they’ve referred us to specialists in our area. They did confirm that the baby was head down and her weight was at the 70th percentile.

We saw the specialist today and they couldn’t locate locate the stomach, they confirmed that the bladder, kidneys and liver were fine, and confirmed we the notes that nothing was noticed during the 20 week scan.

The doctor stated the he believes the stomach is behind the heart, and has herniated from the diaphragm. Did anyone else experience anything like this and what was the outcome? Thank you for reading and responding

reddit.com
u/DenseProgrammer7602 — 23 days ago

Hello Everyone, We’ve had very good pregnancy so far, my wife is currently 36+3 weeks pregnant with our baby girl.

2 weeks ago during our midwife appointment, the midwife believed she may have breeched and her weight was below what should be expected, my wife has had a 2 scans at our local hospital and they couldn’t locate the stomach, however they said that the stomach may have debris in it from, either from lanugo, or from blood (My wife hasn’t experienced any bleeding). Since they weren’t sure, they’ve referred us to specialists in our area. They did confirm that the baby was head down and her weight was at the 70th percentile.

We saw the specialist today and they couldn’t locate locate the stomach, they confirmed that the bladder, kidneys and liver were fine, and confirmed we the notes that nothing was noticed during the 20 week scan.

The doctor stated the he believes the stomach is behind the heart, and has herniated from the diaphragm. Did anyone else experience anything like this and what was the outcome? Thank you for reading and responding

reddit.com
u/DenseProgrammer7602 — 23 days ago