Created
September 2, 2016 01:34
-
-
Save IEvangelist/51b34d9f4e14422099089914319b7182 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
// Simple .ctor() | |
constructor(http: Http) { } | |
// Is equivalent to... | |
http: Http; // When the access modifier is omitted it's defaulted to public | |
constructor(http: Http) { | |
this.http = http; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment