Skip to content

Commit 4a2bec8

Browse files
committed
Fix type errors
1 parent 1f956ee commit 4a2bec8

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

src/app/(development)/workroom/page.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export default function WorkroomPage() {
1616
"Denis is a software architect at The Guild. He is a passionate about GraphQL and the GraphQL ecosystem.",
1717
role: "speaker",
1818
socialurls: [],
19+
"~years": [2025],
1920
}
2021

2122
const saihaj: SchedSpeaker = {
@@ -28,6 +29,7 @@ export default function WorkroomPage() {
2829
"I'm an engineer focused on building developer tools, infrastructure, and application solutions, while experimenting with practical AI applications. Always accelerating efficiently.",
2930
role: "speaker",
3031
socialurls: [],
32+
"~years": [2025],
3133
}
3234

3335
return (

src/app/conf/_api/sched-data.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { SchedSpeaker } from "./sched-types"
1+
import { ConferenceYear, SchedSpeaker } from "./sched-types"
22

33
const allSpeakers: SchedSpeaker[] = require("../../../../scripts/sync-sched/speakers.json")
44

5-
export async function readSpeakers(year: "2025" | "2024" | "2023") {
5+
export async function readSpeakers(year: ConferenceYear) {
66
return allSpeakers.filter(speaker => speaker["~years"].includes(year))
77
}

tsconfig.tsbuildinfo

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)