Last active
November 24, 2018 03:19
-
-
Save DublinCity/950a2a7aa1217739231f0c8619b49369 to your computer and use it in GitHub Desktop.
Typescript setting example-1
This file contains 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
// myFirstTypescript.ts | |
const str: string = "happy CODEing"; | |
class Coffee { | |
private name: string; | |
private temperature: string; | |
constructor(name: string, temperature: string) { | |
this.name = name; | |
this.temperature = temperature; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment