1
0
mirror of https://github.com/jaandrle/deka-dom-el synced 2024-11-21 15:39:36 +01:00
deka-dom-el/docs_src/types.d.ts
2023-11-24 16:16:08 +01:00

30 lines
674 B
TypeScript

/** 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
}