Closed Sn-Kinos closed 3 months ago
Typescript obviously can't know if you're running pnpm or not, so please provide a repro that doesn't depend on that tool
Typescript obviously can't know if you're running pnpm or not, so please provide a repro that doesn't depend on that tool
Can I set up monorepo without pnpm? I did it also with Yarn Workspaces, But It didn't works. π’
I also published npm
branch that make monorepo with npm. And as I wrote in the text, the same problem occurred in Yarn, so I don't think this is a problem caused by a specific package manager... π€
@RyanCavanaugh May I ask if there is anything else I can do to resolve?
@Sn-Kinos I'd like you to provide a repro that doesn't require running tools that aren't TypeScript. TypeScript can only see the layout of files on disk so whatever problem you have is related to that layout of files, and should be reproducible
Bug Report
π Search Terms
π Version & Regression Information
β― Playground Link
GitHub Public Repository for this case w/ pnpm. https://github.com/Sn-Kinos/monorepo-interface
It issues on Yarn workspace too.
π» Code
With above image, Type annotation for
AppObjectWithInterface
andAppObjectWithType
onapps/app/index.ts
didn't work properly.π Actual behavior
LibraryType
onapps/
shows itany
.LibraryInterface
onapps/
does not includespaths
andabsolute
.π Expected behavior
LibraryType
onapps/
shows properly.LibraryInterface
onapps/
includespaths
andabsolute
.