Open nadako opened 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.
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.