Last active
May 31, 2018 18:28
-
-
Save Falieson/61620a06a682f7d6a678139b42711d50 to your computer and use it in GitHub Desktop.
S2. F03. import HelloWorld and use it (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 | |
| * ./src/index.ts (Section 2. Figure 03.) | |
| **/ | |
| import {default as HelloWorld} from './HelloWorld' | |
| const FirstPart: string = "Hi" | |
| const LastPart: string = "Earth" | |
| console.log(HelloWorld(FirstPart, LastPart)) | |
| export default HelloWorld |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment