Skip to content
This repository was archived by the owner on Dec 12, 2021. It is now read-only.
This repository was archived by the owner on Dec 12, 2021. It is now read-only.

typescript bindings broken for 'noImplicitAny' mode #168

@jefbarn

Description

@jefbarn

Error:(3, 9) TS7006: Parameter 'attributes' implicitly has an 'any' type.
Error:(3, 21) TS7006: Parameter 'constraints' implicitly has an 'any' type.

should be

export declare interface ValidateJS {
  (attributes: any, constraints: any, options?: any): any;
  async(attributes: any, constraints: any, options?: any): Promise<any>;
  single(value: any, constraints: any, options?: any): any;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions