UNPKG

lume

Version:

Build next-level interactive web applications.

5 lines 393 B
export type ElementWithBehaviors<BehaviorTypes, SelectedBehaviorProperties extends keyof BehaviorTypes> = WithStringValues<Partial<Pick<BehaviorTypes, SelectedBehaviorProperties>>>; export type WithStringValues<Type extends object> = { [Property in keyof Type]: Type[Property] extends string ? Type[Property] : Type[Property] | string; }; //# sourceMappingURL=ElementWithBehaviors.d.ts.map