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 {
|
class MessageBody {
|
||||||
constructor(sourceString, parts) {
|
constructor(sourceString, parts) {
|
||||||
this._sourceString = sourceString;
|
this.sourceString = sourceString;
|
||||||
this._parts = parts;
|
this.parts = parts;
|
||||||
}
|
|
||||||
|
|
||||||
get sourceString() {
|
|
||||||
return this._sourceString;
|
|
||||||
}
|
|
||||||
|
|
||||||
get parts() {
|
|
||||||
return this._parts;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue