From 0cfa236570257a426d5dee9fe5f54820acb4148a Mon Sep 17 00:00:00 2001 From: "Fabien \"egg\" O'Carroll" Date: Wed, 28 Jun 2023 22:35:43 +0100 Subject: [PATCH] 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 --- ghost/collections/src/Collection.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghost/collections/src/Collection.ts b/ghost/collections/src/Collection.ts index 7161af1869..d771caea4e 100644 --- a/ghost/collections/src/Collection.ts +++ b/ghost/collections/src/Collection.ts @@ -32,7 +32,7 @@ export class Collection { deletable: boolean; _deleted: boolean = false; - _posts: string[]; + private _posts: string[]; get posts() { return this._posts; }