To reproduce:
npm install
npm -w app run check:ts
npm -w app run check:svelte
File '/svelte-ts-monorepo-issue/packages/dep/index.ts' is not under 'rootDir' '/svelte-ts-monorepo-issue/packages/app'. 'rootDir' is expected to contain all source files.
The file is in the program because:
Imported via "dep" from file '/svelte-ts-monorepo-issue/packages/app/index.ts' with packageId 'dep/index.ts@1.0.0'
Root file specified for compilation