no need for private prop here
This commit is contained in:
parent
ce976226f9
commit
645470cd03
1 changed files with 2 additions and 10 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue