Simn / ts2hx

Typescript external definitions to haxe converter
80 stars 16 forks source link

constant string argument overloading #15

Open nadako opened 9 years ago

nadako commented 9 years ago

https://github.com/Microsoft/TypeScript/blob/master/doc/spec.md#18-overloading-on-string-parameters - this could be implemented by generating a macro function that analyzes args for constant strings and types the return value apropriately.