From b36def683cb0bfe251c623c826ec7918b69a96b2 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Mon, 13 Jan 2025 19:33:35 +0900 Subject: refactor(blog/nuldoc): use JSX notation to generate Atom pages --- vhosts/blog/nuldoc-src/jsx/types.d.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'vhosts/blog/nuldoc-src/jsx') diff --git a/vhosts/blog/nuldoc-src/jsx/types.d.ts b/vhosts/blog/nuldoc-src/jsx/types.d.ts index 6a9d2b91..5d949d14 100644 --- a/vhosts/blog/nuldoc-src/jsx/types.d.ts +++ b/vhosts/blog/nuldoc-src/jsx/types.d.ts @@ -20,7 +20,18 @@ declare global { // deno-lint-ignore no-explicit-any | ((props: any) => FunctionComponentResult); + // TODO: HTML 用の element と XML 用の element を分ける interface IntrinsicElements { + // XML (Atom) + author: IntrinsicElementType; + entry: IntrinsicElementType; + feed: IntrinsicElementType & { xmlns: string }; + id: IntrinsicElementType; + name: IntrinsicElementType; + published: IntrinsicElementType; + summary: IntrinsicElementType; + updated: IntrinsicElementType; + // HTML a: IntrinsicElementType & { href?: string }; article: IntrinsicElementType; body: IntrinsicElementType; -- cgit v1.2.3-70-g09d2