The prebuilt files include `web/pdf_viewer.js` with some viewer APIs. Those are missing from type declarations.
console.log();
  console.log("### Getting extension build number");
  exec(
    "git log --format=oneline " + config.baseVersion + "..",
    function (err, stdout, stderr) {
      let buildNumber = 0;
      if (!err) {
        
        buildNumber = stdout ? stdout.match(/\n/g).length : 0;
      } else {