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.
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "export-table-pulgin-csharp",
3
- "version": "1.1.86",
3
+ "version": "1.1.87",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {
@@ -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字段 */)}