pdf.js definitions for typescript