Skip to content

Commit

Permalink
fix: prettier and eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
franklevasseur committed May 19, 2023
1 parent 5c7067f commit 181e971
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/nlu-engine/src/engine/index.ts
Expand Up @@ -143,7 +143,7 @@ export default class Engine implements IEngine {

const list_entities = entities.filter(isListEntity).map(
(e) =>
({
<ListEntity & { cache: EntityCacheDump }>{
name: e.name,
fuzzyTolerance: e.fuzzy,
sensitive: !!e.sensitive,
Expand All @@ -152,7 +152,7 @@ export default class Engine implements IEngine {
.mapValues((e) => e.synonyms)
.value(),
cache: [] // TODO: bring back list entitiy caching
} satisfies ListEntity & { cache: EntityCacheDump })
}
)

const pattern_entities: PatternEntity[] = entities
Expand Down

0 comments on commit 181e971

Please sign in to comment.