hydroper commented on issue #207: URL: https://github.com/apache/royale-compiler/issues/207#issuecomment-1819337035
ES4 suggested `function(...): T` as a type expression; TypeScript brought a fat arrow `(...) => T` instead. I guess we should stick to the TypeScript form maybe? ES4 was fine too, but I am confused as to what is best. I have supported `() => T` in my parser also, but previously I have gone into `function(...): T`. ```as3 type F0 = () => void; type F1 = (...a: Array) => void; ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@royale.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org