AsyncPropertyHookFunction:
    | (
        previousHookFunction: GlobalAsyncPropertyHookFunction,
    ) => Promise<unknown>
    | (previousHookFunction: GlobalAsyncPropertyHookFunction) => void

Type of legal hook function that can be used to call beforeEach or afterEach on a IAsyncPropertyWithHooks

Since 2.2.0