Fix some types which were set to any

This commit is contained in:
Eric Schultz 2020-10-21 12:59:27 -05:00 committed by Eric Schultz
parent eec0a23eaf
commit 203a62ac51

View file

@ -277,7 +277,7 @@ describe('.disable', () => {
indexToDisable,
activeStep,
disabled) => {
let current: any = null;
let current: ReturnType<typeof useSteps> = null;
beforeEach(() => {
const { result } = renderHook(() => useSteps({ steps, ...stepActions },
@ -316,7 +316,7 @@ describe('.enable', () => {
indexToEnable,
activeStep,
disabled) => {
let current: any = null;
let current: ReturnType<typeof useSteps> = null;
beforeEach(() => {
const { result } = renderHook(() => useSteps({ steps, ...stepActions },