Typescript Access Static Variable And Instance