Created
May 31, 2018 22:14
-
-
Save Falieson/442fe0fd99b89e8f89bc0bf2e5b27e59 to your computer and use it in GitHub Desktop.
S6. F02. write and execute consumer (ARTICLE: TS-Module w/ Declarations (Part 1/4))
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
/** TS-Module w/ Declarations (Part 1/4) | |
* http://TGRstack.com/#ts-module_articles_part-1 | |
* ./index.ts (Section 6. Figure 02.A.) | |
**/ | |
import Hello from '2018-ts-module' | |
console.log(Hello('Aloha', 'Jupiter')) |
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
### TS-Module w/ Declarations (Part 1/4) | |
# http://TGRstack.com/#ts-module_articles_part-1 | |
# Execute the a new consumer of our ts-module | |
### | |
falieson:./ts-module-consumer/$ tsc | |
falieson:./ts-module-consumer/$ node index | |
Hi Earth # From the ts-module/index | |
Aloha Jupiter # From the new index |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment