microsoft / dts-gen

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

Crash when running dts-gen -m redux-actions #11

Open joecoolish opened 7 years ago

joecoolish commented 7 years ago

I just tried to generate a .d.ts file for redux-actions and I got the following exception:

Unexpected crash! Please log a bug with the commandline you specified.
C:\Users\ME\AppData\Roaming\npm\node_modules\dts-gen\bin\lib\run.js:107
        throw e;
              ^
TypeError: undefined is not a function
    at Object.<anonymous> (C:\Users\ME\AppData\Roaming\npm\node_modules\dts-gen\bin\lib\run.js:83:23)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Function.Module.runMain (module.js:501:10)
    at startup (node.js:129:16)
    at node.js:814:3

Is there anything I can do to fix this issue?