mirror of
https://github.com/denoland/deno.git
synced 2024-12-14 19:37:59 -05:00
7 lines
297 B
TypeScript
7 lines
297 B
TypeScript
import type { Context } from '../../context';
|
|
import type { Next } from '../../hono';
|
|
export declare type ServeStaticOptions = {
|
|
root?: string;
|
|
path?: string;
|
|
};
|
|
export declare const serveStatic: (options?: ServeStaticOptions) => (c: Context, next: Next) => Promise<Response | undefined>;
|