There was an error while loading. Please reload this page.
2 parents 115308b + 9ad4cd5 commit f869132Copy full SHA for f869132
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