Created
March 24, 2017 08:58
-
-
Save FrankFang/46fd60cc355f46d27d364b1f4170b95b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export imports | |
import d, {obj} from '...'; | |
export {obj, d}; | |
export {obj as name1, d as name2}; | |
re-export all named imports | |
export * from '...'; | |
export * as name1 from '...'; | |
re-export some named imports | |
export {a, b as name1} from '...'; | |
re-export default import as default export | |
export {default} from '...'; | |
re-export default import as named export | |
export {default as name1} from '...'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment