mirror of
https://github.com/jaandrle/deka-dom-el
synced 2025-07-29 15:10:14 +02:00
⚡ Docs
This commit is contained in:
29
docs/types.d.ts
vendored
Normal file
29
docs/types.d.ts
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
/** See `package.json` */
|
||||
export type Pkg= Record<string, string>
|
||||
export type Info= {
|
||||
id: string,
|
||||
href: string,
|
||||
title: string,
|
||||
description: string,
|
||||
}
|
||||
export type Pages=Info[];
|
||||
export type PathTarget= {
|
||||
root: string,
|
||||
css: string
|
||||
}
|
||||
export type registerClientFile= import("../bs/docs.js").registerClientFile;
|
||||
export type PageAttrs= {
|
||||
pkg: Pkg,
|
||||
info: Info,
|
||||
pages: Pages,
|
||||
path_target: PathTarget,
|
||||
registerClientFile: registerClientFile
|
||||
}
|
||||
|
||||
import type { CustomHTMLTestElement } from "../examples/components/webComponent.js";
|
||||
declare global{
|
||||
interface ddePublicElementTagNameMap{
|
||||
["custom-test"]: CustomHTMLTestElement;
|
||||
}
|
||||
function test(): ddeHTMLParagraphElement
|
||||
}
|
Reference in New Issue
Block a user