repositories
/
poolifier.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
4ac3a8ffd00dea2710ce594d016fb4a8923d2d86
[poolifier.git]
/
examples
/
typescript
/
http-client
/
node-fetch
/
src
/
types.ts
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
}