haxiomic / dts2hx

Converts TypeScript definition files (d.ts) to haxe externs (.hx) via the TypeScript compiler API
MIT License
136 stars 9 forks source link

omit types for extern lib #39

Closed francescoagati closed 4 years ago

francescoagati commented 4 years ago

hi, is possible omit the generation of types for external lib as react. for example whe i use use a file tsx as source of types i dont need the generation of types for react

haxiomic commented 4 years ago

I can add a flag --skipDependencies to just convert the current module and assume dependencies already exist

Will let you know when that’s in

francescoagati commented 4 years ago

thanks :-)

haxiomic commented 4 years ago

Done :): update to 0.13.1 and use --skipDependencies flag

francescoagati commented 4 years ago

thanks i will try tomorrow