Add Typescript class example.