Skip to content

Commit

Permalink
Fixed documentation build
Browse files Browse the repository at this point in the history
  • Loading branch information
jsimck committed Nov 28, 2024
1 parent 799e538 commit a262592
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
"stylelint-prettier": "^3.0.0",
"swc_mut_cjs_exports": "^0.99.0",
"to-mock": "1.6.2",
"typescript": "^5.0.3",
"typescript": "5.1",
"verdaccio": "^5.23.2",
"webpack": "^5.74.0",
"webpack-cli": "^5.0.1",
Expand Down
1 change: 1 addition & 0 deletions packages/core/src/http/HttpAgentImpl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,7 @@ export class HttpAgentImpl extends HttpAgent {
*/
_setCookiesFromResponse<B>(agentResponse: HttpAgentResponse<B>): void {
if (agentResponse.headersRaw) {
// @ts-expect-error this type is not part of older typescript distributions (needs TS update)
const receivedCookies = agentResponse.headersRaw.getSetCookie();

if (receivedCookies.length > 0) {
Expand Down

0 comments on commit a262592

Please sign in to comment.