fix: try another fix for StaticImageData
This commit is contained in:
		
							parent
							
								
									ed0c6e0588
								
							
						
					
					
						commit
						1bf1cf9c83
					
				| 
						 | 
				
			
			@ -10,17 +10,24 @@ import twitterImg from "../../public/screenshots/twitter.png";
 | 
			
		|||
import { Card } from "../web/common/Card";
 | 
			
		||||
import { Layout } from "../web/common/Layout";
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
type StaticImageData = {
 | 
			
		||||
  src: string;
 | 
			
		||||
  height: number;
 | 
			
		||||
  width: number;
 | 
			
		||||
  placeholder?: string;
 | 
			
		||||
};
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
type AnyTool = {
 | 
			
		||||
  title: string;
 | 
			
		||||
  description: string;
 | 
			
		||||
  img?: StaticImageData;
 | 
			
		||||
  img?: {
 | 
			
		||||
    src: string;
 | 
			
		||||
    height: number;
 | 
			
		||||
    width: number;
 | 
			
		||||
    placeholder?: string;
 | 
			
		||||
  };
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
type InnerTool = AnyTool & { innerLink: string };
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user