Extract return type of a function.
ReturnType<typeof create>
const create = () => ({ id: 1 }); type Created = any; // TODO