mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 04:58:13 +00:00
![]() Because we can have arbitrary in- and export names with strings we can have '*' and '' which means using '*' as an indicating namespace imports failed / behaved incorrectly for string imports '*'. We now use more specific types to indicate these special states instead of these 'magic' string values. Do note that 'default' is not actually a magic string value but one specified by the spec. And you can in fact export the default value by doing: `export { 1 as default }`. |
||
---|---|---|
.. | ||
basic-export-types.mjs | ||
basic-modules.js | ||
declarations-tests.mjs | ||
default-and-star-export-indirect.mjs | ||
default-and-star-export.mjs | ||
empty.mjs | ||
indirect-export-without-default.mjs | ||
loop-a.mjs | ||
loop-b.mjs | ||
loop-entry.mjs | ||
loop-self.mjs | ||
module-with-default.mjs | ||
single-const-export.mjs | ||
string-import-names.mjs | ||
string-import-namespace-indirect.mjs | ||
string-import-namespace.mjs |