Skip to content

Commit ee06574

Browse files
leo-arjrf0110
authored andcommitted
Remove redundant properties from FetchEvent
Ensuring that the `WebWorker` library definition is visible to `tsc` correctly merges the definitions. e.g.: ``` "compilerOptions": { "lib": ["WebWorker"] } ``` in the project's `tsconfig` file.
1 parent cb3dd6f commit ee06574

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

index.d.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
interface FetchEvent {
22
passThroughOnException: () => void
3-
respondWith: (arg: Response | Promise<Response>) => void
4-
readonly request: Request
53
}
64

75
interface RequestInit {

0 commit comments

Comments
 (0)