move some files around to confuse everyone
This commit is contained in:
parent
710f7be68c
commit
30fa1aaca1
46 changed files with 45 additions and 45 deletions
12
src/App/Plant/Plant.ts
Normal file
12
src/App/Plant/Plant.ts
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import { EventTrigger } from "@/statecharts/label_ast";
|
||||
import { RaisedEvent } from "@/statecharts/runtime_types";
|
||||
import { ReactElement } from "react";
|
||||
|
||||
export type Plant<StateType> = {
|
||||
inputEvents: EventTrigger[];
|
||||
outputEvents: EventTrigger[];
|
||||
|
||||
initial: StateType;
|
||||
reduce: (inputEvent: RaisedEvent, state: StateType) => StateType;
|
||||
render: (state: StateType, raise: (event: RaisedEvent) => void, timescale: number) => ReactElement;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue