export-table-pulgin-csharp 1.1.86 → 1.1.87
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ExportCSPlugin.js +1 -1
- package/package.json +1 -1
- package/src/ExportCSPlugin.ts +1 -1
package/dist/ExportCSPlugin.js
CHANGED
|
@@ -302,7 +302,7 @@ ${(0, export_table_lib_1.iff)(f.rawType.startsWith("@"), () => `
|
|
|
302
302
|
/// <summary>
|
|
303
303
|
${(0, export_table_lib_1.foreach)(getDescripts(f), line => ` /// ${line}`)}
|
|
304
304
|
/// </summary>
|
|
305
|
-
public ${f.rawType.replaceAll(/(?<=[^\w])(number)(?=[^\w]|$)/g, "double").replaceAll(/(?<=[^\w])(boolean)(?=[^\w]|$)/g, "bool")} ${convMemberName(f.name)}Obj;`)}`)}
|
|
305
|
+
public ${f.rawType.substring(1).replaceAll(/(?<=[^\w])(number)(?=[^\w]|$)/g, "double").replaceAll(/(?<=[^\w])(boolean)(?=[^\w]|$)/g, "bool")} ${convMemberName(f.name)}Obj;`)}`)}
|
|
306
306
|
|
|
307
307
|
${(0, export_table_lib_1.cmm)( /**生成get字段 */)}
|
|
308
308
|
#region get字段
|
package/package.json
CHANGED
package/src/ExportCSPlugin.ts
CHANGED
|
@@ -262,7 +262,7 @@ ${foreach(getDescripts(f), line =>
|
|
|
262
262
|
` /// ${line}`
|
|
263
263
|
)}
|
|
264
264
|
/// </summary>
|
|
265
|
-
public ${f.rawType.replaceAll(/(?<=[^\w])(number)(?=[^\w]|$)/g, "double").replaceAll(/(?<=[^\w])(boolean)(?=[^\w]|$)/g, "bool")} ${convMemberName(f.name)}Obj;`)}`
|
|
265
|
+
public ${f.rawType.substring(1).replaceAll(/(?<=[^\w])(number)(?=[^\w]|$)/g, "double").replaceAll(/(?<=[^\w])(boolean)(?=[^\w]|$)/g, "bool")} ${convMemberName(f.name)}Obj;`)}`
|
|
266
266
|
)}
|
|
267
267
|
|
|
268
268
|
${cmm(/**生成get字段 */)}
|