interface Task { name: string; precondition: () => string[] | undefined; postcondition: () => string[] | undefined; }