Closed deep-foundation-sweepai[bot] closed 1 year ago
GitHub actions yielded the following error.
##[error]client.tsx(106,42): error TS2693: 'ApolloClient' only refers to a type, but is being used as a value here.
##[error]Process completed with exit code 2.
The command that failed is npx tsc --project tsconfig.json
.
This is likely a linting or type-checking issue with the source code. Update the code changed by the PR. Don't modify the existing tests.
I'm getting the same errors 3 times in a row, so I will stop working on fixing this PR.
GitHub actions yielded the following error.
##[group]Run npm run build
npm ERR! Missing script: "build"
npm ERR!
npm ERR! To see a list of scripts, run:
npm ERR! npm run
npm ERR! A complete log of this run can be found in: /home/runner/.npm/_logs/2023-09-12T11_22_51_080Z-debug-0.log
##[error]Process completed with exit code 1.
The command that failed is npm run build
.
This is likely a linting or type-checking issue with the source code. Update the code changed by the PR. Don't modify the existing tests.
I'm getting the same errors 3 times in a row, so I will stop working on fixing this PR.
Description
This PR introduces a custom ApolloClient type in the client.tsx file. The custom type extends the existing ApolloClient from @apollo/client and adds a
path
property of type string and anssl
property of type boolean. This change allows for more flexibility and customization in the use of the ApolloClient in the codebase.Summary of Changes
path
property of type string and anssl
property of type boolean.Fixes #8.
To checkout this PR branch, run the following command in your terminal:
🎉 Latest improvements to Sweep:
💡 To get Sweep to edit this pull request, you can: