type Bug = "feature";
interface Developer {
mass_produces: Bug;
mass_produces: number;
mass_produces: () => "it compiles, ship it";
}
const mass_produces = (mass_produces: Date): string => {
if (mass_produces < new Date()) {
return "it's a feature, not a bug";
}
return "works on my machine";
};