Last active
May 16, 2020 17:18
-
-
Save dsebastien/47f4caf69371aebbb9e42115dfe1cb10 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
class Test { | |
x; | |
constructor(b: boolean ) { | |
if(b) { | |
this.x = 'hello' | |
} else { | |
this.x = 42; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment