We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b28bdb commit 54235dfCopy full SHA for 54235df
src/data/task.ts
@@ -15,7 +15,7 @@ export interface Task {
15
16
export type TaskStatus = { type: "CANCELLED" | "CUSTOM" | "DONE" | "OPEN"; symbol: string } | { type: "UNKNOWN" };
17
18
-export type TaskSource = UnknownTaskSource | PageTaskSource;
+export type TaskSource = PageTaskSource | { type: "UNKNOWN" };
19
20
export interface TaskDates {
21
cancelled: DateTime;
@@ -31,10 +31,6 @@ export interface TaskTimes {
31
end: DateTime;
32
}
33
34
-export interface UnknownTaskSource {
35
- type: "UNKNOWN";
36
-}
37
-
38
export interface PageTaskSource {
39
type: "PAGE";
40
path: string;
0 commit comments