mirror of
				https://github.com/bartvdbraak/hellob.art.git
				synced 2025-10-31 12:19:10 +00:00 
			
		
		
		
	fix: use non-optional type inference
This commit is contained in:
		
							parent
							
								
									ed3b86479c
								
							
						
					
					
						commit
						7d68c122df
					
				
					 4 changed files with 7 additions and 6 deletions
				
			
		|  | @ -1,8 +1,10 @@ | |||
| <script lang="ts"> | ||||
| 	export let title: string; | ||||
| 	export let logo: string; | ||||
| 	export let description: string; | ||||
| 	export let date: string; | ||||
| 	import type { TimelineItem } from './timeline-items'; | ||||
| 
 | ||||
| 	export let title: TimelineItem['title']; | ||||
| 	export let logo: TimelineItem['logo']; | ||||
| 	export let description: TimelineItem['description']; | ||||
| 	export let date: TimelineItem['date']; | ||||
| </script> | ||||
| 
 | ||||
| <div | ||||
|  |  | |||
|  | @ -8,7 +8,7 @@ import bijlmerweideLogo from '$lib/assets/timeline/bijlmerweide.svg'; | |||
| 
 | ||||
| export interface TimelineItem { | ||||
| 	title: string; | ||||
| 	logo?: string; | ||||
| 	logo: string; | ||||
| 	link?: string; | ||||
| 	image?: string; | ||||
| 	description: string; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue