File tree 2 files changed +2
-25
lines changed
2 files changed +2
-25
lines changed Original file line number Diff line number Diff line change 24
24
### Functions
25
25
26
26
- [ createHandler] ( handler.md#createhandler )
27
- - [ isResponse] ( handler.md#isresponse )
28
27
29
28
## Server
30
29
@@ -216,21 +215,3 @@ console.log('Listening to port 4000');
216
215
#### Returns
217
216
218
217
[ ` Handler ` ] ( handler.md#handler ) <` RequestRaw ` , ` RequestContext ` \>
219
-
220
- ___
221
-
222
- ### isResponse
223
-
224
- ▸ ** isResponse** (` val ` ): val is Response
225
-
226
- Checks whether the passed value is the ` graphql-http ` server agnostic response.
227
-
228
- #### Parameters
229
-
230
- | Name | Type |
231
- | :------ | :------ |
232
- | ` val ` | ` unknown ` |
233
-
234
- #### Returns
235
-
236
- val is Response
Original file line number Diff line number Diff line change @@ -123,12 +123,8 @@ export interface ResponseInit {
123
123
*/
124
124
export type Response = readonly [ body : ResponseBody | null , init : ResponseInit ] ;
125
125
126
- /**
127
- * Checks whether the passed value is the `graphql-http` server agnostic response.
128
- *
129
- * @category Server
130
- */
131
- export function isResponse ( val : unknown ) : val is Response {
126
+ /** Checks whether the passed value is the `graphql-http` server agnostic response. */
127
+ function isResponse ( val : unknown ) : val is Response {
132
128
// TODO: make sure the contents of init match ResponseInit
133
129
return (
134
130
Array . isArray ( val ) &&
You can’t perform that action at this time.
0 commit comments