Fixed visibility of internal _posts member

The _posts member is supposed to be an iternal property to store the data used
by the `posts` getter/setter
This commit is contained in:
Fabien "egg" O'Carroll 2023-06-28 22:35:43 +01:00 committed by Fabien 'egg' O'Carroll
parent 633cecdf75
commit 0cfa236570

View File

@ -32,7 +32,7 @@ export class Collection {
deletable: boolean;
_deleted: boolean = false;
_posts: string[];
private _posts: string[];
get posts() {
return this._posts;
}