microsoft / dts-gen

dts-gen creates starter TypeScript definition files for any module or library.
MIT License
2.44k stars 101 forks source link

Cannot use 'in' operator to search for 'attachEvent' in undefined #165

Open tnclark8012 opened 4 years ago

tnclark8012 commented 4 years ago
> dts-gen -m procurios.resizesensor

Unexpected crash! Please log a bug with the commandline you specified.
%AppData%\Roaming\npm\node_modules\dts-gen\bin\lib\run.js:125
        throw e;
        ^

TypeError: Cannot use 'in' operator to search for 'attachEvent' in undefined
    at %AppData%\Roaming\npm\node_modules\procurios.resizesensor\dist\resizeSensor.min.js:1:7887
    at Object.5../css (%AppData%\Roaming\npm\node_modules\procurios.resizesensor\dist\resizeSensor.min.js:1:8051)
    at r (%AppData%\Roaming\npm\node_modules\procurios.resizesensor\dist\resizeSensor.min.js:1:572)
    at e (%AppData%\Roaming\npm\node_modules\procurios.resizesensor\dist\resizeSensor.min.js:1:739)
    at %AppData%\Roaming\npm\node_modules\procurios.resizesensor\dist\resizeSensor.min.js:1:756
    at %AppData%\Roaming\npm\node_modules\procurios.resizesensor\dist\resizeSensor.min.js:1:85
    at Object.<anonymous> (%AppData%\Roaming\npm\node_modules\procurios.resizesensor\dist\resizeSensor.min.js:1:301)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)