mirror of
https://github.com/denoland/deno.git
synced 2024-11-04 08:54:20 -05:00
8 lines
297 B
TypeScript
8 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>;
|