As of #160, we support annotations on arrow function parameters when parentheses are used: ```typescript _.each(arr, (foo: Foo) => { … }); let foo = (a: Foo, b: Foo) => { … }; ``` We don't support the following annotations: ```typescript _.each(arr, item: TheItem => { … }); // Parameter with no parentheses let foo = (a, b): Foo => { … }; // Return value ``` Ideally, we'd match TypeScript's support and allow all of the above.
As of #160, we support annotations on arrow function parameters when parentheses are used:
We don't support the following annotations:
Ideally, we'd match TypeScript's support and allow all of the above.