Stefan Chrobak
Member since Oct 19, 2017
- Profile: /members/13643-stefan-chrobak.htm
- Comments: 1
Recent Blog Comments By Stefan Chrobak
-
Thinking About Static vs. Private Methods In TypeScript / Angular 2
Posted on Oct 19, 2017 at 5:07 AM
Hello, is there a way to create a Class with private and public functions in Typescript? When i do things like this: class Hello { public sayPubHello () {alert(' a public call')} private sayPrivHello () {alert(' a private call')} } var HelloApp = new Hello(); HelloApp.sayPubHello(); ... read more »