Skip to content

Commit

Permalink
Update index.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
uNetworkingAB authored Aug 6, 2024
1 parent 6da4d74 commit 9370727
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,8 @@ export interface HttpResponse {
export interface HttpRequest {
/** Returns the lowercased header value or empty string. */
getHeader(lowerCaseKey: RecognizedString) : string;
/** Returns the parsed parameter at index. Corresponds to route. */
getParameter(index: number) : string;
/** Returns the parsed parameter at index. Corresponds to route. Can also take the name of the parameter. */
getParameter(index: number | RecognizedString) : string | undefined;
/** Returns the URL including initial /slash */
getUrl() : string;
/** Returns the lowercased HTTP method, useful for "any" routes. */
Expand Down

0 comments on commit 9370727

Please sign in to comment.