import {func1,func2} as namespace_group from 'some-module'

import {func1,func2} as namespace_group from 'some-module'

when i use it ,like this.

namespace_group.func1()
namespace_group.func2()

See here for some prior discussion: Additional features to `import * as Object from 'module'`

cool!
I didn't think anyone had thought of that!

1 Like