1
2
3
4
5
6
7
8
9
10
11
12
13
14
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";
};

⌘K for commands · Paste code or drop a file