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.
1 parent cd81a3a commit 92e65fbCopy full SHA for 92e65fb
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