mirror of
https://github.com/denoland/deno.git
synced 2024-12-23 07:44:48 -05:00
9 lines
317 B
TypeScript
9 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;
|