aboutsummaryrefslogtreecommitdiffhomepage
path: root/nuldoc-src/page.ts
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2023-03-18 18:09:50 +0900
committernsfisis <nsfisis@gmail.com>2023-03-18 18:12:23 +0900
commit12035272d44d92cd2360aeff88d499db67fe1949 (patch)
treeb9366110badb650b7d0af84330dd69df4bd71bcf /nuldoc-src/page.ts
parentb98d324fe7eb37e7004926843feede7e636c3301 (diff)
downloadblog.nsfisis.dev-12035272d44d92cd2360aeff88d499db67fe1949.tar.gz
blog.nsfisis.dev-12035272d44d92cd2360aeff88d499db67fe1949.tar.zst
blog.nsfisis.dev-12035272d44d92cd2360aeff88d499db67fe1949.zip
refactor: use Page instead of Document
Diffstat (limited to 'nuldoc-src/page.ts')
-rw-r--r--nuldoc-src/page.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/nuldoc-src/page.ts b/nuldoc-src/page.ts
index 970265e..f4a6166 100644
--- a/nuldoc-src/page.ts
+++ b/nuldoc-src/page.ts
@@ -1,8 +1,9 @@
import { Element } from "./dom.ts";
import { RendererType } from "./render.ts";
-export type Page = {
+export interface Page {
root: Element;
renderer: RendererType;
destFilePath: string;
-};
+ href: string;
+}