Moved module declaration for linting
This commit is contained in:
		
							
								
								
									
										9
									
								
								global.d.ts
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								global.d.ts
									
									
									
									
										vendored
									
									
								
							| @@ -1,9 +0,0 @@ | |||||||
| declare module '*.jpg?width=600&webp' { |  | ||||||
| 	const out: string; |  | ||||||
| 	export default out; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| declare module '*.png?width=600&webp' { |  | ||||||
| 	const out: string; |  | ||||||
| 	export default out; |  | ||||||
| } |  | ||||||
							
								
								
									
										9
									
								
								src/app.d.ts
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								src/app.d.ts
									
									
									
									
										vendored
									
									
								
							| @@ -6,6 +6,15 @@ declare global { | |||||||
| 		// interface Locals {} | 		// interface Locals {} | ||||||
| 		// interface PageData {} | 		// interface PageData {} | ||||||
| 		// interface Platform {} | 		// interface Platform {} | ||||||
|  | 		declare module '*.jpg?width=600&webp' { | ||||||
|  | 			const out: string; | ||||||
|  | 			export default out; | ||||||
|  | 		} | ||||||
|  |  | ||||||
|  | 		declare module '*.png?width=600&webp' { | ||||||
|  | 			const out: string; | ||||||
|  | 			export default out; | ||||||
|  | 		} | ||||||
| 	} | 	} | ||||||
| } | } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user