diff --git a/dto/wordresponse.dto.ts b/dto/wordresponse.dto.ts index 27bd5f1..de51748 100644 --- a/dto/wordresponse.dto.ts +++ b/dto/wordresponse.dto.ts @@ -14,6 +14,8 @@ export class WordResponseDTO { enabled: boolean; + loading?: boolean = false + toJSON() { return { ...this } // here I make a POJO's copy of the class instance }