[ts.__init__] declare TS class members before init