UNPKG

agora-classroom-sdk

Version:

For publishing npm package agora-classroom-sdk (Web & Electron). Get more information from https://docs.agora.io

9 lines (8 loc) 526 B
export declare type OnChangeEvents<Type> = { [Property in keyof Type as `onChange${Capitalize<string & Property>}`]: (newValue: Type[Property]) => void; }; export declare type HomeModule<CustomizeVanillaType> = OnChangeEvents<CustomizeVanillaType> & CustomizeVanillaType; export declare type IncludeUIKitSetter<Type> = { [Property in keyof Type as `set${Capitalize<string & Property>}`]: (newValue: Type[Property]) => void; }; export declare type UIKitModule<EntityType> = IncludeUIKitSetter<EntityType> & EntityType;