@noSelfInFile configuration option is ignored for Function
After upgrading typescript-to-lua to never version I noticed that my code broke. I investigated and found out that @noSelfInFile directive is ignored for Function type. I am now unable to use Function type and have to write (...args: any[]) => any explicitly everywhere where I used to write Function. Please see this reproduction example in Playground:
https://typescripttolua.github.io/play/#code/PQKhAIAEDsHsGUCmAbAZgSWgMQJbMeGMAFDEDGs0AzgC7ioCu0ZAQgJ4BqAhsg4gFzgASogoAnACYAeWmJzQA5gBpwWJmRo5KAPnABecAG9i4U+ABEACxTJY5wQAoAlPt0BGJcQC+AblIVqOkZmfXp1dm5eRABtKxs7AF0-YLIHNyd-Slow5giePgAmQRFxaVl5ZXAHADparjEFKkEuaDZohJc9XRa2XQNjMwtrZFt7Ks73Ty9MwJyyAtCUvKiC2OHRpOIUgrSMoA
@noSelfInFileconfiguration option is ignored for FunctionAfter upgrading typescript-to-lua to never version I noticed that my code broke. I investigated and found out that @noSelfInFile directive is ignored for Function type. I am now unable to use Function type and have to write
(...args: any[]) => anyexplicitly everywhere where I used to writeFunction. Please see this reproduction example in Playground:https://typescripttolua.github.io/play/#code/PQKhAIAEDsHsGUCmAbAZgSWgMQJbMeGMAFDEDGs0AzgC7ioCu0ZAQgJ4BqAhsg4gFzgASogoAnACYAeWmJzQA5gBpwWJmRo5KAPnABecAG9i4U+ABEACxTJY5wQAoAlPt0BGJcQC+AblIVqOkZmfXp1dm5eRABtKxs7AF0-YLIHNyd-Slow5giePgAmQRFxaVl5ZXAHADparjEFKkEuaDZohJc9XRa2XQNjMwtrZFt7Ks73Ty9MwJyyAtCUvKiC2OHRpOIUgrSMoA