-
Notifications
You must be signed in to change notification settings - Fork 175
Open
Description
I followed all steps in a tutorial, and received an TS error Cannot find module '..' or its corresponding type declarations.ts(2307) while trying to do
import { avg, sum3 } from '..';
What I could miss?
My tests/tsconfig.json internals are
{
"extends": "../tsconfig.json",
"references": [
{
"name": "my-lib",
"path": ".."
}
],
"compilerOptions": {
"types": [
"jest"
],
"rootDir": "..",
"noEmit": true
},
"include": [
"."
]
}and in a Problems tab of VS Code I'm receiving an error
File '/home/stradivari/projects/temp/tests/index.test.ts' is not under 'rootDir' '/home/stradivari/projects/temp/src'. 'rootDir' is expected to contain all source files.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
