chore(docs): document HTTPRequest with TSDoc (#6146)

* chore(docs): document HTTPRequest with TSDoc

* doclint

* example
This commit is contained in:
Jack Franklin
2020-07-03 14:28:45 +01:00
committed by GitHub
parent 4ebf117116
commit f7857d27c4
35 changed files with 540 additions and 147 deletions

View File

@@ -4,6 +4,8 @@
## HTTPRequest.resourceType() method
Contains the request's resource type as it was perceived by the rendering engine.
<b>Signature:</b>
```typescript
@@ -13,3 +15,8 @@ resourceType(): string;
string
one of the following: `document`<!-- -->, `stylesheet`<!-- -->, `image`<!-- -->, `media`<!-- -->, `font`<!-- -->, `script`<!-- -->, `texttrack`<!-- -->, `xhr`<!-- -->, `fetch`<!-- -->, `eventsource`<!-- -->, `websocket`<!-- -->, `manifest`<!-- -->, `other`<!-- -->.
## Remarks