When transitioning to union type, if the type does not match the current type of staff, you will not be able to deduce the exact type. Also, some people would prefer to save the status of React's SetStateAction, but this was not considered.
Add a SetStateAction type that takes the current context in current step of a callback and specifies the context for the next step.
When transitioning to union type, if the type does not match the current type of staff, you will not be able to deduce the exact type. Also, some people would prefer to save the status of React's SetStateAction, but this was not considered.
Add a SetStateAction type that takes the current context in current step of a callback and specifies the context for the next step.
close #28