mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	Fix some typescript issues (#32586)
Fixes around 30 or so typescript errors. No runtime changes.
This commit is contained in:
		| @@ -8,13 +8,13 @@ export function initFomanticTransition() { | ||||
|     'set duration', 'save conditions', 'restore conditions', | ||||
|   ]); | ||||
|   // stand-in for removed transition module | ||||
|   $.fn.transition = function (arg0, arg1, arg2) { | ||||
|   $.fn.transition = function (arg0: any, arg1: any, arg2: any) { | ||||
|     if (arg0 === 'is supported') return true; | ||||
|     if (arg0 === 'is animating') return false; | ||||
|     if (arg0 === 'is inward') return false; | ||||
|     if (arg0 === 'is outward') return false; | ||||
|  | ||||
|     let argObj; | ||||
|     let argObj: Record<string, any>; | ||||
|     if (typeof arg0 === 'string') { | ||||
|       // many behaviors are no-op now. https://fomantic-ui.com/modules/transition.html#/usage | ||||
|       if (transitionNopBehaviors.has(arg0)) return this; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user