1
0
mirror of https://github.com/jaandrle/deka-dom-el synced 2024-11-23 17:19:37 +01:00
deka-dom-el/docs/types.d.ts

30 lines
674 B
TypeScript
Raw Normal View History

2023-11-07 15:10:55 +01:00
/** See `package.json` */
export type Pkg= Record<string, string>
export type Info= {
id: string,
2023-11-10 17:15:59 +01:00
href: string,
2023-11-07 15:10:55 +01:00
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;
}
2023-11-24 16:16:08 +01:00
function test(): ddeHTMLParagraphElement
}