diff options
| author | Joe Mou <dev@mou.fo> | 2026-01-26 15:55:52 -0500 |
|---|---|---|
| committer | Joe Mou <dev@mou.fo> | 2026-01-26 17:23:43 -0500 |
| commit | 967fb03d4014f862353cb110eefbede78304045c (patch) | |
| tree | 22c045b56a0db1ab85a3e1164864cd441a57cfc3 /src | |
| parent | bd28d92a9800ad5b2d66b2a5491f58a7e76a5feb (diff) | |
Use Node native TypeScript elision
See https://nodejs.org/api/typescript.html#type-stripping
Diffstat (limited to 'src')
| -rw-r--r-- | src/index.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/index.ts b/src/index.ts index 38d6d13..388b1e0 100644 --- a/src/index.ts +++ b/src/index.ts @@ -2,9 +2,9 @@ import { createAdaptorServer, serve } from "@hono/node-server"; import { serveStatic } from "@hono/node-server/serve-static"; import { Eta } from "eta"; import { Hono } from "hono"; -import * as path from "node:path"; -import * as url from "node:url"; -import { getGitHubBlob, getGitHubRepo, getGitHubTree } from "./scraper.js"; +import path from "node:path"; +import url from "node:url"; +import { getGitHubBlob, getGitHubRepo, getGitHubTree } from "./scraper.ts"; const __dirname = path.dirname(url.fileURLToPath(import.meta.url)); |
