exporting a class

Alex Russell slightlyoff at google.com
Wed Sep 26 03:45:40 PDT 2012


On Sep 26, 2012 11:10 AM, "Brandon Benvie" <brandon at brandonbenvie.com>
wrote:
>
> Is it correct that there's no way to export a class declaration? The best
I can see is something like
> module Geometry {
>    export let Point = class Point { .. }

Just use:
   export class Point { .. }

> }
>
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120926/f976ca9c/attachment.html>


More information about the es-discuss mailing list