Do you mean /*@externs*/ or @externs (which is currently not valid code)? On Dec 13, 2016, at 6:19 PM, Alex Harui <[email protected]> wrote:
> > > On 12/13/16, 12:48 AM, "Harbs" <[email protected]> wrote: > >> What I’d really like to do would be to define a class like this: >> >> package >> { >> import stream.Stream; >> >> [Extern] >> public class JSZip >> { >> public function generateNodeStream(nsp:NodeStreamParam):Stream{ >> return null; >> } >> } >> >> } >> And the compiler would know to generate externs from this class and it >> should “just work”. >> >> This would make it MUCH easier to create swc libraries of externs as well. > > File a JIRA. Although I would much rather use @externs instead [Externs] > > -Alex >
