Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
wheresrhys committed May 22, 2020
1 parent 4b18f69 commit 842783d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/_api-inspection/lastOptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ navTitle: .lastOptions()
position: 5
versionAdded: 4.0.0
description: |-
Returns the options for the call to `fetch` matching the given `filter` and `options`. If `fetch` was last called using a `Request` instance, a set of `options` inferred from the `Request` will be returned
Returns the options for the last call to `fetch` matching the given `filter` and `options`. If `fetch` was last called using a `Request` instance, a set of `options` inferred from the `Request` will be returned
---
15 changes: 15 additions & 0 deletions docs/_api-inspection/lastResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
title: .lastResponse(filter, options)
navTitle: .lastResponse()
position: 5.5
versionAdded: 9.10.0
description: |-
Returns the `Response` for the last call to `fetch` matching the given `filter` and `options`.
If `.lastResponse()` is called before fetch has been resolved then it will return `undefined`
{: .warning}
To obtain json/text responses await the `.json()/.text()` methods of the response
{: .info}
---

0 comments on commit 842783d

Please sign in to comment.