@athenna/validator
Version:
The Athenna validation solution. Built on top of VineJS.
15 lines (14 loc) • 446 B
TypeScript
/**
* @athenna/validator
*
* (c) João Lenon <lenon@athenna.io>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
import 'reflect-metadata';
import type { ValidatorOptions } from '#src/types/validators/ValidatorOptions';
/**
* Create a validator inside the service provider.
*/
export declare function Validator(options?: ValidatorOptions): ClassDecorator;