diff options
| author | nsfisis <nsfisis@gmail.com> | 2023-03-18 18:09:50 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2023-03-18 18:12:23 +0900 |
| commit | 12035272d44d92cd2360aeff88d499db67fe1949 (patch) | |
| tree | b9366110badb650b7d0af84330dd69df4bd71bcf /nuldoc-src/page.ts | |
| parent | b98d324fe7eb37e7004926843feede7e636c3301 (diff) | |
| download | blog.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.ts | 5 |
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; +} |
