1class MyClass {
2 private mMember: Something;
3
4 // make private if possible; I can't in TS 1.8
5 constructor() {
6 }
7
8 public static CreateAsync = async () => {
9 const me = new MyClass();
10
11 me.mMember = await SomeFunctionAsync();
12
13 return me;
14 };
15}
16