mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 19:06:18 +01:00 
			
		
		
		
	Enable Typescript noImplicitAny (#33322)
				
					
				
			Enable `noImplicitAny` and fix all issues. --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
		| @@ -208,7 +208,7 @@ export const SvgIcon = defineComponent({ | ||||
|     let {svgOuter, svgInnerHtml} = svgParseOuterInner(this.name); | ||||
|     // https://vuejs.org/guide/extras/render-function.html#creating-vnodes | ||||
|     // the `^` is used for attr, set SVG attributes like 'width', `aria-hidden`, `viewBox`, etc | ||||
|     const attrs = {}; | ||||
|     const attrs: Record<string, any> = {}; | ||||
|     for (const attr of svgOuter.attributes) { | ||||
|       if (attr.name === 'class') continue; | ||||
|       attrs[`^${attr.name}`] = attr.value; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user