Inline ES Modules

Sultan thysultan at gmail.com
Sun Jun 17 14:34:18 UTC 2018


Are there any open proposals/discussions related to creating ES modules
inline? For example:

```
import getPersonType from School

module School {
  export function getPersonType (person) {
  switch (person) {
  case 'Teacher': return 'A teacher'
  case 'Director': return 'A director'
  }
  }
}
```
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20180617/52ee44d5/attachment.html>


More information about the es-discuss mailing list