mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 15:24:46 -05:00
10 lines
317 B
TypeScript
10 lines
317 B
TypeScript
|
/// <reference types="@cloudflare/workers-types" />
|
||
|
import type { Handler } from '../../hono';
|
||
|
export declare type ServeStaticOptions = {
|
||
|
root?: string;
|
||
|
path?: string;
|
||
|
manifest?: object | string;
|
||
|
namespace?: KVNamespace;
|
||
|
};
|
||
|
export declare const serveStatic: (options?: ServeStaticOptions) => Handler;
|