microsoft / dts-gen

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

Unexpected crash! npx dts-gen -m react-native-open-maps -d types/react-native-open-maps -o #149

Open rcbevans opened 4 years ago

rcbevans commented 4 years ago

npx dts-gen -m react-native-open-maps -d types/react-native-open-maps -o

Unexpected crash! Please log a bug with the commandline you specified. Cannot use import statement outside a module

npx dts-gen -version 0.6.0

dantasfiles commented 4 years ago

Here's how I tried to solve it. https://github.com/microsoft/dts-gen/issues/152#issuecomment-586003803 You may have more luck with your use case.