typia 3.7.1 → 3.7.2

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.
Files changed (53) hide show
  1. package/README.md +3 -1
  2. package/lib/module.d.ts +33 -0
  3. package/lib/module.js +5 -1
  4. package/lib/module.js.map +1 -1
  5. package/lib/programmers/LiteralsProgrammer.d.ts +5 -0
  6. package/lib/programmers/LiteralsProgrammer.js +75 -0
  7. package/lib/programmers/LiteralsProgrammer.js.map +1 -0
  8. package/lib/transformers/CallExpressionTransformer.js +2 -0
  9. package/lib/transformers/CallExpressionTransformer.js.map +1 -1
  10. package/lib/transformers/ImportTransformer.js +8 -1
  11. package/lib/transformers/ImportTransformer.js.map +1 -1
  12. package/lib/transformers/features/miscellaneous/ApplicationTransformer.js +6 -3
  13. package/lib/transformers/features/miscellaneous/ApplicationTransformer.js.map +1 -1
  14. package/lib/transformers/features/miscellaneous/CreateRandomTransformer.js +4 -2
  15. package/lib/transformers/features/miscellaneous/CreateRandomTransformer.js.map +1 -1
  16. package/lib/transformers/features/miscellaneous/LiteralsTransformer.d.ts +5 -0
  17. package/lib/transformers/features/miscellaneous/LiteralsTransformer.js +21 -0
  18. package/lib/transformers/features/miscellaneous/LiteralsTransformer.js.map +1 -0
  19. package/lib/transformers/features/miscellaneous/MetadataTransformer.js +4 -2
  20. package/lib/transformers/features/miscellaneous/MetadataTransformer.js.map +1 -1
  21. package/lib/transformers/features/miscellaneous/RandomTransformer.js +4 -2
  22. package/lib/transformers/features/miscellaneous/RandomTransformer.js.map +1 -1
  23. package/package.json +2 -2
  24. package/src/IRandomGenerator.ts +33 -33
  25. package/src/factories/IdentifierFactory.ts +81 -81
  26. package/src/factories/MetadataTagFactory.ts +302 -302
  27. package/src/metadata/ICommentTag.ts +4 -4
  28. package/src/module.ts +43 -0
  29. package/src/programmers/LiteralsProgrammer.ts +65 -0
  30. package/src/programmers/RandomProgrammer.ts +413 -413
  31. package/src/programmers/helpers/RandomJoiner.ts +161 -161
  32. package/src/programmers/helpers/RandomRanger.ts +216 -216
  33. package/src/programmers/internal/application_native.ts +32 -32
  34. package/src/programmers/internal/check_array.ts +30 -30
  35. package/src/programmers/internal/check_array_length.ts +35 -35
  36. package/src/programmers/internal/check_custom.ts +33 -33
  37. package/src/programmers/internal/check_number.ts +177 -177
  38. package/src/programmers/internal/check_object.ts +55 -55
  39. package/src/programmers/internal/check_union_array_like.ts +272 -272
  40. package/src/programmers/internal/feature_object_entries.ts +63 -63
  41. package/src/programmers/internal/get_comment_tags.ts +23 -23
  42. package/src/programmers/internal/metadata_to_pattern.ts +34 -34
  43. package/src/programmers/internal/random_custom.ts +30 -30
  44. package/src/programmers/internal/stringify_dynamic_properties.ts +168 -168
  45. package/src/programmers/internal/stringify_regular_properties.ts +84 -84
  46. package/src/transformers/CallExpressionTransformer.ts +174 -172
  47. package/src/transformers/ImportTransformer.ts +9 -3
  48. package/src/transformers/features/miscellaneous/ApplicationTransformer.ts +8 -9
  49. package/src/transformers/features/miscellaneous/CreateRandomTransformer.ts +41 -43
  50. package/src/transformers/features/miscellaneous/LiteralsTransformer.ts +30 -0
  51. package/src/transformers/features/miscellaneous/MetadataTransformer.ts +5 -6
  52. package/src/transformers/features/miscellaneous/RandomTransformer.ts +6 -8
  53. package/src/typings/Customizable.ts +5 -5
@@ -1,272 +1,272 @@
1
- import ts from "typescript";
2
-
3
- import { IdentifierFactory } from "../../factories/IdentifierFactory";
4
- import { StatementFactory } from "../../factories/StatementFactory";
5
- import { TypeFactory } from "../../factories/TypeFactory";
6
-
7
- import { IMetadataTag } from "../../metadata/IMetadataTag";
8
-
9
- import { CheckerProgrammer } from "../CheckerProgrammer";
10
- import { FeatureProgrammer } from "../FeatureProgrammer";
11
- import { UnionExplorer } from "../helpers/UnionExplorer";
12
-
13
- /**
14
- * @internal
15
- */
16
- export const check_union_array_like =
17
- <T>(accessor: check_union_array_like.IAccessor<T>) =>
18
- (props: check_union_array_like.IProps<T>) =>
19
- (
20
- input: ts.Expression,
21
- targets: T[],
22
- explore: FeatureProgrammer.IExplore,
23
- tags: IMetadataTag[],
24
- jsDocTags: ts.JSDocTagInfo[],
25
- ) => {
26
- // ONLY ONE TYPE
27
- if (targets.length === 1)
28
- return props.decoder(
29
- accessor.array(input),
30
- targets[0]!,
31
- explore,
32
- tags,
33
- jsDocTags,
34
- );
35
-
36
- //----
37
- // LIST UP VARIABLES
38
- //----
39
- // TUPLES
40
- const tupleListVariable: ts.VariableStatement =
41
- StatementFactory.constant(
42
- "tupleList",
43
- ts.factory.createArrayLiteralExpression(
44
- targets.map((meta) =>
45
- ts.factory.createArrayLiteralExpression([
46
- ts.factory.createArrowFunction(
47
- undefined,
48
- undefined,
49
- [
50
- IdentifierFactory.parameter(
51
- "top",
52
- TypeFactory.keyword("any"),
53
- ),
54
- ],
55
- undefined,
56
- undefined,
57
- props.checker(
58
- ts.factory.createIdentifier("top"),
59
- meta,
60
- {
61
- ...explore,
62
- tracable: false,
63
- postfix: `"[0]"`,
64
- },
65
- tags,
66
- jsDocTags,
67
- input,
68
- ),
69
- ),
70
- ts.factory.createArrowFunction(
71
- undefined,
72
- undefined,
73
- [
74
- IdentifierFactory.parameter(
75
- "top",
76
- TypeFactory.keyword("any"),
77
- ),
78
- ],
79
- undefined,
80
- undefined,
81
- props.decoder(
82
- ts.factory.createIdentifier("top"),
83
- meta,
84
- {
85
- ...explore,
86
- tracable: true,
87
- },
88
- tags,
89
- jsDocTags,
90
- ),
91
- ),
92
- ]),
93
- ),
94
- ),
95
- );
96
-
97
- // FILTERED TUPLES
98
- const filteredVariable = StatementFactory.constant(
99
- "filtered",
100
- ts.factory.createCallExpression(
101
- ts.factory.createIdentifier("tupleList.filter"),
102
- undefined,
103
- [
104
- ts.factory.createArrowFunction(
105
- undefined,
106
- undefined,
107
- [IdentifierFactory.parameter("tuple")],
108
- undefined,
109
- undefined,
110
- ts.factory.createStrictEquality(
111
- props.success,
112
- ts.factory.createCallExpression(
113
- ts.factory.createIdentifier("tuple[0]"),
114
- undefined,
115
- [ts.factory.createIdentifier("front")],
116
- ),
117
- ),
118
- ),
119
- ],
120
- ),
121
- );
122
-
123
- //----
124
- // STATEMENTS
125
- //----
126
- // ONLY ONE TYPE
127
- const uniqueStatement = ts.factory.createIfStatement(
128
- ts.factory.createStrictEquality(
129
- ts.factory.createNumericLiteral(1),
130
- ts.factory.createIdentifier("filtered.length"),
131
- ),
132
- ts.factory.createReturnStatement(
133
- ts.factory.createCallExpression(
134
- ts.factory.createIdentifier(`filtered[0][1]`),
135
- undefined,
136
- [accessor.array(input)],
137
- ),
138
- ),
139
- );
140
-
141
- // UNION TYPE
142
- const forOfStatement = ts.factory.createForOfStatement(
143
- undefined,
144
- ts.factory.createVariableDeclarationList(
145
- [ts.factory.createVariableDeclaration("tuple")],
146
- ts.NodeFlags.Const,
147
- ),
148
- // StatementFactory.variable(ts.NodeFlags.Const, "tuple"),
149
- ts.factory.createIdentifier("filtered"),
150
- ts.factory.createIfStatement(
151
- ts.factory.createCallExpression(
152
- IdentifierFactory.join(
153
- ts.factory.createIdentifier("array"),
154
- "every",
155
- ),
156
- undefined,
157
- [
158
- ts.factory.createArrowFunction(
159
- undefined,
160
- undefined,
161
- [
162
- IdentifierFactory.parameter(
163
- "value",
164
- TypeFactory.keyword("any"),
165
- ),
166
- ],
167
- undefined,
168
- undefined,
169
- ts.factory.createStrictEquality(
170
- props.success,
171
- ts.factory.createCallExpression(
172
- ts.factory.createIdentifier("tuple[0]"),
173
- undefined,
174
- [ts.factory.createIdentifier("value")],
175
- ),
176
- ),
177
- ),
178
- ],
179
- ),
180
- ts.factory.createReturnStatement(
181
- ts.factory.createCallExpression(
182
- ts.factory.createIdentifier(`tuple[1]`),
183
- undefined,
184
- [ts.factory.createIdentifier("array")],
185
- ),
186
- ),
187
- ),
188
- );
189
- const unionStatement = ts.factory.createIfStatement(
190
- ts.factory.createLessThan(
191
- ts.factory.createNumericLiteral(1),
192
- ts.factory.createIdentifier("filtered.length"),
193
- ),
194
- forOfStatement,
195
- );
196
-
197
- const block = [
198
- // ARRAY.LENGTH := 0
199
- ...(accessor.size !== null
200
- ? [
201
- ts.factory.createIfStatement(
202
- ts.factory.createStrictEquality(
203
- ts.factory.createNumericLiteral(0),
204
- accessor.size(input),
205
- ),
206
- ts.isReturnStatement(props.empty)
207
- ? props.empty
208
- : ts.factory.createReturnStatement(props.empty),
209
- ),
210
- ]
211
- : []),
212
-
213
- // UNION PREDICATORS
214
- tupleListVariable,
215
- StatementFactory.constant("front", accessor.front(input)),
216
- filteredVariable,
217
- uniqueStatement,
218
-
219
- // CONDITIONAL STATEMENTS
220
- StatementFactory.constant("array", accessor.array(input)),
221
- unionStatement,
222
- props.failure(
223
- input,
224
- `(${targets.map((t) => accessor.name(t)).join(" | ")})`,
225
- explore,
226
- ),
227
- ];
228
-
229
- return ts.factory.createCallExpression(
230
- ts.factory.createArrowFunction(
231
- undefined,
232
- undefined,
233
- [],
234
- undefined,
235
- undefined,
236
- ts.factory.createBlock(block, true),
237
- ),
238
- undefined,
239
- undefined,
240
- );
241
- };
242
-
243
- /**
244
- * @internal
245
- */
246
- export namespace check_union_array_like {
247
- export interface IProps<T> {
248
- checker(
249
- front: ts.Expression,
250
- target: T,
251
- explore: FeatureProgrammer.IExplore,
252
- tags: IMetadataTag[],
253
- jsDocTags: ts.JSDocTagInfo[],
254
- array: ts.Expression,
255
- ): ts.Expression;
256
- decoder: UnionExplorer.Decoder<T>;
257
- empty: ts.ReturnStatement | ts.Expression;
258
- success: ts.Expression;
259
- failure(
260
- input: ts.Expression,
261
- expected: string,
262
- explore: CheckerProgrammer.IExplore,
263
- ): ts.Statement;
264
- }
265
-
266
- export interface IAccessor<T> {
267
- name(target: T): string;
268
- front(input: ts.Expression): ts.Expression;
269
- array(input: ts.Expression): ts.Expression;
270
- size: null | ((input: ts.Expression) => ts.Expression);
271
- }
272
- }
1
+ import ts from "typescript";
2
+
3
+ import { IdentifierFactory } from "../../factories/IdentifierFactory";
4
+ import { StatementFactory } from "../../factories/StatementFactory";
5
+ import { TypeFactory } from "../../factories/TypeFactory";
6
+
7
+ import { IMetadataTag } from "../../metadata/IMetadataTag";
8
+
9
+ import { CheckerProgrammer } from "../CheckerProgrammer";
10
+ import { FeatureProgrammer } from "../FeatureProgrammer";
11
+ import { UnionExplorer } from "../helpers/UnionExplorer";
12
+
13
+ /**
14
+ * @internal
15
+ */
16
+ export const check_union_array_like =
17
+ <T>(accessor: check_union_array_like.IAccessor<T>) =>
18
+ (props: check_union_array_like.IProps<T>) =>
19
+ (
20
+ input: ts.Expression,
21
+ targets: T[],
22
+ explore: FeatureProgrammer.IExplore,
23
+ tags: IMetadataTag[],
24
+ jsDocTags: ts.JSDocTagInfo[],
25
+ ) => {
26
+ // ONLY ONE TYPE
27
+ if (targets.length === 1)
28
+ return props.decoder(
29
+ accessor.array(input),
30
+ targets[0]!,
31
+ explore,
32
+ tags,
33
+ jsDocTags,
34
+ );
35
+
36
+ //----
37
+ // LIST UP VARIABLES
38
+ //----
39
+ // TUPLES
40
+ const tupleListVariable: ts.VariableStatement =
41
+ StatementFactory.constant(
42
+ "tupleList",
43
+ ts.factory.createArrayLiteralExpression(
44
+ targets.map((meta) =>
45
+ ts.factory.createArrayLiteralExpression([
46
+ ts.factory.createArrowFunction(
47
+ undefined,
48
+ undefined,
49
+ [
50
+ IdentifierFactory.parameter(
51
+ "top",
52
+ TypeFactory.keyword("any"),
53
+ ),
54
+ ],
55
+ undefined,
56
+ undefined,
57
+ props.checker(
58
+ ts.factory.createIdentifier("top"),
59
+ meta,
60
+ {
61
+ ...explore,
62
+ tracable: false,
63
+ postfix: `"[0]"`,
64
+ },
65
+ tags,
66
+ jsDocTags,
67
+ input,
68
+ ),
69
+ ),
70
+ ts.factory.createArrowFunction(
71
+ undefined,
72
+ undefined,
73
+ [
74
+ IdentifierFactory.parameter(
75
+ "top",
76
+ TypeFactory.keyword("any"),
77
+ ),
78
+ ],
79
+ undefined,
80
+ undefined,
81
+ props.decoder(
82
+ ts.factory.createIdentifier("top"),
83
+ meta,
84
+ {
85
+ ...explore,
86
+ tracable: true,
87
+ },
88
+ tags,
89
+ jsDocTags,
90
+ ),
91
+ ),
92
+ ]),
93
+ ),
94
+ ),
95
+ );
96
+
97
+ // FILTERED TUPLES
98
+ const filteredVariable = StatementFactory.constant(
99
+ "filtered",
100
+ ts.factory.createCallExpression(
101
+ ts.factory.createIdentifier("tupleList.filter"),
102
+ undefined,
103
+ [
104
+ ts.factory.createArrowFunction(
105
+ undefined,
106
+ undefined,
107
+ [IdentifierFactory.parameter("tuple")],
108
+ undefined,
109
+ undefined,
110
+ ts.factory.createStrictEquality(
111
+ props.success,
112
+ ts.factory.createCallExpression(
113
+ ts.factory.createIdentifier("tuple[0]"),
114
+ undefined,
115
+ [ts.factory.createIdentifier("front")],
116
+ ),
117
+ ),
118
+ ),
119
+ ],
120
+ ),
121
+ );
122
+
123
+ //----
124
+ // STATEMENTS
125
+ //----
126
+ // ONLY ONE TYPE
127
+ const uniqueStatement = ts.factory.createIfStatement(
128
+ ts.factory.createStrictEquality(
129
+ ts.factory.createNumericLiteral(1),
130
+ ts.factory.createIdentifier("filtered.length"),
131
+ ),
132
+ ts.factory.createReturnStatement(
133
+ ts.factory.createCallExpression(
134
+ ts.factory.createIdentifier(`filtered[0][1]`),
135
+ undefined,
136
+ [accessor.array(input)],
137
+ ),
138
+ ),
139
+ );
140
+
141
+ // UNION TYPE
142
+ const forOfStatement = ts.factory.createForOfStatement(
143
+ undefined,
144
+ ts.factory.createVariableDeclarationList(
145
+ [ts.factory.createVariableDeclaration("tuple")],
146
+ ts.NodeFlags.Const,
147
+ ),
148
+ // StatementFactory.variable(ts.NodeFlags.Const, "tuple"),
149
+ ts.factory.createIdentifier("filtered"),
150
+ ts.factory.createIfStatement(
151
+ ts.factory.createCallExpression(
152
+ IdentifierFactory.join(
153
+ ts.factory.createIdentifier("array"),
154
+ "every",
155
+ ),
156
+ undefined,
157
+ [
158
+ ts.factory.createArrowFunction(
159
+ undefined,
160
+ undefined,
161
+ [
162
+ IdentifierFactory.parameter(
163
+ "value",
164
+ TypeFactory.keyword("any"),
165
+ ),
166
+ ],
167
+ undefined,
168
+ undefined,
169
+ ts.factory.createStrictEquality(
170
+ props.success,
171
+ ts.factory.createCallExpression(
172
+ ts.factory.createIdentifier("tuple[0]"),
173
+ undefined,
174
+ [ts.factory.createIdentifier("value")],
175
+ ),
176
+ ),
177
+ ),
178
+ ],
179
+ ),
180
+ ts.factory.createReturnStatement(
181
+ ts.factory.createCallExpression(
182
+ ts.factory.createIdentifier(`tuple[1]`),
183
+ undefined,
184
+ [ts.factory.createIdentifier("array")],
185
+ ),
186
+ ),
187
+ ),
188
+ );
189
+ const unionStatement = ts.factory.createIfStatement(
190
+ ts.factory.createLessThan(
191
+ ts.factory.createNumericLiteral(1),
192
+ ts.factory.createIdentifier("filtered.length"),
193
+ ),
194
+ forOfStatement,
195
+ );
196
+
197
+ const block = [
198
+ // ARRAY.LENGTH := 0
199
+ ...(accessor.size !== null
200
+ ? [
201
+ ts.factory.createIfStatement(
202
+ ts.factory.createStrictEquality(
203
+ ts.factory.createNumericLiteral(0),
204
+ accessor.size(input),
205
+ ),
206
+ ts.isReturnStatement(props.empty)
207
+ ? props.empty
208
+ : ts.factory.createReturnStatement(props.empty),
209
+ ),
210
+ ]
211
+ : []),
212
+
213
+ // UNION PREDICATORS
214
+ tupleListVariable,
215
+ StatementFactory.constant("front", accessor.front(input)),
216
+ filteredVariable,
217
+ uniqueStatement,
218
+
219
+ // CONDITIONAL STATEMENTS
220
+ StatementFactory.constant("array", accessor.array(input)),
221
+ unionStatement,
222
+ props.failure(
223
+ input,
224
+ `(${targets.map((t) => accessor.name(t)).join(" | ")})`,
225
+ explore,
226
+ ),
227
+ ];
228
+
229
+ return ts.factory.createCallExpression(
230
+ ts.factory.createArrowFunction(
231
+ undefined,
232
+ undefined,
233
+ [],
234
+ undefined,
235
+ undefined,
236
+ ts.factory.createBlock(block, true),
237
+ ),
238
+ undefined,
239
+ undefined,
240
+ );
241
+ };
242
+
243
+ /**
244
+ * @internal
245
+ */
246
+ export namespace check_union_array_like {
247
+ export interface IProps<T> {
248
+ checker(
249
+ front: ts.Expression,
250
+ target: T,
251
+ explore: FeatureProgrammer.IExplore,
252
+ tags: IMetadataTag[],
253
+ jsDocTags: ts.JSDocTagInfo[],
254
+ array: ts.Expression,
255
+ ): ts.Expression;
256
+ decoder: UnionExplorer.Decoder<T>;
257
+ empty: ts.ReturnStatement | ts.Expression;
258
+ success: ts.Expression;
259
+ failure(
260
+ input: ts.Expression,
261
+ expected: string,
262
+ explore: CheckerProgrammer.IExplore,
263
+ ): ts.Statement;
264
+ }
265
+
266
+ export interface IAccessor<T> {
267
+ name(target: T): string;
268
+ front(input: ts.Expression): ts.Expression;
269
+ array(input: ts.Expression): ts.Expression;
270
+ size: null | ((input: ts.Expression) => ts.Expression);
271
+ }
272
+ }
@@ -1,63 +1,63 @@
1
- import ts from "typescript";
2
-
3
- import { IdentifierFactory } from "../../factories/IdentifierFactory";
4
-
5
- import { MetadataObject } from "../../metadata/MetadataObject";
6
-
7
- import { Escaper } from "../../utils/Escaper";
8
-
9
- import { FeatureProgrammer } from "../FeatureProgrammer";
10
- import { FunctionImporter } from "../helpers/FunctionImporeter";
11
-
12
- /**
13
- * @internal
14
- */
15
- export const feature_object_entries =
16
- <Output extends ts.ConciseBody>(
17
- config: Pick<
18
- FeatureProgrammer.IConfig<Output>,
19
- "decoder" | "path" | "trace"
20
- >,
21
- ) =>
22
- (importer: FunctionImporter) =>
23
- (obj: MetadataObject) =>
24
- (input: ts.Expression) =>
25
- obj.properties.map((prop) => {
26
- const sole: string | null = prop.key.getSoleLiteral();
27
- const propInput =
28
- sole === null
29
- ? ts.factory.createIdentifier("value")
30
- : Escaper.variable(sole)
31
- ? ts.factory.createPropertyAccessExpression(
32
- input,
33
- ts.factory.createIdentifier(sole),
34
- )
35
- : ts.factory.createElementAccessExpression(
36
- input,
37
- ts.factory.createStringLiteral(sole),
38
- );
39
-
40
- return {
41
- input: propInput,
42
- key: prop.key,
43
- meta: prop.value,
44
- expression: config.decoder(
45
- propInput,
46
- prop.value,
47
- {
48
- tracable: config.path || config.trace,
49
- source: "object",
50
- from: "object",
51
- postfix:
52
- sole !== null
53
- ? IdentifierFactory.postfix(sole)
54
- : (() => {
55
- importer.use("join");
56
- return `$join(key)`;
57
- })(),
58
- },
59
- prop.tags,
60
- prop.jsDocTags,
61
- ),
62
- };
63
- });
1
+ import ts from "typescript";
2
+
3
+ import { IdentifierFactory } from "../../factories/IdentifierFactory";
4
+
5
+ import { MetadataObject } from "../../metadata/MetadataObject";
6
+
7
+ import { Escaper } from "../../utils/Escaper";
8
+
9
+ import { FeatureProgrammer } from "../FeatureProgrammer";
10
+ import { FunctionImporter } from "../helpers/FunctionImporeter";
11
+
12
+ /**
13
+ * @internal
14
+ */
15
+ export const feature_object_entries =
16
+ <Output extends ts.ConciseBody>(
17
+ config: Pick<
18
+ FeatureProgrammer.IConfig<Output>,
19
+ "decoder" | "path" | "trace"
20
+ >,
21
+ ) =>
22
+ (importer: FunctionImporter) =>
23
+ (obj: MetadataObject) =>
24
+ (input: ts.Expression) =>
25
+ obj.properties.map((prop) => {
26
+ const sole: string | null = prop.key.getSoleLiteral();
27
+ const propInput =
28
+ sole === null
29
+ ? ts.factory.createIdentifier("value")
30
+ : Escaper.variable(sole)
31
+ ? ts.factory.createPropertyAccessExpression(
32
+ input,
33
+ ts.factory.createIdentifier(sole),
34
+ )
35
+ : ts.factory.createElementAccessExpression(
36
+ input,
37
+ ts.factory.createStringLiteral(sole),
38
+ );
39
+
40
+ return {
41
+ input: propInput,
42
+ key: prop.key,
43
+ meta: prop.value,
44
+ expression: config.decoder(
45
+ propInput,
46
+ prop.value,
47
+ {
48
+ tracable: config.path || config.trace,
49
+ source: "object",
50
+ from: "object",
51
+ postfix:
52
+ sole !== null
53
+ ? IdentifierFactory.postfix(sole)
54
+ : (() => {
55
+ importer.use("join");
56
+ return `$join(key)`;
57
+ })(),
58
+ },
59
+ prop.tags,
60
+ prop.jsDocTags,
61
+ ),
62
+ };
63
+ });