duaneleem
6/20/2017 - 2:08 PM

Typescript Class Example

Typescript Class Example

export class Example {
    private strVariable: string;
    
    constructor() {
      // Something to do during init.
    }
    
    mtdNothing = (): string => {
      return "I'm returning nothing.";
    } // mtdNothing()
} // Example