You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tryFullStack/backend/dist/common/dto/sucees-response.dto.d.ts

8 lines
238 B

2 weeks ago
export declare class SuccessResponseDto<T = any> {
success: boolean;
message?: string;
data?: T;
static of<T>(data: T, message?: string): SuccessResponseDto<T>;
static ok(message?: string): SuccessResponseDto<null>;
}