11856b30 JB |
1 | import { type URL } from 'node:url' |
2 | import { type RequestInfo, type RequestInit } from 'node-fetch' |
3 | |
4 | export interface WorkerData { |
5 | url: URL | RequestInfo |
6 | init?: RequestInit |
7 | } |
8 | |
9 | export interface WorkerResponse { |
10 | text: string |
11 | } |