Deploy app servers close to your users. Package your app as a Docker image, and launch it in 17 cities with one simple CLI.
985
stars
48
forks
source link
TypeScript doesn't recognize augmented Request, fetch, etc types #216
Closed
mrkurt closed 4 years ago
Our
Request
object has a few more properties than the spec:cookies: CookieJar
remoteAddr: string
Likewise,
fetch
takes extra options:fetch(url, { timeout: number })
These need global declarations so TypeScript will pick them up when building apps.