web/changelogs: make date
attribute required
This commit is contained in:
parent
ebaa209c47
commit
534af330ce
2 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
|||
|
||||
export let version: string;
|
||||
export let title: string;
|
||||
export let date: string | undefined;
|
||||
export let date: string;
|
||||
export let banner: { file: string; alt: string } | undefined;
|
||||
|
||||
let bannerLoaded = false;
|
||||
|
|
|
@ -2,7 +2,7 @@ import type { SvelteComponent } from "svelte"
|
|||
|
||||
export interface ChangelogMetadata {
|
||||
title: string,
|
||||
date?: string
|
||||
date: string
|
||||
banner?: {
|
||||
file: string,
|
||||
alt: string
|
||||
|
|
Loading…
Reference in a new issue