State and StateMachine dont depend on each other via code but they do depend on each other for types this causes a cyclic dependency since they both need to require each other to get the states. I've tried to make a type module but that doesn't seem to work no matter how hard I try. Plus if use typeof it says the code is too complex to type check.
Should I just drop type checking in OOP it just doesnt seem like its worth the hassle ngl. 😭


** You are now Level 7! **
'