npm.io
0.4.32 • Published 2 years ago

@types/jjve

Licence
MIT
Version
0.4.32
Deps
1
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/jjve

Summary

This package contains type definitions for jjve (https://github.com/silas/jjve).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jjve.

index.d.ts

import jjv = require("jjv");

declare function jjve(jjv: jjv.Env): jjve.Env;
declare namespace jjve {
    interface Issue {
        code: string;
        message: string;
        data: any;
        path: string;
    }

    interface Env {
        (schema: Object, data: any, errors: jjv.Errors): Issue[];
    }
}

export = jjve;

Additional Details

  • Last updated: Tue, 07 Nov 2023 0337 GMT
  • Dependencies: @types/jjv

Credits

These definitions were written by Wim Looman.