Fix some types which were set to any
This commit is contained in:
parent
eec0a23eaf
commit
203a62ac51
1 changed files with 2 additions and 2 deletions
|
@ -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 },
|
||||
|
|
Loading…
Reference in a new issue