mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 10:56:10 +01:00 
			
		
		
		
	Enable Typescript noImplicitAny (#33322)
				
					
				
			Enable `noImplicitAny` and fix all issues. --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
		| @@ -54,7 +54,7 @@ export type DayDataObject = { | ||||
| } | ||||
|  | ||||
| export function fillEmptyStartDaysWithZeroes(startDays: number[], data: DayDataObject): DayData[] { | ||||
|   const result = {}; | ||||
|   const result: Record<string, any> = {}; | ||||
|  | ||||
|   for (const startDay of startDays) { | ||||
|     result[startDay] = data[startDay] || {'week': startDay, 'additions': 0, 'deletions': 0, 'commits': 0}; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user