Skip to content

Commit

Permalink
Merge pull request cloudflare#132 from shagamemnon/frank/cleanup-defa…
Browse files Browse the repository at this point in the history
…ultmimetype

fixed new defaultMimeTypes type
  • Loading branch information
EverlastingBugstopper authored Jul 7, 2020
2 parents 95dfdb4 + e9ba999 commit 8abc1b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ export type Options = {
cacheControl: ((req: Request) => Partial<CacheControl>) | Partial<CacheControl>
ASSET_NAMESPACE: any
ASSET_MANIFEST: Object | string
mapRequestToAsset: (req: Request) => Request
mapRequestToAsset: (req: Request) => Request,
defaultMimeType: string
}

export class KVError extends Error {
Expand Down

0 comments on commit 8abc1b4

Please sign in to comment.