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, | 		indexToDisable, | ||||||
| 		activeStep, | 		activeStep, | ||||||
| 		disabled) => { | 		disabled) => { | ||||||
| 		let current: any = null; | 		let current: ReturnType<typeof useSteps> = null; | ||||||
| 
 | 
 | ||||||
| 		beforeEach(() => { | 		beforeEach(() => { | ||||||
| 			const { result } = renderHook(() => useSteps({ steps, ...stepActions }, | 			const { result } = renderHook(() => useSteps({ steps, ...stepActions }, | ||||||
|  | @ -316,7 +316,7 @@ describe('.enable', () => { | ||||||
| 		indexToEnable, | 		indexToEnable, | ||||||
| 		activeStep, | 		activeStep, | ||||||
| 		disabled) => { | 		disabled) => { | ||||||
| 		let current: any = null; | 		let current: ReturnType<typeof useSteps> = null; | ||||||
| 
 | 
 | ||||||
| 		beforeEach(() => { | 		beforeEach(() => { | ||||||
| 			const { result } = renderHook(() => useSteps({ steps, ...stepActions }, | 			const { result } = renderHook(() => useSteps({ steps, ...stepActions }, | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Eric Schultz
						Eric Schultz