From ec323146aa1c1c5d27b7e908e211ee7165123220 Mon Sep 17 00:00:00 2001 From: xiange Date: Mon, 11 Mar 2024 10:15:10 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20'protected'=20instead=20of?= =?UTF-8?q?=20'private'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/chili-builder/src/appBuilder.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/chili-builder/src/appBuilder.ts b/packages/chili-builder/src/appBuilder.ts index 06da9748..7801eccd 100644 --- a/packages/chili-builder/src/appBuilder.ts +++ b/packages/chili-builder/src/appBuilder.ts @@ -7,10 +7,10 @@ import { IVisualFactory } from "chili-vis"; export class AppBuilder { private _useUI: boolean = false; - private _inits: (() => Promise)[] = []; - private _storage?: IStorage; - private _visualFactory?: IVisualFactory; - private _shapeFactory?: IShapeFactory; + protected readonly _inits: (() => Promise)[] = []; + protected _storage?: IStorage; + protected _visualFactory?: IVisualFactory; + protected _shapeFactory?: IShapeFactory; useIndexedDB() { this._inits.push(async () => {