NestJS - Pipes
What is wrong with this custom pipe implementation?
import { PipeTransform, Injectable } from '@nestjs/common';
@Injectable()
export class TrimPipe implements PipeTransform {
transform(value: any) {
value.trim();
return value;
}
}