We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 120a2cc commit ef7de96Copy full SHA for ef7de96
src/serve-static.ts
@@ -1,7 +1,7 @@
1
import type { Context, Env, MiddlewareHandler } from 'hono'
2
import { getMimeType } from 'hono/utils/mime'
3
-import { ReadStream, Stats, realpathSync } from 'node:fs'
4
-import { createReadStream, lstatSync, existsSync } from 'node:fs'
+import type { ReadStream, Stats } from 'node:fs'
+import { createReadStream, lstatSync, existsSync, realpathSync } from 'node:fs'
5
import { join } from 'node:path'
6
7
export type ServeStaticOptions<E extends Env = Env> = {
0 commit comments