Skip to content

Commit

Permalink
Merge pull request #14 from managed-components/route-type
Browse files Browse the repository at this point in the history
Route type
  • Loading branch information
Refaerds authored Oct 30, 2023
2 parents f5dda98 + 862bec6 commit 4d9481c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ interface Manager {
set(key: string, value: any): Promise<boolean>
route(
path: string,
callback: (request: Request | any) => Response
callback: (request: Request | any) => Promise<Response> | Response
): string | undefined
proxy(path: string, target: string): string | undefined
serve(path: string, target: string): string | undefined
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@managed-components/types",
"version": "1.3.7",
"version": "1.3.8",
"description": "Types for Managed Components",
"types": "./index.d.ts",
"files": [
Expand Down

0 comments on commit 4d9481c

Please sign in to comment.