New issue
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
dgeni fails to process function declarations #2446
Comments
I have fixed the initial error (i.e. the |
I have also added the missing symbol type to the |
@mhevery this is now fixed so you can go ahead and update the syntax. |
Should this issue be closed? |
I am happy to close this but I left it open as a reminder to @mhevery that he could go and update the code the code that had been triggering the bug to be noticed. I.E. this style of declaration: export type SetterFn = (obj: any, value: any) => void;
export type GetterFn = (obj: any) => any;
export type MethodFn = (obj: any, args: List<any>) => any; |
I think the current/new way to express this is: export interface SetterFn {
(obj: any, value: any) => void;
} is this right @yjbanov ? is this in our current version of ts2dart ? |
@alexeagle will shortly release a new version of ts2dart that will support interface-based function types. |
Chatted with @alexeagle. He'll own this one, seems straightforward to complete once ts2dart is updated. |
that file is shadowed by |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
failure
cause:
https://github.com/angular/angular/blob/master/modules/angular2/src/reflection/types.ts
The text was updated successfully, but these errors were encountered: