Namespace export multiple defaults.
jdalton opened this issue · comments
John-David Dalton commented
How is something like this handled ideally.
export * from "./abc";
export default function(){} // but * contains a "default"
// or
export let a = 3; // but * contains "a" too.
Ben Newman commented
It certainly seems like the more explicit (non-*
) export should override the *
one.
John-David Dalton commented
The easy route is to say first one in, wins.