Skip to content

Commit

Permalink
fix(element): build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
alimd committed Mar 17, 2023
1 parent 3bf753b commit 224799c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions ui/element/src/reactive-controllers/finite-state-machine.ts
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@
import {FiniteStateMachine, type FsmConfig} from '@alwatr/fsm';
import {eventListener, ListenerSpec} from '@alwatr/signal';

import {nothing, type ReactiveController} from '../lit.js';

import type {LoggerMixinInterface} from '../mixins/logging.js';
import type {ListenerFunction} from '@alwatr/signal/type.js';
import type {Stringifyable, StringifyableRecord} from '@alwatr/type';
import type {StringifyableRecord} from '@alwatr/type';

export class FiniteStateMachineController<
TState extends string,
TEventId extends string,
TContext extends StringifyableRecord
> extends FiniteStateMachine<TState, TEventId, TContext> implements ReactiveController {
// FIXME: Choose a proper name

constructor(
private _host: LoggerMixinInterface,
config: Readonly<FsmConfig<TState, TEventId, TContext>>,
Expand Down

0 comments on commit 224799c

Please sign in to comment.