Fix linter/transpiler errors, formatting
This commit is contained in:
@@ -28,7 +28,7 @@ export default class Article {
|
||||
return tag ? tag[1] : "Untitled";
|
||||
}
|
||||
|
||||
get image(): string {
|
||||
get image(): string | undefined {
|
||||
const tag = this.event.tags.find((t) => t[0] === "image");
|
||||
return tag ? tag[1] : undefined;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user