summaryrefslogtreecommitdiff
path: root/cgithub/src/index.ts
diff options
context:
space:
mode:
authorJoe Mou <dev@mou.fo>2026-01-26 15:55:52 -0500
committerJoe Mou <dev@mou.fo>2026-01-26 17:23:43 -0500
commitfee5c6f6438316a8d407699370729ac2d0abd9d1 (patch)
treeb1f7eccd44beae5939d452bcdb741f081c5a67e2 /cgithub/src/index.ts
parentd91b89f89bd7dcf3258dc5802d6a97c5e341e272 (diff)
Use Node native TypeScript elision
See https://nodejs.org/api/typescript.html#type-stripping
Diffstat (limited to 'cgithub/src/index.ts')
-rw-r--r--cgithub/src/index.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/cgithub/src/index.ts b/cgithub/src/index.ts
index 38d6d13..388b1e0 100644
--- a/cgithub/src/index.ts
+++ b/cgithub/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));