-
Notifications
You must be signed in to change notification settings - Fork 675
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
Typescript compilation fails because "files" property in tsconfig.json appears to be ignored #5790
Comments
Hi, In the upcoming 1.10.0 version, we plan to release the Custom Compiler Options feature, which should allow you to implement your scenario. Here is corresponding issue and PR. Once the 1.10.0 version is released, can you check if it solves the issue? Otherwise, we would appreciate if you send us a working example reproducing the problem. |
Are you sure that will fix it? My concern is that the |
Yes, the "Compiler Options" is the name of the CLI parameter and the runner method: https://devexpress.github.io/testcafe/documentation/guides/concepts/typescript-and-coffeescript.html#customize-compiler-options |
Will this Compiler Options feature handle custom "paths" mappings in tsconfig.json files as well? Specifically will it address #4144? |
This issue was automatically closed because there was no response to our request for more information from the original author. Currently, we don't have enough information to take action. Please reach out to us if you find the necessary information and are able to share it. We are also eager to know if you resolved the issue on your own and can share your findings with everyone. |
What is your Test Scenario?
I enable importing
*.graphql
files as strings in my app via webpack's raw-loader, and tell TS to consider these imports to be strings via a declaration file:assets.d.ts
I then tell the TS compiler about this declaration file via the
files
property intsconfig.json
:tsconfig.json
Finally, I provide the path to this
tsconfig.json
viarunner.tsConfigPath(tsConfigPath)
.What is the Current behavior?
Testcafe fails to compile the TypeScript test:
What is the Expected behavior?
TS compiles without error
Your Environment details:
createTestCafe
The text was updated successfully, but these errors were encountered: