@naturalcycles/nodejs-lib
Version:
Standard library for Node.js
13 lines (12 loc) • 416 B
TypeScript
/// <reference types="hapi__joi" />
import * as JoiLib from '@hapi/joi';
import { ExtendedNumberSchema } from './number.extensions';
import { ExtendedStringSchema } from './string.extensions';
export interface ExtendedJoi extends JoiLib.Root {
string(): ExtendedStringSchema;
number(): ExtendedNumberSchema;
}
/**
* This is the only right place to import Joi from
*/
export declare const Joi: ExtendedJoi;