src/helpers.ts
Function setPrototype
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const setPrototype = (Vue: VueConstructor): void => {
const bus = new Bus();
const prototypeMethods: IvalidatorPrototypeDefinition = {
isValid(key: string): boolean {
return bus.request("validationStatus", key);