12 lines
298 B
TypeScript
12 lines
298 B
TypeScript
|
|
export {}
|
|
declare global {
|
|
namespace Gale
|
|
{
|
|
type Invoker =()=>HTMLElement
|
|
type Elemental<T extends string> = {[K in keyof HTMLElementTagNameMap]: Circular<T>}
|
|
type Circular<Keys extends string> = {
|
|
[K in Keys]: Circular<Keys>&Invoker;
|
|
};
|
|
}
|
|
} |