Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in typescript with project references #125

Closed
zoltanbedi opened this issue Mar 22, 2019 · 2 comments · Fixed by #128
Closed

Error in typescript with project references #125

zoltanbedi opened this issue Mar 22, 2019 · 2 comments · Fixed by #128

Comments

@zoltanbedi
Copy link
Contributor

So I have a monorepo with multiple typescript libs. I wanted to try redux-starter-kit in one of my lib. But after adding that as a dependency I can not build without error because I see

error TS6307: File '/mnt/c/dev/github/sensenet/sn-client/node_modules/redux-starter-kit/src/configurestore.ts' is not in project file list. Projects must list all files or use an 'include' pattern.

The redux-starter-kit works great in a repo where project references are not turned on. The source of the problem might be the index.d.ts file in the root of the project because it points to the files located in src.

@jamiewinder
Copy link

I've just discovered the same thing. I see you've added a pull request to fix this, but did you figure out a workaround at all?

@zoltanbedi
Copy link
Contributor Author

@jamiewinder not found a workaround sadly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants