mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-03 20:36:07 +01:00 
			
		
		
		
	Fix a number of typescript errors (#32773)
Fixes 96 typescript errors. Behaviour changes are commented below. --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
		
							
								
								
									
										2
									
								
								web_src/js/globals.d.ts
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								web_src/js/globals.d.ts
									
									
									
									
										vendored
									
									
								
							@@ -33,6 +33,7 @@ interface JQuery {
 | 
			
		||||
  modal: any; // fomantic
 | 
			
		||||
  tab: any; // fomantic
 | 
			
		||||
  transition: any, // fomantic
 | 
			
		||||
  search: any, // fomantic
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
interface JQueryStatic {
 | 
			
		||||
@@ -62,4 +63,5 @@ interface Window {
 | 
			
		||||
  turnstile: any,
 | 
			
		||||
  hcaptcha: any,
 | 
			
		||||
  codeEditors: any[],
 | 
			
		||||
  updateCloneStates: () => void,
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user