Skip to content

Commit

Permalink
fix: Add missing sharedState
Browse files Browse the repository at this point in the history
  • Loading branch information
ReiiYuki committed Aug 16, 2023
1 parent 4d71a25 commit 25c14a0
Show file tree
Hide file tree
Showing 2 changed files with 3,609 additions and 0 deletions.
6 changes: 6 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
export {}

declare namespace proxyman.addons {
type Method = 'ANY' | 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS' | 'PATCH'

Expand Down Expand Up @@ -54,3 +56,7 @@ declare namespace proxyman.addons {

type onResponse = (context: Context, url: string, request: Request, response: Response) => Response
}

declare global {
const sharedState: Record<string, any>
}
Loading

0 comments on commit 25c14a0

Please sign in to comment.