aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/frontend/src/xtext/ValidationService.ts
diff options
context:
space:
mode:
Diffstat (limited to 'subprojects/frontend/src/xtext/ValidationService.ts')
-rw-r--r--subprojects/frontend/src/xtext/ValidationService.ts12
1 files changed, 4 insertions, 8 deletions
diff --git a/subprojects/frontend/src/xtext/ValidationService.ts b/subprojects/frontend/src/xtext/ValidationService.ts
index a0b27251..e78318f7 100644
--- a/subprojects/frontend/src/xtext/ValidationService.ts
+++ b/subprojects/frontend/src/xtext/ValidationService.ts
@@ -6,14 +6,10 @@ import type UpdateService from './UpdateService';
6import { ValidationResult } from './xtextServiceResults'; 6import { ValidationResult } from './xtextServiceResults';
7 7
8export default class ValidationService { 8export default class ValidationService {
9 private readonly store: EditorStore; 9 constructor(
10 10 private readonly store: EditorStore,
11 private readonly updateService: UpdateService; 11 private readonly updateService: UpdateService,
12 12 ) {}
13 constructor(store: EditorStore, updateService: UpdateService) {
14 this.store = store;
15 this.updateService = updateService;
16 }
17 13
18 onPush(push: unknown): void { 14 onPush(push: unknown): void {
19 const { issues } = ValidationResult.parse(push); 15 const { issues } = ValidationResult.parse(push);