Skip to content

Commit

Permalink
fix(element): state machine tender names
Browse files Browse the repository at this point in the history
  • Loading branch information
alimd committed Mar 2, 2023
1 parent b280dd5 commit c9b806a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ui/element/src/mixins/state-machine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import type {Constructor} from '@alwatr/type';
export declare class StateMachineMixinInterface<TMachine extends FiniteStateMachine> extends SignalMixinInterface {
protected stateMachine: TMachine;
protected stateUpdated(state: TMachine['state']): void;
protected render_unresolved(): unknown;
protected render_resolving(): unknown;
protected render_state_unresolved(): unknown;
protected render_state_resolving(): unknown;
}

export function StateMachineMixin<T extends Constructor<SignalMixinInterface>, TMachine extends FiniteStateMachine>(
Expand All @@ -20,10 +20,10 @@ export function StateMachineMixin<T extends Constructor<SignalMixinInterface>, T
class StateMachineMixinClass extends superClass {
protected stateMachine = stateMachine;

protected render_unresolved(): unknown {
protected render_state_unresolved(): unknown {
return nothing;
}
protected render_resolving(): unknown {
protected render_state_resolving(): unknown {
return nothing;
}

Expand Down

0 comments on commit c9b806a

Please sign in to comment.