This is the current documentation for jsPDF.output():

- The function doesn't return a jsPDF it returns a string
- The function clearly doesn't just return a string it opens a new window ( or at least I am guessing it does since there's the option for 'dataurlnewwindow'.
is there documentation for each of the types since clearly the functionality is not the same.