From bd7b68d71a06f5bbd9f3b6722e4e2fde11feea67 Mon Sep 17 00:00:00 2001 From: superzheng Date: Tue, 26 Mar 2019 18:28:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9A=E5=9C=A8=20InvokePr?= =?UTF-8?q?operty=20=E6=97=B6=E7=BC=BA=E5=B0=91=20Rpc=20=E5=89=8D=E7=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/gen_proxy_ts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gen_proxy_ts.cpp b/src/gen_proxy_ts.cpp index 049de9a..ce14bdf 100644 --- a/src/gen_proxy_ts.cpp +++ b/src/gen_proxy_ts.cpp @@ -330,7 +330,7 @@ string CodeGenerator::generateTSProxy(const NamespacePtr &nPtr, const InterfaceP str << TAB << "})" << endl << endl; // end of metadata // generate function body - str << TAB << oPtr->getId() << "(" << sParamsWithType << (sParamsWithType.empty() ? "" : ", ") << "options?: " << IDL_NAMESPACE_STR << ".InvokeProperty) {" << endl; + str << TAB << oPtr->getId() << "(" << sParamsWithType << (sParamsWithType.empty() ? "" : ", ") << "options?: " << IDL_NAMESPACE_STR << "Rpc.InvokeProperty) {" << endl; INC_TAB; string sFuncFullName = pPtr->getId() + "Proxy." + oPtr->getId();