We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cd81a3a + 92e65fb commit 9ad4cd5Copy full SHA for 9ad4cd5
index.d.ts
@@ -59,7 +59,12 @@ declare namespace OAuth2Server {
59
* Instantiates Request using the supplied options.
60
*
61
*/
62
- constructor(options?: Record<string, any> | http.IncomingMessage);
+ constructor(options: {
63
+ headers: Record<string, string>,
64
+ method: string,
65
+ query: Record<string, string>,
66
+ body?: any
67
+ } & Record<string, any> | http.IncomingMessage);
68
69
/**
70
* Returns the specified HTTP header field. The match is case-insensitive.
0 commit comments