From ea3efd1235cc1f8c0e44cbc94e64d12021b1c249 Mon Sep 17 00:00:00 2001 From: Thomas Cruveilher <38007824+Sorikairox@users.noreply.github.com> Date: Thu, 3 Oct 2024 11:17:09 +0000 Subject: [PATCH] chore: fmt + lint --- validate.ts | 1 - validators/nested.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/validate.ts b/validate.ts index 75a344c..9ae02ad 100644 --- a/validate.ts +++ b/validate.ts @@ -16,7 +16,6 @@ export const constraintKey = `$constraint`; * @param validatorFunction - The function that performs the validation. * @param validatorOption - Options to be passed to the validator function. * @returns A property decorator function. - * */ export const createDecorator = ( validatorFunction: ValidateFunction, diff --git a/validators/nested.ts b/validators/nested.ts index ba84c86..06818f1 100644 --- a/validators/nested.ts +++ b/validators/nested.ts @@ -5,7 +5,6 @@ import { Constructor } from '../types.ts'; * Validates if a property is an instance of the expected class. * * @param expectedClass - The constructor of the class that the property should be an instance of. - * */ export const Nested = (expectedClass: Constructor) => { return createDecorator(