We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
export type OnEnter = (success: boolean) => void; export interface OnLeave { (success: boolean): void }
How should we reasonably add the type declaration of the above function type 'OnEnter' and 'OnLeave' ?
I tried as follows: