Skip to content

fix: make Response.json() return type any#9059

Merged
yury-s merged 1 commit into
microsoft:masterfrom
mxschmitt:bugfix/response-json
Sep 23, 2021
Merged

fix: make Response.json() return type any#9059
yury-s merged 1 commit into
microsoft:masterfrom
mxschmitt:bugfix/response-json

Conversation

@mxschmitt
Copy link
Copy Markdown
Contributor

Making the return type more lax like Request.postDataJSON().

Fixes #8976

Comment thread docs/src/api/class-response.md
@yury-s yury-s merged commit 89aace6 into microsoft:master Sep 23, 2021
@mxschmitt mxschmitt deleted the bugfix/response-json branch September 23, 2021 18:08
sidharthv96 added a commit to sidharthv96/playwright that referenced this pull request Sep 24, 2021
* upstream/master: (33 commits)
  chore: migrate expect(locator).toMatchText to protocol (microsoft#9117)
  browser(webkit): fix text padding (microsoft#9114)
  test: unflake "should have correct snapshot size" (microsoft#9099)
  fix: make Serializable type any (microsoft#9059)
  feat(test runner): add some fixture debugging (microsoft#8918)
  chore(typescript): bump typescript to v4.4.3 (microsoft#9087)
  test: add failing WebKit navigation test (microsoft#9097)
  fix(firefox): use global eval in injected script (microsoft#9101)
  feat(launch): connect to process.env.SELENIUM_REMOTE_URL instead of local launch (microsoft#9056)
  test: unflake "should close the context without awaiting the failed download" (microsoft#9094)
  chore: simplify dom tasks (microsoft#9089)
  test: unflake inspector/pause.spec.ts (microsoft#9096)
  test: unflake "should fail when frame detaches" (microsoft#9095)
  test: unflake "should timeout in socket while connecting" (microsoft#9093)
  fix(junit): produce a single system-out entry (microsoft#9091)
  fix(css selector): absolutize relative CSS selectors (microsoft#9088)
  feat(fetch): support options in playwright._newRequest (microsoft#9061)
  chore(registry): refactor logic of what browsers to download to top level (microsoft#9078)
  chore(babel): rename .babelrc to babel.config.json (microsoft#9076)
  docs: improve ignorehttpserrors description (microsoft#9081)
  ...
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 this pull request may close these issues.

[BUG] Response.json() should be unknown instead of Serializable

3 participants