diff --git a/lib/nodes/decorators/While.ts b/lib/nodes/decorators/While.ts index 75fed75..79579a6 100644 --- a/lib/nodes/decorators/While.ts +++ b/lib/nodes/decorators/While.ts @@ -71,6 +71,10 @@ export class While extends Decorator { } } + protected onEvent(state: S, event: E): ResultCode { + return this.handleChild(state, event); + } + get symbol(): string { return '↻'; }