gale/drill.d.ts

11 lines
365 B
TypeScript

export {}
declare global {
namespace Gale
{
type Elemental<T extends string> = {[K in keyof HTMLElementTagNameMap]: Circular<T, K>}
type Circular<Keys extends string, ElementName extends keyof HTMLElementTagNameMap> = {
[K in Keys]: Circular<Keys, ElementName>&Van.TagFunc<HTMLElementTagNameMap[ElementName]>;
};
}
}