UNPKG

@juzi/wechaty

Version:

Wechaty is a RPA SDK for Chatbot Makers.

9 lines 421 B
import type { Constructor } from 'clone-class'; declare const validationMixin: <MixinBase extends Constructor<{}, {}>>(mixinBase: MixinBase) => <T>() => { new (...args: any[]): {}; valid: (o: any) => o is T; validInstance: (target: any) => target is InstanceType<MixinBase>; validInterface: (target: any) => target is T; } & MixinBase; export { validationMixin, }; //# sourceMappingURL=validation.d.ts.map