Add a util for generating a stub doc for a new type
document Promise