You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// TODO: Verify typing. I'm not sure if this "|" is the right way to do this. It makes the errors go away, but I'm unconvinced it correctly defines the type.
type WordFeaturesObject = {
module_id: number;
parallel_id: number;
} | {
[feature: string]: string;
};
type ValidatedModuleData = [
WordFeatures | null,
ModuleDataError,
];
type VerseText = {
parallel_id: number;
versification_schema_id: number;
module_id: number;
rid: number;
text: string;
};
type VersificationSchema = "kjv" | "bhs" | "lxx" | "gnt";