summaryrefslogtreecommitdiffhomepage
path: root/vhosts/blog/nuldoc-src/jsx
diff options
context:
space:
mode:
Diffstat (limited to 'vhosts/blog/nuldoc-src/jsx')
-rw-r--r--vhosts/blog/nuldoc-src/jsx/types.d.ts11
1 files changed, 11 insertions, 0 deletions
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;