File

src/common/dtos/abstract-check.dto.ts

Index

Properties

Constructor

constructor(exist: any)
Parameters :
Name Type Optional
exist any No

Properties

Readonly exist
Type : boolean
Decorators :
@ApiProperty()
import { ApiProperty } from '@nestjs/swagger';

export class AbstractCheckDto {
  @ApiProperty()
  readonly exist: boolean;

  constructor(exist: any) {
    this.exist = exist ? true : false;
  }
}

result-matching ""

    No results matching ""