no need for private prop here

This commit is contained in:
Bruno Windels 2021-05-17 12:45:55 +02:00
parent ce976226f9
commit 645470cd03

View file

@ -54,16 +54,8 @@ class TextPart {
class MessageBody {
constructor(sourceString, parts) {
this._sourceString = sourceString;
this._parts = parts;
}
get sourceString() {
return this._sourceString;
}
get parts() {
return this._parts;
this.sourceString = sourceString;
this.parts = parts;
}
}