kafka-producer-nestjs/src/dto/response/response.dto.ts

6 lines
77 B
TypeScript

export class Response<T> {
error: boolean;
message: string;
data: T;
}