Check out example codes for "typescript inner class". It will help you in understanding the concepts better.

Code Example 1

class Foo {
    static Bar = class {

    }
}

// works!
var foo = new Foo();
var bar = new Foo.Bar();

Learn ReactJs, React Native from akashmittal.com