Typescript for class
Convert to real class