mirror of
https://github.com/denoland/deno.git
synced 2024-11-01 09:24:20 -04: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>;
|