lakutata
Version:
An IoC-based universal application framework.
11 lines (8 loc) • 360 B
TypeScript
import { C as Component } from './TypeDef.3.js';
interface BaseComponentOptions {
class: typeof Component;
[prop: string]: any;
}
type ComponentOptions<T> = T & BaseComponentOptions;
type ComponentOptionsBuilder<T> = (options: T) => ComponentOptions<T>;
export type { BaseComponentOptions as B, ComponentOptionsBuilder as C, ComponentOptions as a };