We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
re-exporting result is not correct.
TypeScript Version:
1.8.10
Code
let foo = "bar"; foo = "baz"; export { foo }
Expected behavior:
import * as that from "./code"; // import that ts code that.foo === "baz"
Actual behavior: that.foo === "bar"
that.foo === "bar"
http://www.typescriptlang.org/play/index.html#src=let%20foo%20%3D%20%22bar%22%3B%0D%0Afoo%20%3D%20%22baz%22%3B%0D%0Aexport%20%7B%0D%0A%09foo%0D%0A%7D%0D%0A%0D%0A
*Appendix https://babeljs.io/repl/#?evaluate=true&lineWrap=false&presets=es2015%2Creact%2Cstage-2&experimental=false&loose=false&spec=false&code=let%20foo%20%3D%20%22bar%22%3B%0D%0Afoo%20%3D%20%22baz%22%3B%0D%0Aexport%20%7B%0D%0A%09foo%0D%0A%7D%0D%0A