Skip to content

Commit

Permalink
chore: fmt + lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Sorikairox committed Oct 3, 2024
1 parent d3489e0 commit ea3efd1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion validate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 0 additions & 1 deletion validators/nested.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit ea3efd1

Please sign in to comment.