We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
See this REPL
// Options: --annotations --script --source-maps --types function named(a: string) { } function anonymousArg() { } anonymousArg(function(a: string) {});
named() has parameter annotations, as expected.
named()
However there is no way to get the parameter annotations for the anonymous function passed to anonymousArg
anonymousArg
Context: For angular2 test, we would like to be able to inject classes in test cases:
it('should inject classes in TC`, function(klass: InjectableClass) { // klass should be instantiated via the injector });
The text was updated successfully, but these errors were encountered:
@vicb Do you know if "Parameter annotations" are scheduled with arrow function? I have tested it yesterday and got an error.
See here link
Sorry, something went wrong.
@SerkanSipahi seems like there is no plan ti support this, check #1580
Thanks
No branches or pull requests
See this REPL
named()
has parameter annotations, as expected.However there is no way to get the parameter annotations for the anonymous function passed to
anonymousArg
Context: For angular2 test, we would like to be able to inject classes in test cases:
The text was updated successfully, but these errors were encountered: