[Glitch] Add TypeScript support for mastodon alias and image imports
				
					
				
			Port 7c1305b3a4 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
			
			
This commit is contained in:
		
							
								
								
									
										34
									
								
								app/javascript/flavours/glitch/types/image.d.ts
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										34
									
								
								app/javascript/flavours/glitch/types/image.d.ts
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,34 @@
 | 
			
		||||
declare module '*.avif' {
 | 
			
		||||
  const path: string;
 | 
			
		||||
  export default path;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
declare module '*.gif' {
 | 
			
		||||
  const path: string;
 | 
			
		||||
  export default path;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
declare module '*.jpg' {
 | 
			
		||||
  const path: string;
 | 
			
		||||
  export default path;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
declare module '*.jpg' {
 | 
			
		||||
  const path: string;
 | 
			
		||||
  export default path;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
declare module '*.png' {
 | 
			
		||||
  const path: string;
 | 
			
		||||
  export default path;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
declare module '*.svg' {
 | 
			
		||||
  const path: string;
 | 
			
		||||
  export default path;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
declare module '*.webp' {
 | 
			
		||||
  const path: string;
 | 
			
		||||
  export default path;
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user