diff --git a/source/engine/index.ts b/source/engine/index.ts index bf89c96f9..a7f5c56b6 100644 --- a/source/engine/index.ts +++ b/source/engine/index.ts @@ -34,8 +34,8 @@ export default class Engine { parsedRules: ParsedRules defaultValues: Simulation['situation'] situation: Simulation['situation'] = {} - cache: Cache - cacheWithoutDefault: Cache + private cache: Cache + private cacheWithoutDefault: Cache constructor(rules: string | Rules | ParsedRules) { this.cache = emptyCache() @@ -156,9 +156,4 @@ export default class Engine { getParsedRules(): ParsedRules { return this.parsedRules } - - // TODO : this should be private - getCache(): Cache { - return this.cache - } }