@alloy-js/typescript 0.10.0 → 0.11.0

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 (200) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/src/builtins/node.js +1 -2
  3. package/dist/src/components/ArrayExpression.js +2 -5
  4. package/dist/src/components/ArrowFunction.d.ts +40 -0
  5. package/dist/src/components/ArrowFunction.d.ts.map +1 -0
  6. package/dist/src/components/ArrowFunction.js +67 -0
  7. package/dist/src/components/BarrelFile.js +1 -2
  8. package/dist/src/components/BlockScope.js +2 -4
  9. package/dist/src/components/CallSignature.js +2 -4
  10. package/dist/src/components/ClassDeclaration.js +2 -6
  11. package/dist/src/components/CommaList.js +2 -5
  12. package/dist/src/components/Declaration.js +3 -5
  13. package/dist/src/components/EnumDeclaration.js +2 -5
  14. package/dist/src/components/EnumMember.js +2 -4
  15. package/dist/src/components/ExportStatement.js +1 -2
  16. package/dist/src/components/FunctionBase.d.ts +60 -0
  17. package/dist/src/components/FunctionBase.d.ts.map +1 -0
  18. package/dist/src/components/FunctionBase.js +207 -0
  19. package/dist/src/components/FunctionCallExpression.js +2 -5
  20. package/dist/src/components/FunctionDeclaration.d.ts +3 -18
  21. package/dist/src/components/FunctionDeclaration.d.ts.map +1 -1
  22. package/dist/src/components/FunctionDeclaration.js +9 -157
  23. package/dist/src/components/FunctionExpression.d.ts +39 -0
  24. package/dist/src/components/FunctionExpression.d.ts.map +1 -0
  25. package/dist/src/components/FunctionExpression.js +66 -0
  26. package/dist/src/components/FunctionType.d.ts +39 -0
  27. package/dist/src/components/FunctionType.d.ts.map +1 -0
  28. package/dist/src/components/FunctionType.js +73 -0
  29. package/dist/src/components/IfStatement.js +2 -4
  30. package/dist/src/components/ImportStatement.js +1 -2
  31. package/dist/src/components/Interface.d.ts.map +1 -1
  32. package/dist/src/components/Interface.js +32 -11
  33. package/dist/src/components/InterfaceMethod.d.ts +43 -0
  34. package/dist/src/components/InterfaceMethod.d.ts.map +1 -0
  35. package/dist/src/components/InterfaceMethod.js +87 -0
  36. package/dist/src/components/JSDoc.js +1 -2
  37. package/dist/src/components/JSDocComment.js +2 -4
  38. package/dist/src/components/JSDocExample.js +2 -5
  39. package/dist/src/components/JSDocParam.js +2 -5
  40. package/dist/src/components/MemberChainExpression.js +2 -4
  41. package/dist/src/components/MemberDeclaration.d.ts +30 -0
  42. package/dist/src/components/MemberDeclaration.d.ts.map +1 -0
  43. package/dist/src/components/MemberDeclaration.js +29 -0
  44. package/dist/src/components/MemberExpression.js +2 -5
  45. package/dist/src/components/ObjectExpression.js +2 -5
  46. package/dist/src/components/PackageDirectory.js +2 -5
  47. package/dist/src/components/PackageJson.js +1 -2
  48. package/dist/src/components/PropertyName.js +1 -2
  49. package/dist/src/components/Reference.js +1 -2
  50. package/dist/src/components/SingleLineCommentBlock.js +2 -4
  51. package/dist/src/components/SourceFile.js +2 -4
  52. package/dist/src/components/SwitchStatement.js +2 -5
  53. package/dist/src/components/TsConfigJson.js +1 -2
  54. package/dist/src/components/TypeDeclaration.js +2 -6
  55. package/dist/src/components/ValueExpression.js +1 -2
  56. package/dist/src/components/VarDeclaration.js +2 -5
  57. package/dist/src/components/index.d.ts +6 -0
  58. package/dist/src/components/index.d.ts.map +1 -1
  59. package/dist/src/components/index.js +6 -1
  60. package/dist/src/components/stc/index.d.ts +7 -0
  61. package/dist/src/components/stc/index.d.ts.map +1 -1
  62. package/dist/src/components/stc/index.js +8 -2
  63. package/dist/src/context/private-scope.js +1 -2
  64. package/dist/src/create-package.js +1 -2
  65. package/dist/src/index.js +1 -2
  66. package/dist/src/name-conflict-resolver.js +1 -2
  67. package/dist/src/name-policy.js +1 -2
  68. package/dist/src/parameter-descriptor.d.ts +27 -17
  69. package/dist/src/parameter-descriptor.d.ts.map +1 -1
  70. package/dist/src/source-directory-data.js +1 -2
  71. package/dist/src/symbols/index.js +1 -2
  72. package/dist/src/symbols/reference.js +2 -3
  73. package/dist/src/symbols/scopes.js +1 -2
  74. package/dist/src/symbols/ts-member-scope.js +1 -2
  75. package/dist/src/symbols/ts-module-scope.js +1 -2
  76. package/dist/src/symbols/ts-output-symbol.js +1 -2
  77. package/dist/src/symbols/ts-package-scope.js +1 -2
  78. package/dist/src/utils.js +1 -2
  79. package/dist/test/array.test.js +105 -0
  80. package/dist/test/arrow-function.test.d.ts +2 -0
  81. package/dist/test/arrow-function.test.d.ts.map +1 -0
  82. package/dist/test/arrow-function.test.js +194 -0
  83. package/dist/test/barrel.test.js +53 -0
  84. package/dist/test/basic.test.js +91 -0
  85. package/dist/test/block-scope.test.js +30 -0
  86. package/dist/test/class.test.js +438 -0
  87. package/dist/test/enum-jsdoc.test.js +88 -0
  88. package/dist/test/enum.test.js +247 -0
  89. package/dist/test/externals.test.js +145 -0
  90. package/dist/test/function-call-expression.test.js +87 -0
  91. package/dist/test/function-declaration-jsdoc.test.js +91 -0
  92. package/dist/test/function-declaration.test.js +228 -0
  93. package/dist/test/function-expression.test.d.ts +2 -0
  94. package/dist/test/function-expression.test.d.ts.map +1 -0
  95. package/dist/test/function-expression.test.js +194 -0
  96. package/dist/test/function-type.test.d.ts +2 -0
  97. package/dist/test/function-type.test.d.ts.map +1 -0
  98. package/dist/test/function-type.test.js +122 -0
  99. package/dist/test/if-statement.test.js +25 -0
  100. package/dist/test/imports.test.js +434 -0
  101. package/dist/test/interface-jsdoc.test.js +178 -0
  102. package/dist/test/interface.test.d.ts.map +1 -1
  103. package/dist/test/interface.test.js +490 -0
  104. package/dist/test/jscomment.test.js +70 -0
  105. package/dist/test/jsdoc.test.js +134 -0
  106. package/dist/test/jsdocparam.test.js +164 -0
  107. package/dist/test/member-chain.test.js +141 -0
  108. package/dist/test/member-expression.test.js +359 -0
  109. package/dist/test/name-conflict.test.js +108 -0
  110. package/dist/test/name-policy.test.js +122 -0
  111. package/dist/test/package-external.test.js +196 -0
  112. package/dist/test/package-json.test.js +93 -0
  113. package/dist/test/package.test.js +136 -0
  114. package/dist/test/reference.test.js +81 -0
  115. package/dist/test/source-file.test.js +36 -0
  116. package/dist/test/switch-statement.test.js +61 -0
  117. package/dist/test/utils.js +45 -0
  118. package/dist/test/value-expression.test.js +30 -0
  119. package/dist/test/values.test.js +351 -0
  120. package/dist/test/var-declaration-jsdoc.test.js +50 -0
  121. package/dist/test/var-declaration.test.js +63 -0
  122. package/dist/test/vitest.d.js +1 -0
  123. package/dist/tsconfig.tsbuildinfo +1 -1
  124. package/package.json +12 -17
  125. package/src/components/ArrowFunction.tsx +87 -0
  126. package/src/components/Declaration.tsx +1 -1
  127. package/src/components/FunctionBase.tsx +271 -0
  128. package/src/components/FunctionDeclaration.tsx +13 -195
  129. package/src/components/FunctionExpression.tsx +86 -0
  130. package/src/components/FunctionType.tsx +88 -0
  131. package/src/components/Interface.tsx +33 -5
  132. package/src/components/InterfaceMethod.tsx +96 -0
  133. package/src/components/MemberDeclaration.tsx +70 -0
  134. package/src/components/index.ts +10 -0
  135. package/src/components/stc/index.ts +7 -0
  136. package/src/parameter-descriptor.ts +29 -18
  137. package/src/symbols/reference.ts +4 -1
  138. package/temp/api.json +2605 -680
  139. package/test/arrow-function.test.tsx +188 -0
  140. package/test/class.test.tsx +1 -2
  141. package/test/function-call-expression.test.tsx +1 -2
  142. package/test/function-declaration.test.tsx +1 -2
  143. package/test/function-expression.test.tsx +195 -0
  144. package/test/function-type.test.tsx +118 -0
  145. package/test/interface.test.tsx +256 -6
  146. package/tsdoc-metadata.json +1 -1
  147. package/babel.config.cjs +0 -4
  148. package/dist/src/builtins/index.js.map +0 -1
  149. package/dist/src/builtins/node.js.map +0 -1
  150. package/dist/src/components/ArrayExpression.js.map +0 -1
  151. package/dist/src/components/BarrelFile.js.map +0 -1
  152. package/dist/src/components/BlockScope.js.map +0 -1
  153. package/dist/src/components/CallSignature.js.map +0 -1
  154. package/dist/src/components/ClassDeclaration.js.map +0 -1
  155. package/dist/src/components/CommaList.js.map +0 -1
  156. package/dist/src/components/Declaration.js.map +0 -1
  157. package/dist/src/components/EnumDeclaration.js.map +0 -1
  158. package/dist/src/components/EnumMember.js.map +0 -1
  159. package/dist/src/components/ExportStatement.js.map +0 -1
  160. package/dist/src/components/FunctionCallExpression.js.map +0 -1
  161. package/dist/src/components/FunctionDeclaration.js.map +0 -1
  162. package/dist/src/components/IfStatement.js.map +0 -1
  163. package/dist/src/components/ImportStatement.js.map +0 -1
  164. package/dist/src/components/Interface.js.map +0 -1
  165. package/dist/src/components/JSDoc.js.map +0 -1
  166. package/dist/src/components/JSDocComment.js.map +0 -1
  167. package/dist/src/components/JSDocExample.js.map +0 -1
  168. package/dist/src/components/JSDocParam.js.map +0 -1
  169. package/dist/src/components/MemberChainExpression.js.map +0 -1
  170. package/dist/src/components/MemberExpression.js.map +0 -1
  171. package/dist/src/components/ObjectExpression.js.map +0 -1
  172. package/dist/src/components/PackageDirectory.js.map +0 -1
  173. package/dist/src/components/PackageJson.js.map +0 -1
  174. package/dist/src/components/PropertyName.js.map +0 -1
  175. package/dist/src/components/Reference.js.map +0 -1
  176. package/dist/src/components/SingleLineCommentBlock.js.map +0 -1
  177. package/dist/src/components/SourceFile.js.map +0 -1
  178. package/dist/src/components/SwitchStatement.js.map +0 -1
  179. package/dist/src/components/TsConfigJson.js.map +0 -1
  180. package/dist/src/components/TypeDeclaration.js.map +0 -1
  181. package/dist/src/components/ValueExpression.js.map +0 -1
  182. package/dist/src/components/VarDeclaration.js.map +0 -1
  183. package/dist/src/components/index.js.map +0 -1
  184. package/dist/src/components/stc/index.js.map +0 -1
  185. package/dist/src/context/index.js.map +0 -1
  186. package/dist/src/context/private-scope.js.map +0 -1
  187. package/dist/src/create-package.js.map +0 -1
  188. package/dist/src/index.js.map +0 -1
  189. package/dist/src/name-conflict-resolver.js.map +0 -1
  190. package/dist/src/name-policy.js.map +0 -1
  191. package/dist/src/parameter-descriptor.js.map +0 -1
  192. package/dist/src/source-directory-data.js.map +0 -1
  193. package/dist/src/symbols/index.js.map +0 -1
  194. package/dist/src/symbols/reference.js.map +0 -1
  195. package/dist/src/symbols/scopes.js.map +0 -1
  196. package/dist/src/symbols/ts-member-scope.js.map +0 -1
  197. package/dist/src/symbols/ts-module-scope.js.map +0 -1
  198. package/dist/src/symbols/ts-output-symbol.js.map +0 -1
  199. package/dist/src/symbols/ts-package-scope.js.map +0 -1
  200. package/dist/src/utils.js.map +0 -1
package/temp/api.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "metadata": {
3
3
  "toolPackage": "@microsoft/api-extractor",
4
- "toolVersion": "7.47.7",
4
+ "toolVersion": "7.47.12",
5
5
  "schemaVersion": 1011,
6
6
  "oldestForwardsCompatibleVersion": 1001,
7
7
  "tsdocConfig": {
@@ -294,26 +294,22 @@
294
294
  },
295
295
  {
296
296
  "kind": "Function",
297
- "canonicalReference": "@alloy-js/typescript!BarrelFile:function(1)",
298
- "docComment": "/**\n * Creates a source file which re-exports the exports in other files and nested\n * barrel files in the source directory its placed in.\n *\n * @remarks\n *\n *\n *\n * This component must be placed directly inside a {@link @alloy-js/core#SourceDirectory}\n * component. It will only discover nested barrel files directly within nested\n * source directories.\n *\n * @example\n *\n *\n *\n * Creating a barrel file which exports the two other source files in the same directory\n *\n * ```tsx\n * <Output>\n * <SourceDirectory path=\"src\">\n * <SourceFile path=\"one.ts\" />\n * <SourceFile path=\"two.ts\" />\n * <BarrelFile />\n * </SourceDirectory>\n * </Output>\n * ```\n *\n *\n * The barrel file will contain the following contents:\n *\n * ```ts\n * export * from \"./one.js\";\n * export * from \"./two.js\";\n * ```\n *\n *\n *\n * @see\n *\n * {@link @alloy-js/core#SourceDirectory}\n *\n * @see\n *\n * {@link SourceFile}\n */\n",
297
+ "canonicalReference": "@alloy-js/typescript!ArrowFunction:function(1)",
298
+ "docComment": "/**\n * A TypeScript arrow function expression.\n *\n * @remarks\n *\n *\n *\n * Providing parameters and type parameters can be accomplished in one of three\n * ways:\n *\n * 1. As an array of {@link ParameterDescriptor}s or\n * {@link TypeParameterDescriptor}s.\n * 2. As raw content via the `parametersChildren` or `typeParametersChildren`\n * props.\n * 3. As a child of this component via the\n * {@link (ArrowFunction:namespace).Parameters} or\n * {@link (ArrowFunction:namespace).TypeParameters} components.\n *\n * @example\n * ```tsx\n * <FunctionExpression async parameters={[{ name: \"a\", type: \"number\" }, { name: \"b\", type: \"number\" }]}>\n * return a + b;\n * <FunctionExpression>\n * ```\n *\n * renders to\n * ```ts\n * async (a, b) => { return a + b; }\n * ```\n *\n */\n",
299
299
  "excerptTokens": [
300
300
  {
301
301
  "kind": "Content",
302
- "text": "export declare function BarrelFile(props: "
302
+ "text": "export declare function ArrowFunction(props: "
303
303
  },
304
304
  {
305
305
  "kind": "Reference",
306
- "text": "BarrelFileProps",
307
- "canonicalReference": "@alloy-js/typescript!BarrelFileProps:interface"
306
+ "text": "ArrowFunctionProps",
307
+ "canonicalReference": "@alloy-js/typescript!ArrowFunctionProps:interface"
308
308
  },
309
309
  {
310
310
  "kind": "Content",
311
311
  "text": "): "
312
312
  },
313
- {
314
- "kind": "Content",
315
- "text": "import(\"@alloy-js/core\")."
316
- },
317
313
  {
318
314
  "kind": "Reference",
319
315
  "text": "Children",
@@ -324,10 +320,10 @@
324
320
  "text": ";"
325
321
  }
326
322
  ],
327
- "fileUrlPath": "src/components/BarrelFile.tsx",
323
+ "fileUrlPath": "src/components/ArrowFunction.tsx",
328
324
  "returnTypeTokenRange": {
329
325
  "startIndex": 3,
330
- "endIndex": 5
326
+ "endIndex": 4
331
327
  },
332
328
  "releaseTag": "Public",
333
329
  "overloadIndex": 1,
@@ -341,131 +337,285 @@
341
337
  "isOptional": false
342
338
  }
343
339
  ],
344
- "name": "BarrelFile"
340
+ "name": "ArrowFunction"
345
341
  },
346
342
  {
347
- "kind": "Interface",
348
- "canonicalReference": "@alloy-js/typescript!BarrelFileProps:interface",
343
+ "kind": "Namespace",
344
+ "canonicalReference": "@alloy-js/typescript!ArrowFunction:namespace",
349
345
  "docComment": "",
350
346
  "excerptTokens": [
351
347
  {
352
348
  "kind": "Content",
353
- "text": "export interface BarrelFileProps "
349
+ "text": "export declare namespace ArrowFunction "
354
350
  }
355
351
  ],
356
- "fileUrlPath": "src/components/BarrelFile.tsx",
352
+ "fileUrlPath": "src/components/ArrowFunction.tsx",
357
353
  "releaseTag": "Public",
358
- "name": "BarrelFileProps",
354
+ "name": "ArrowFunction",
359
355
  "preserveMemberOrder": false,
360
356
  "members": [
361
357
  {
362
- "kind": "PropertySignature",
363
- "canonicalReference": "@alloy-js/typescript!BarrelFileProps#export:member",
364
- "docComment": "/**\n * Whether the source file is exported out of the package. When true, this\n * source file with its source file relative to the project root. Otherwise,\n * it will be exported with the specified path.\n */\n",
358
+ "kind": "Variable",
359
+ "canonicalReference": "@alloy-js/typescript!ArrowFunction.Body:var",
360
+ "docComment": "",
365
361
  "excerptTokens": [
366
362
  {
367
363
  "kind": "Content",
368
- "text": "export?: "
364
+ "text": "Body: "
369
365
  },
370
366
  {
371
367
  "kind": "Content",
372
- "text": "boolean | string"
368
+ "text": "import(\"@alloy-js/core\")."
369
+ },
370
+ {
371
+ "kind": "Reference",
372
+ "text": "Component",
373
+ "canonicalReference": "@alloy-js/core!Component:interface"
373
374
  },
374
375
  {
375
376
  "kind": "Content",
376
- "text": ";"
377
+ "text": "<import(\"./FunctionBase.jsx\")."
378
+ },
379
+ {
380
+ "kind": "Reference",
381
+ "text": "FunctionBodyProps",
382
+ "canonicalReference": "@alloy-js/typescript!FunctionBodyProps:interface"
383
+ },
384
+ {
385
+ "kind": "Content",
386
+ "text": "> & "
387
+ },
388
+ {
389
+ "kind": "Reference",
390
+ "text": "Required",
391
+ "canonicalReference": "!Required:type"
392
+ },
393
+ {
394
+ "kind": "Content",
395
+ "text": "<"
396
+ },
397
+ {
398
+ "kind": "Reference",
399
+ "text": "Pick",
400
+ "canonicalReference": "!Pick:type"
401
+ },
402
+ {
403
+ "kind": "Content",
404
+ "text": "<import(\"@alloy-js/core\")."
405
+ },
406
+ {
407
+ "kind": "Reference",
408
+ "text": "Component",
409
+ "canonicalReference": "@alloy-js/core!Component:interface"
410
+ },
411
+ {
412
+ "kind": "Content",
413
+ "text": "<import(\"./FunctionBase.jsx\")."
414
+ },
415
+ {
416
+ "kind": "Reference",
417
+ "text": "FunctionBodyProps",
418
+ "canonicalReference": "@alloy-js/typescript!FunctionBodyProps:interface"
419
+ },
420
+ {
421
+ "kind": "Content",
422
+ "text": ">, \"tag\">>"
377
423
  }
378
424
  ],
379
425
  "isReadonly": false,
380
- "isOptional": true,
381
426
  "releaseTag": "Public",
382
- "name": "export",
383
- "propertyTypeTokenRange": {
427
+ "name": "Body",
428
+ "variableTypeTokenRange": {
384
429
  "startIndex": 1,
385
- "endIndex": 2
430
+ "endIndex": 14
386
431
  }
387
432
  },
388
433
  {
389
- "kind": "PropertySignature",
390
- "canonicalReference": "@alloy-js/typescript!BarrelFileProps#path:member",
391
- "docComment": "/**\n * The name of the source file\n */\n",
434
+ "kind": "Variable",
435
+ "canonicalReference": "@alloy-js/typescript!ArrowFunction.Parameters:var",
436
+ "docComment": "",
392
437
  "excerptTokens": [
393
438
  {
394
439
  "kind": "Content",
395
- "text": "path?: "
440
+ "text": "Parameters: "
396
441
  },
397
442
  {
398
443
  "kind": "Content",
399
- "text": "string"
444
+ "text": "import(\"@alloy-js/core\")."
445
+ },
446
+ {
447
+ "kind": "Reference",
448
+ "text": "Component",
449
+ "canonicalReference": "@alloy-js/core!Component:interface"
400
450
  },
401
451
  {
402
452
  "kind": "Content",
403
- "text": ";"
453
+ "text": "<import(\"./FunctionBase.jsx\")."
454
+ },
455
+ {
456
+ "kind": "Reference",
457
+ "text": "FunctionParametersProps",
458
+ "canonicalReference": "@alloy-js/typescript!FunctionParametersProps:interface"
459
+ },
460
+ {
461
+ "kind": "Content",
462
+ "text": "> & "
463
+ },
464
+ {
465
+ "kind": "Reference",
466
+ "text": "Required",
467
+ "canonicalReference": "!Required:type"
468
+ },
469
+ {
470
+ "kind": "Content",
471
+ "text": "<"
472
+ },
473
+ {
474
+ "kind": "Reference",
475
+ "text": "Pick",
476
+ "canonicalReference": "!Pick:type"
477
+ },
478
+ {
479
+ "kind": "Content",
480
+ "text": "<import(\"@alloy-js/core\")."
481
+ },
482
+ {
483
+ "kind": "Reference",
484
+ "text": "Component",
485
+ "canonicalReference": "@alloy-js/core!Component:interface"
486
+ },
487
+ {
488
+ "kind": "Content",
489
+ "text": "<import(\"./FunctionBase.jsx\")."
490
+ },
491
+ {
492
+ "kind": "Reference",
493
+ "text": "FunctionParametersProps",
494
+ "canonicalReference": "@alloy-js/typescript!FunctionParametersProps:interface"
495
+ },
496
+ {
497
+ "kind": "Content",
498
+ "text": ">, \"tag\">>"
404
499
  }
405
500
  ],
406
501
  "isReadonly": false,
407
- "isOptional": true,
408
502
  "releaseTag": "Public",
409
- "name": "path",
410
- "propertyTypeTokenRange": {
503
+ "name": "Parameters",
504
+ "variableTypeTokenRange": {
411
505
  "startIndex": 1,
412
- "endIndex": 2
506
+ "endIndex": 14
413
507
  }
414
- }
415
- ],
416
- "extendsTokenRanges": []
417
- },
418
- {
419
- "kind": "Interface",
420
- "canonicalReference": "@alloy-js/typescript!BaseDeclarationProps:interface",
421
- "docComment": "",
422
- "excerptTokens": [
423
- {
424
- "kind": "Content",
425
- "text": "export interface BaseDeclarationProps "
426
- }
427
- ],
428
- "fileUrlPath": "src/components/Declaration.tsx",
429
- "releaseTag": "Public",
430
- "name": "BaseDeclarationProps",
431
- "preserveMemberOrder": false,
432
- "members": [
508
+ },
433
509
  {
434
- "kind": "PropertySignature",
435
- "canonicalReference": "@alloy-js/typescript!BaseDeclarationProps#children:member",
510
+ "kind": "Variable",
511
+ "canonicalReference": "@alloy-js/typescript!ArrowFunction.TypeParameters:var",
436
512
  "docComment": "",
437
513
  "excerptTokens": [
438
514
  {
439
515
  "kind": "Content",
440
- "text": "children?: "
516
+ "text": "TypeParameters: "
517
+ },
518
+ {
519
+ "kind": "Content",
520
+ "text": "import(\"@alloy-js/core\")."
441
521
  },
442
522
  {
443
523
  "kind": "Reference",
444
- "text": "Children",
445
- "canonicalReference": "@alloy-js/core!Children:type"
524
+ "text": "Component",
525
+ "canonicalReference": "@alloy-js/core!Component:interface"
446
526
  },
447
527
  {
448
528
  "kind": "Content",
449
- "text": ";"
529
+ "text": "<import(\"./FunctionBase.jsx\")."
530
+ },
531
+ {
532
+ "kind": "Reference",
533
+ "text": "TypeParametersProps",
534
+ "canonicalReference": "@alloy-js/typescript!~TypeParametersProps:interface"
535
+ },
536
+ {
537
+ "kind": "Content",
538
+ "text": "> & "
539
+ },
540
+ {
541
+ "kind": "Reference",
542
+ "text": "Required",
543
+ "canonicalReference": "!Required:type"
544
+ },
545
+ {
546
+ "kind": "Content",
547
+ "text": "<"
548
+ },
549
+ {
550
+ "kind": "Reference",
551
+ "text": "Pick",
552
+ "canonicalReference": "!Pick:type"
553
+ },
554
+ {
555
+ "kind": "Content",
556
+ "text": "<import(\"@alloy-js/core\")."
557
+ },
558
+ {
559
+ "kind": "Reference",
560
+ "text": "Component",
561
+ "canonicalReference": "@alloy-js/core!Component:interface"
562
+ },
563
+ {
564
+ "kind": "Content",
565
+ "text": "<import(\"./FunctionBase.jsx\")."
566
+ },
567
+ {
568
+ "kind": "Reference",
569
+ "text": "TypeParametersProps",
570
+ "canonicalReference": "@alloy-js/typescript!~TypeParametersProps:interface"
571
+ },
572
+ {
573
+ "kind": "Content",
574
+ "text": ">, \"tag\">>"
450
575
  }
451
576
  ],
452
577
  "isReadonly": false,
453
- "isOptional": true,
454
578
  "releaseTag": "Public",
455
- "name": "children",
456
- "propertyTypeTokenRange": {
579
+ "name": "TypeParameters",
580
+ "variableTypeTokenRange": {
457
581
  "startIndex": 1,
458
- "endIndex": 2
582
+ "endIndex": 14
459
583
  }
584
+ }
585
+ ]
586
+ },
587
+ {
588
+ "kind": "Interface",
589
+ "canonicalReference": "@alloy-js/typescript!ArrowFunctionProps:interface",
590
+ "docComment": "",
591
+ "excerptTokens": [
592
+ {
593
+ "kind": "Content",
594
+ "text": "export interface ArrowFunctionProps extends "
595
+ },
596
+ {
597
+ "kind": "Reference",
598
+ "text": "CallSignatureProps",
599
+ "canonicalReference": "@alloy-js/typescript!CallSignatureProps:interface"
460
600
  },
601
+ {
602
+ "kind": "Content",
603
+ "text": " "
604
+ }
605
+ ],
606
+ "fileUrlPath": "src/components/ArrowFunction.tsx",
607
+ "releaseTag": "Public",
608
+ "name": "ArrowFunctionProps",
609
+ "preserveMemberOrder": false,
610
+ "members": [
461
611
  {
462
612
  "kind": "PropertySignature",
463
- "canonicalReference": "@alloy-js/typescript!BaseDeclarationProps#default:member",
464
- "docComment": "/**\n * Whether this is the default export of the module.\n */\n",
613
+ "canonicalReference": "@alloy-js/typescript!ArrowFunctionProps#async:member",
614
+ "docComment": "",
465
615
  "excerptTokens": [
466
616
  {
467
617
  "kind": "Content",
468
- "text": "default?: "
618
+ "text": "async?: "
469
619
  },
470
620
  {
471
621
  "kind": "Content",
@@ -479,7 +629,7 @@
479
629
  "isReadonly": false,
480
630
  "isOptional": true,
481
631
  "releaseTag": "Public",
482
- "name": "default",
632
+ "name": "async",
483
633
  "propertyTypeTokenRange": {
484
634
  "startIndex": 1,
485
635
  "endIndex": 2
@@ -487,12 +637,12 @@
487
637
  },
488
638
  {
489
639
  "kind": "PropertySignature",
490
- "canonicalReference": "@alloy-js/typescript!BaseDeclarationProps#doc:member",
491
- "docComment": "/**\n * Documentation for this declaration\n */\n",
640
+ "canonicalReference": "@alloy-js/typescript!ArrowFunctionProps#children:member",
641
+ "docComment": "",
492
642
  "excerptTokens": [
493
643
  {
494
644
  "kind": "Content",
495
- "text": "doc?: "
645
+ "text": "children?: "
496
646
  },
497
647
  {
498
648
  "kind": "Reference",
@@ -507,21 +657,250 @@
507
657
  "isReadonly": false,
508
658
  "isOptional": true,
509
659
  "releaseTag": "Public",
510
- "name": "doc",
660
+ "name": "children",
511
661
  "propertyTypeTokenRange": {
512
662
  "startIndex": 1,
513
663
  "endIndex": 2
514
664
  }
515
- },
665
+ }
666
+ ],
667
+ "extendsTokenRanges": [
516
668
  {
517
- "kind": "PropertySignature",
518
- "canonicalReference": "@alloy-js/typescript!BaseDeclarationProps#export:member",
519
- "docComment": "/**\n * Whether to export this declaration from the module.\n */\n",
520
- "excerptTokens": [
521
- {
522
- "kind": "Content",
523
- "text": "export?: "
524
- },
669
+ "startIndex": 1,
670
+ "endIndex": 2
671
+ }
672
+ ]
673
+ },
674
+ {
675
+ "kind": "Function",
676
+ "canonicalReference": "@alloy-js/typescript!BarrelFile:function(1)",
677
+ "docComment": "/**\n * Creates a source file which re-exports the exports in other files and nested\n * barrel files in the source directory its placed in.\n *\n * @remarks\n *\n *\n *\n * This component must be placed directly inside a {@link @alloy-js/core#SourceDirectory}\n * component. It will only discover nested barrel files directly within nested\n * source directories.\n *\n * @example\n *\n *\n *\n * Creating a barrel file which exports the two other source files in the same directory\n *\n * ```tsx\n * <Output>\n * <SourceDirectory path=\"src\">\n * <SourceFile path=\"one.ts\" />\n * <SourceFile path=\"two.ts\" />\n * <BarrelFile />\n * </SourceDirectory>\n * </Output>\n * ```\n *\n *\n * The barrel file will contain the following contents:\n *\n * ```ts\n * export * from \"./one.js\";\n * export * from \"./two.js\";\n * ```\n *\n *\n *\n * @see\n *\n * {@link @alloy-js/core#SourceDirectory}\n *\n * @see\n *\n * {@link SourceFile}\n */\n",
678
+ "excerptTokens": [
679
+ {
680
+ "kind": "Content",
681
+ "text": "export declare function BarrelFile(props: "
682
+ },
683
+ {
684
+ "kind": "Reference",
685
+ "text": "BarrelFileProps",
686
+ "canonicalReference": "@alloy-js/typescript!BarrelFileProps:interface"
687
+ },
688
+ {
689
+ "kind": "Content",
690
+ "text": "): "
691
+ },
692
+ {
693
+ "kind": "Content",
694
+ "text": "import(\"@alloy-js/core\")."
695
+ },
696
+ {
697
+ "kind": "Reference",
698
+ "text": "Children",
699
+ "canonicalReference": "@alloy-js/core!Children:type"
700
+ },
701
+ {
702
+ "kind": "Content",
703
+ "text": ";"
704
+ }
705
+ ],
706
+ "fileUrlPath": "src/components/BarrelFile.tsx",
707
+ "returnTypeTokenRange": {
708
+ "startIndex": 3,
709
+ "endIndex": 5
710
+ },
711
+ "releaseTag": "Public",
712
+ "overloadIndex": 1,
713
+ "parameters": [
714
+ {
715
+ "parameterName": "props",
716
+ "parameterTypeTokenRange": {
717
+ "startIndex": 1,
718
+ "endIndex": 2
719
+ },
720
+ "isOptional": false
721
+ }
722
+ ],
723
+ "name": "BarrelFile"
724
+ },
725
+ {
726
+ "kind": "Interface",
727
+ "canonicalReference": "@alloy-js/typescript!BarrelFileProps:interface",
728
+ "docComment": "",
729
+ "excerptTokens": [
730
+ {
731
+ "kind": "Content",
732
+ "text": "export interface BarrelFileProps "
733
+ }
734
+ ],
735
+ "fileUrlPath": "src/components/BarrelFile.tsx",
736
+ "releaseTag": "Public",
737
+ "name": "BarrelFileProps",
738
+ "preserveMemberOrder": false,
739
+ "members": [
740
+ {
741
+ "kind": "PropertySignature",
742
+ "canonicalReference": "@alloy-js/typescript!BarrelFileProps#export:member",
743
+ "docComment": "/**\n * Whether the source file is exported out of the package. When true, this\n * source file with its source file relative to the project root. Otherwise,\n * it will be exported with the specified path.\n */\n",
744
+ "excerptTokens": [
745
+ {
746
+ "kind": "Content",
747
+ "text": "export?: "
748
+ },
749
+ {
750
+ "kind": "Content",
751
+ "text": "boolean | string"
752
+ },
753
+ {
754
+ "kind": "Content",
755
+ "text": ";"
756
+ }
757
+ ],
758
+ "isReadonly": false,
759
+ "isOptional": true,
760
+ "releaseTag": "Public",
761
+ "name": "export",
762
+ "propertyTypeTokenRange": {
763
+ "startIndex": 1,
764
+ "endIndex": 2
765
+ }
766
+ },
767
+ {
768
+ "kind": "PropertySignature",
769
+ "canonicalReference": "@alloy-js/typescript!BarrelFileProps#path:member",
770
+ "docComment": "/**\n * The name of the source file\n */\n",
771
+ "excerptTokens": [
772
+ {
773
+ "kind": "Content",
774
+ "text": "path?: "
775
+ },
776
+ {
777
+ "kind": "Content",
778
+ "text": "string"
779
+ },
780
+ {
781
+ "kind": "Content",
782
+ "text": ";"
783
+ }
784
+ ],
785
+ "isReadonly": false,
786
+ "isOptional": true,
787
+ "releaseTag": "Public",
788
+ "name": "path",
789
+ "propertyTypeTokenRange": {
790
+ "startIndex": 1,
791
+ "endIndex": 2
792
+ }
793
+ }
794
+ ],
795
+ "extendsTokenRanges": []
796
+ },
797
+ {
798
+ "kind": "Interface",
799
+ "canonicalReference": "@alloy-js/typescript!BaseDeclarationProps:interface",
800
+ "docComment": "",
801
+ "excerptTokens": [
802
+ {
803
+ "kind": "Content",
804
+ "text": "export interface BaseDeclarationProps "
805
+ }
806
+ ],
807
+ "fileUrlPath": "src/components/Declaration.tsx",
808
+ "releaseTag": "Public",
809
+ "name": "BaseDeclarationProps",
810
+ "preserveMemberOrder": false,
811
+ "members": [
812
+ {
813
+ "kind": "PropertySignature",
814
+ "canonicalReference": "@alloy-js/typescript!BaseDeclarationProps#children:member",
815
+ "docComment": "",
816
+ "excerptTokens": [
817
+ {
818
+ "kind": "Content",
819
+ "text": "children?: "
820
+ },
821
+ {
822
+ "kind": "Reference",
823
+ "text": "Children",
824
+ "canonicalReference": "@alloy-js/core!Children:type"
825
+ },
826
+ {
827
+ "kind": "Content",
828
+ "text": ";"
829
+ }
830
+ ],
831
+ "isReadonly": false,
832
+ "isOptional": true,
833
+ "releaseTag": "Public",
834
+ "name": "children",
835
+ "propertyTypeTokenRange": {
836
+ "startIndex": 1,
837
+ "endIndex": 2
838
+ }
839
+ },
840
+ {
841
+ "kind": "PropertySignature",
842
+ "canonicalReference": "@alloy-js/typescript!BaseDeclarationProps#default:member",
843
+ "docComment": "/**\n * Whether this is the default export of the module.\n */\n",
844
+ "excerptTokens": [
845
+ {
846
+ "kind": "Content",
847
+ "text": "default?: "
848
+ },
849
+ {
850
+ "kind": "Content",
851
+ "text": "boolean"
852
+ },
853
+ {
854
+ "kind": "Content",
855
+ "text": ";"
856
+ }
857
+ ],
858
+ "isReadonly": false,
859
+ "isOptional": true,
860
+ "releaseTag": "Public",
861
+ "name": "default",
862
+ "propertyTypeTokenRange": {
863
+ "startIndex": 1,
864
+ "endIndex": 2
865
+ }
866
+ },
867
+ {
868
+ "kind": "PropertySignature",
869
+ "canonicalReference": "@alloy-js/typescript!BaseDeclarationProps#doc:member",
870
+ "docComment": "/**\n * Documentation for this declaration\n */\n",
871
+ "excerptTokens": [
872
+ {
873
+ "kind": "Content",
874
+ "text": "doc?: "
875
+ },
876
+ {
877
+ "kind": "Reference",
878
+ "text": "Children",
879
+ "canonicalReference": "@alloy-js/core!Children:type"
880
+ },
881
+ {
882
+ "kind": "Content",
883
+ "text": ";"
884
+ }
885
+ ],
886
+ "isReadonly": false,
887
+ "isOptional": true,
888
+ "releaseTag": "Public",
889
+ "name": "doc",
890
+ "propertyTypeTokenRange": {
891
+ "startIndex": 1,
892
+ "endIndex": 2
893
+ }
894
+ },
895
+ {
896
+ "kind": "PropertySignature",
897
+ "canonicalReference": "@alloy-js/typescript!BaseDeclarationProps#export:member",
898
+ "docComment": "/**\n * Whether to export this declaration from the module.\n */\n",
899
+ "excerptTokens": [
900
+ {
901
+ "kind": "Content",
902
+ "text": "export?: "
903
+ },
525
904
  {
526
905
  "kind": "Content",
527
906
  "text": "boolean"
@@ -3396,26 +3775,22 @@
3396
3775
  },
3397
3776
  {
3398
3777
  "kind": "Function",
3399
- "canonicalReference": "@alloy-js/typescript!EnumDeclaration:function(1)",
3400
- "docComment": "/**\n * A TypeScript enum declaration.\n */\n",
3778
+ "canonicalReference": "@alloy-js/typescript!ElseClause:function(1)",
3779
+ "docComment": "/**\n * The else clause of an if statement.\n */\n",
3401
3780
  "excerptTokens": [
3402
3781
  {
3403
3782
  "kind": "Content",
3404
- "text": "export declare function EnumDeclaration(props: "
3783
+ "text": "export declare function ElseClause(props: "
3405
3784
  },
3406
3785
  {
3407
3786
  "kind": "Reference",
3408
- "text": "EnumDeclarationProps",
3409
- "canonicalReference": "@alloy-js/typescript!EnumDeclarationProps:interface"
3787
+ "text": "ElseClauseProps",
3788
+ "canonicalReference": "@alloy-js/typescript!ElseClauseProps:interface"
3410
3789
  },
3411
3790
  {
3412
3791
  "kind": "Content",
3413
3792
  "text": "): "
3414
3793
  },
3415
- {
3416
- "kind": "Content",
3417
- "text": "import(\"@alloy-js/core\")."
3418
- },
3419
3794
  {
3420
3795
  "kind": "Reference",
3421
3796
  "text": "Children",
@@ -3426,10 +3801,10 @@
3426
3801
  "text": ";"
3427
3802
  }
3428
3803
  ],
3429
- "fileUrlPath": "src/components/EnumDeclaration.tsx",
3804
+ "fileUrlPath": "src/components/IfStatement.tsx",
3430
3805
  "returnTypeTokenRange": {
3431
3806
  "startIndex": 3,
3432
- "endIndex": 5
3807
+ "endIndex": 4
3433
3808
  },
3434
3809
  "releaseTag": "Public",
3435
3810
  "overloadIndex": 1,
@@ -3443,17 +3818,235 @@
3443
3818
  "isOptional": false
3444
3819
  }
3445
3820
  ],
3446
- "name": "EnumDeclaration"
3821
+ "name": "ElseClause"
3447
3822
  },
3448
3823
  {
3449
3824
  "kind": "Interface",
3450
- "canonicalReference": "@alloy-js/typescript!EnumDeclarationProps:interface",
3825
+ "canonicalReference": "@alloy-js/typescript!ElseClauseProps:interface",
3451
3826
  "docComment": "",
3452
3827
  "excerptTokens": [
3453
3828
  {
3454
3829
  "kind": "Content",
3455
- "text": "export interface EnumDeclarationProps extends "
3456
- },
3830
+ "text": "export interface ElseClauseProps "
3831
+ }
3832
+ ],
3833
+ "fileUrlPath": "src/components/IfStatement.tsx",
3834
+ "releaseTag": "Public",
3835
+ "name": "ElseClauseProps",
3836
+ "preserveMemberOrder": false,
3837
+ "members": [
3838
+ {
3839
+ "kind": "PropertySignature",
3840
+ "canonicalReference": "@alloy-js/typescript!ElseClauseProps#children:member",
3841
+ "docComment": "",
3842
+ "excerptTokens": [
3843
+ {
3844
+ "kind": "Content",
3845
+ "text": "children: "
3846
+ },
3847
+ {
3848
+ "kind": "Reference",
3849
+ "text": "Children",
3850
+ "canonicalReference": "@alloy-js/core!Children:type"
3851
+ },
3852
+ {
3853
+ "kind": "Content",
3854
+ "text": ";"
3855
+ }
3856
+ ],
3857
+ "isReadonly": false,
3858
+ "isOptional": false,
3859
+ "releaseTag": "Public",
3860
+ "name": "children",
3861
+ "propertyTypeTokenRange": {
3862
+ "startIndex": 1,
3863
+ "endIndex": 2
3864
+ }
3865
+ }
3866
+ ],
3867
+ "extendsTokenRanges": []
3868
+ },
3869
+ {
3870
+ "kind": "Function",
3871
+ "canonicalReference": "@alloy-js/typescript!ElseIfClause:function(1)",
3872
+ "docComment": "/**\n * An else clause with an if statement.\n */\n",
3873
+ "excerptTokens": [
3874
+ {
3875
+ "kind": "Content",
3876
+ "text": "export declare function ElseIfClause(props: "
3877
+ },
3878
+ {
3879
+ "kind": "Reference",
3880
+ "text": "ElseIfClauseProps",
3881
+ "canonicalReference": "@alloy-js/typescript!ElseIfClauseProps:interface"
3882
+ },
3883
+ {
3884
+ "kind": "Content",
3885
+ "text": "): "
3886
+ },
3887
+ {
3888
+ "kind": "Reference",
3889
+ "text": "Children",
3890
+ "canonicalReference": "@alloy-js/core!Children:type"
3891
+ },
3892
+ {
3893
+ "kind": "Content",
3894
+ "text": ";"
3895
+ }
3896
+ ],
3897
+ "fileUrlPath": "src/components/IfStatement.tsx",
3898
+ "returnTypeTokenRange": {
3899
+ "startIndex": 3,
3900
+ "endIndex": 4
3901
+ },
3902
+ "releaseTag": "Public",
3903
+ "overloadIndex": 1,
3904
+ "parameters": [
3905
+ {
3906
+ "parameterName": "props",
3907
+ "parameterTypeTokenRange": {
3908
+ "startIndex": 1,
3909
+ "endIndex": 2
3910
+ },
3911
+ "isOptional": false
3912
+ }
3913
+ ],
3914
+ "name": "ElseIfClause"
3915
+ },
3916
+ {
3917
+ "kind": "Interface",
3918
+ "canonicalReference": "@alloy-js/typescript!ElseIfClauseProps:interface",
3919
+ "docComment": "",
3920
+ "excerptTokens": [
3921
+ {
3922
+ "kind": "Content",
3923
+ "text": "export interface ElseIfClauseProps "
3924
+ }
3925
+ ],
3926
+ "fileUrlPath": "src/components/IfStatement.tsx",
3927
+ "releaseTag": "Public",
3928
+ "name": "ElseIfClauseProps",
3929
+ "preserveMemberOrder": false,
3930
+ "members": [
3931
+ {
3932
+ "kind": "PropertySignature",
3933
+ "canonicalReference": "@alloy-js/typescript!ElseIfClauseProps#children:member",
3934
+ "docComment": "",
3935
+ "excerptTokens": [
3936
+ {
3937
+ "kind": "Content",
3938
+ "text": "children: "
3939
+ },
3940
+ {
3941
+ "kind": "Reference",
3942
+ "text": "Children",
3943
+ "canonicalReference": "@alloy-js/core!Children:type"
3944
+ },
3945
+ {
3946
+ "kind": "Content",
3947
+ "text": ";"
3948
+ }
3949
+ ],
3950
+ "isReadonly": false,
3951
+ "isOptional": false,
3952
+ "releaseTag": "Public",
3953
+ "name": "children",
3954
+ "propertyTypeTokenRange": {
3955
+ "startIndex": 1,
3956
+ "endIndex": 2
3957
+ }
3958
+ },
3959
+ {
3960
+ "kind": "PropertySignature",
3961
+ "canonicalReference": "@alloy-js/typescript!ElseIfClauseProps#condition:member",
3962
+ "docComment": "",
3963
+ "excerptTokens": [
3964
+ {
3965
+ "kind": "Content",
3966
+ "text": "condition: "
3967
+ },
3968
+ {
3969
+ "kind": "Reference",
3970
+ "text": "Children",
3971
+ "canonicalReference": "@alloy-js/core!Children:type"
3972
+ },
3973
+ {
3974
+ "kind": "Content",
3975
+ "text": ";"
3976
+ }
3977
+ ],
3978
+ "isReadonly": false,
3979
+ "isOptional": false,
3980
+ "releaseTag": "Public",
3981
+ "name": "condition",
3982
+ "propertyTypeTokenRange": {
3983
+ "startIndex": 1,
3984
+ "endIndex": 2
3985
+ }
3986
+ }
3987
+ ],
3988
+ "extendsTokenRanges": []
3989
+ },
3990
+ {
3991
+ "kind": "Function",
3992
+ "canonicalReference": "@alloy-js/typescript!EnumDeclaration:function(1)",
3993
+ "docComment": "/**\n * A TypeScript enum declaration.\n */\n",
3994
+ "excerptTokens": [
3995
+ {
3996
+ "kind": "Content",
3997
+ "text": "export declare function EnumDeclaration(props: "
3998
+ },
3999
+ {
4000
+ "kind": "Reference",
4001
+ "text": "EnumDeclarationProps",
4002
+ "canonicalReference": "@alloy-js/typescript!EnumDeclarationProps:interface"
4003
+ },
4004
+ {
4005
+ "kind": "Content",
4006
+ "text": "): "
4007
+ },
4008
+ {
4009
+ "kind": "Content",
4010
+ "text": "import(\"@alloy-js/core\")."
4011
+ },
4012
+ {
4013
+ "kind": "Reference",
4014
+ "text": "Children",
4015
+ "canonicalReference": "@alloy-js/core!Children:type"
4016
+ },
4017
+ {
4018
+ "kind": "Content",
4019
+ "text": ";"
4020
+ }
4021
+ ],
4022
+ "fileUrlPath": "src/components/EnumDeclaration.tsx",
4023
+ "returnTypeTokenRange": {
4024
+ "startIndex": 3,
4025
+ "endIndex": 5
4026
+ },
4027
+ "releaseTag": "Public",
4028
+ "overloadIndex": 1,
4029
+ "parameters": [
4030
+ {
4031
+ "parameterName": "props",
4032
+ "parameterTypeTokenRange": {
4033
+ "startIndex": 1,
4034
+ "endIndex": 2
4035
+ },
4036
+ "isOptional": false
4037
+ }
4038
+ ],
4039
+ "name": "EnumDeclaration"
4040
+ },
4041
+ {
4042
+ "kind": "Interface",
4043
+ "canonicalReference": "@alloy-js/typescript!EnumDeclarationProps:interface",
4044
+ "docComment": "",
4045
+ "excerptTokens": [
4046
+ {
4047
+ "kind": "Content",
4048
+ "text": "export interface EnumDeclarationProps extends "
4049
+ },
3457
4050
  {
3458
4051
  "kind": "Reference",
3459
4052
  "text": "BaseDeclarationProps",
@@ -3976,7 +4569,7 @@
3976
4569
  "text": "export interface FunctionBodyProps "
3977
4570
  }
3978
4571
  ],
3979
- "fileUrlPath": "src/components/FunctionDeclaration.tsx",
4572
+ "fileUrlPath": "src/components/FunctionBase.tsx",
3980
4573
  "releaseTag": "Public",
3981
4574
  "name": "FunctionBodyProps",
3982
4575
  "preserveMemberOrder": false,
@@ -3988,7 +4581,7 @@
3988
4581
  "excerptTokens": [
3989
4582
  {
3990
4583
  "kind": "Content",
3991
- "text": "children?: "
4584
+ "text": "readonly children?: "
3992
4585
  },
3993
4586
  {
3994
4587
  "kind": "Reference",
@@ -4000,7 +4593,7 @@
4000
4593
  "text": ";"
4001
4594
  }
4002
4595
  ],
4003
- "isReadonly": false,
4596
+ "isReadonly": true,
4004
4597
  "isOptional": true,
4005
4598
  "releaseTag": "Public",
4006
4599
  "name": "children",
@@ -4012,29 +4605,6 @@
4012
4605
  ],
4013
4606
  "extendsTokenRanges": []
4014
4607
  },
4015
- {
4016
- "kind": "Variable",
4017
- "canonicalReference": "@alloy-js/typescript!functionBodyTag:var",
4018
- "docComment": "",
4019
- "excerptTokens": [
4020
- {
4021
- "kind": "Content",
4022
- "text": "functionBodyTag: "
4023
- },
4024
- {
4025
- "kind": "Content",
4026
- "text": "unique symbol"
4027
- }
4028
- ],
4029
- "fileUrlPath": "src/components/FunctionDeclaration.tsx",
4030
- "isReadonly": true,
4031
- "releaseTag": "Public",
4032
- "name": "functionBodyTag",
4033
- "variableTypeTokenRange": {
4034
- "startIndex": 1,
4035
- "endIndex": 2
4036
- }
4037
- },
4038
4608
  {
4039
4609
  "kind": "Function",
4040
4610
  "canonicalReference": "@alloy-js/typescript!FunctionCallExpression:function(1)",
@@ -4240,10 +4810,46 @@
4240
4810
  "text": "Component",
4241
4811
  "canonicalReference": "@alloy-js/core!Component:interface"
4242
4812
  },
4813
+ {
4814
+ "kind": "Content",
4815
+ "text": "<import(\"./FunctionBase.jsx\")."
4816
+ },
4817
+ {
4818
+ "kind": "Reference",
4819
+ "text": "FunctionBodyProps",
4820
+ "canonicalReference": "@alloy-js/typescript!FunctionBodyProps:interface"
4821
+ },
4822
+ {
4823
+ "kind": "Content",
4824
+ "text": "> & "
4825
+ },
4826
+ {
4827
+ "kind": "Reference",
4828
+ "text": "Required",
4829
+ "canonicalReference": "!Required:type"
4830
+ },
4243
4831
  {
4244
4832
  "kind": "Content",
4245
4833
  "text": "<"
4246
4834
  },
4835
+ {
4836
+ "kind": "Reference",
4837
+ "text": "Pick",
4838
+ "canonicalReference": "!Pick:type"
4839
+ },
4840
+ {
4841
+ "kind": "Content",
4842
+ "text": "<import(\"@alloy-js/core\")."
4843
+ },
4844
+ {
4845
+ "kind": "Reference",
4846
+ "text": "Component",
4847
+ "canonicalReference": "@alloy-js/core!Component:interface"
4848
+ },
4849
+ {
4850
+ "kind": "Content",
4851
+ "text": "<import(\"./FunctionBase.jsx\")."
4852
+ },
4247
4853
  {
4248
4854
  "kind": "Reference",
4249
4855
  "text": "FunctionBodyProps",
@@ -4251,7 +4857,7 @@
4251
4857
  },
4252
4858
  {
4253
4859
  "kind": "Content",
4254
- "text": ">"
4860
+ "text": ">, \"tag\">>"
4255
4861
  }
4256
4862
  ],
4257
4863
  "isReadonly": false,
@@ -4259,7 +4865,7 @@
4259
4865
  "name": "Body",
4260
4866
  "variableTypeTokenRange": {
4261
4867
  "startIndex": 1,
4262
- "endIndex": 6
4868
+ "endIndex": 14
4263
4869
  }
4264
4870
  },
4265
4871
  {
@@ -4282,7 +4888,7 @@
4282
4888
  },
4283
4889
  {
4284
4890
  "kind": "Content",
4285
- "text": "<"
4891
+ "text": "<import(\"./FunctionBase.jsx\")."
4286
4892
  },
4287
4893
  {
4288
4894
  "kind": "Reference",
@@ -4291,15 +4897,51 @@
4291
4897
  },
4292
4898
  {
4293
4899
  "kind": "Content",
4294
- "text": ">"
4295
- }
4296
- ],
4297
- "isReadonly": false,
4298
- "releaseTag": "Public",
4299
- "name": "Parameters",
4900
+ "text": "> & "
4901
+ },
4902
+ {
4903
+ "kind": "Reference",
4904
+ "text": "Required",
4905
+ "canonicalReference": "!Required:type"
4906
+ },
4907
+ {
4908
+ "kind": "Content",
4909
+ "text": "<"
4910
+ },
4911
+ {
4912
+ "kind": "Reference",
4913
+ "text": "Pick",
4914
+ "canonicalReference": "!Pick:type"
4915
+ },
4916
+ {
4917
+ "kind": "Content",
4918
+ "text": "<import(\"@alloy-js/core\")."
4919
+ },
4920
+ {
4921
+ "kind": "Reference",
4922
+ "text": "Component",
4923
+ "canonicalReference": "@alloy-js/core!Component:interface"
4924
+ },
4925
+ {
4926
+ "kind": "Content",
4927
+ "text": "<import(\"./FunctionBase.jsx\")."
4928
+ },
4929
+ {
4930
+ "kind": "Reference",
4931
+ "text": "FunctionParametersProps",
4932
+ "canonicalReference": "@alloy-js/typescript!FunctionParametersProps:interface"
4933
+ },
4934
+ {
4935
+ "kind": "Content",
4936
+ "text": ">, \"tag\">>"
4937
+ }
4938
+ ],
4939
+ "isReadonly": false,
4940
+ "releaseTag": "Public",
4941
+ "name": "Parameters",
4300
4942
  "variableTypeTokenRange": {
4301
4943
  "startIndex": 1,
4302
- "endIndex": 6
4944
+ "endIndex": 14
4303
4945
  }
4304
4946
  },
4305
4947
  {
@@ -4320,18 +4962,54 @@
4320
4962
  "text": "Component",
4321
4963
  "canonicalReference": "@alloy-js/core!Component:interface"
4322
4964
  },
4965
+ {
4966
+ "kind": "Content",
4967
+ "text": "<import(\"./FunctionBase.jsx\")."
4968
+ },
4969
+ {
4970
+ "kind": "Reference",
4971
+ "text": "TypeParametersProps",
4972
+ "canonicalReference": "@alloy-js/typescript!~TypeParametersProps:interface"
4973
+ },
4974
+ {
4975
+ "kind": "Content",
4976
+ "text": "> & "
4977
+ },
4978
+ {
4979
+ "kind": "Reference",
4980
+ "text": "Required",
4981
+ "canonicalReference": "!Required:type"
4982
+ },
4323
4983
  {
4324
4984
  "kind": "Content",
4325
4985
  "text": "<"
4326
4986
  },
4327
4987
  {
4328
4988
  "kind": "Reference",
4329
- "text": "FunctionTypeParametersProps",
4330
- "canonicalReference": "@alloy-js/typescript!FunctionTypeParametersProps:interface"
4989
+ "text": "Pick",
4990
+ "canonicalReference": "!Pick:type"
4331
4991
  },
4332
4992
  {
4333
4993
  "kind": "Content",
4334
- "text": ">"
4994
+ "text": "<import(\"@alloy-js/core\")."
4995
+ },
4996
+ {
4997
+ "kind": "Reference",
4998
+ "text": "Component",
4999
+ "canonicalReference": "@alloy-js/core!Component:interface"
5000
+ },
5001
+ {
5002
+ "kind": "Content",
5003
+ "text": "<import(\"./FunctionBase.jsx\")."
5004
+ },
5005
+ {
5006
+ "kind": "Reference",
5007
+ "text": "TypeParametersProps",
5008
+ "canonicalReference": "@alloy-js/typescript!~TypeParametersProps:interface"
5009
+ },
5010
+ {
5011
+ "kind": "Content",
5012
+ "text": ">, \"tag\">>"
4335
5013
  }
4336
5014
  ],
4337
5015
  "isReadonly": false,
@@ -4339,7 +5017,7 @@
4339
5017
  "name": "TypeParameters",
4340
5018
  "variableTypeTokenRange": {
4341
5019
  "startIndex": 1,
4342
- "endIndex": 6
5020
+ "endIndex": 14
4343
5021
  }
4344
5022
  }
4345
5023
  ]
@@ -4445,235 +5123,1228 @@
4445
5123
  ]
4446
5124
  },
4447
5125
  {
4448
- "kind": "Interface",
4449
- "canonicalReference": "@alloy-js/typescript!FunctionParametersProps:interface",
5126
+ "kind": "Function",
5127
+ "canonicalReference": "@alloy-js/typescript!FunctionExpression:function(1)",
5128
+ "docComment": "/**\n * A TypeScript function expression.\n *\n * @remarks\n *\n *\n *\n * Providing parameters and type parameters can be accomplished in one of three\n * ways:\n *\n * 1. As an array of {@link ParameterDescriptor}s or\n * {@link TypeParameterDescriptor}s.\n * 2. As raw content via the `parametersChildren` or `typeParametersChildren`\n * props.\n * 3. As a child of this component via the\n * {@link (FunctionExpression:namespace).Parameters} or\n * {@link (FunctionExpression:namespace).TypeParameters} components.\n *\n * @example\n * ```tsx\n * <FunctionExpression async parameters={[{ name: \"a\", type: \"number\" }, { name: \"b\", type: \"number\" }]}>\n * return a + b;\n * <FunctionExpression>\n * ```\n *\n * renders to\n * ```ts\n * async function (a, b) { return a + b; }\n * ```\n *\n */\n",
5129
+ "excerptTokens": [
5130
+ {
5131
+ "kind": "Content",
5132
+ "text": "export declare function FunctionExpression(props: "
5133
+ },
5134
+ {
5135
+ "kind": "Reference",
5136
+ "text": "FunctionExpressionProps",
5137
+ "canonicalReference": "@alloy-js/typescript!FunctionExpressionProps:interface"
5138
+ },
5139
+ {
5140
+ "kind": "Content",
5141
+ "text": "): "
5142
+ },
5143
+ {
5144
+ "kind": "Reference",
5145
+ "text": "Children",
5146
+ "canonicalReference": "@alloy-js/core!Children:type"
5147
+ },
5148
+ {
5149
+ "kind": "Content",
5150
+ "text": ";"
5151
+ }
5152
+ ],
5153
+ "fileUrlPath": "src/components/FunctionExpression.tsx",
5154
+ "returnTypeTokenRange": {
5155
+ "startIndex": 3,
5156
+ "endIndex": 4
5157
+ },
5158
+ "releaseTag": "Public",
5159
+ "overloadIndex": 1,
5160
+ "parameters": [
5161
+ {
5162
+ "parameterName": "props",
5163
+ "parameterTypeTokenRange": {
5164
+ "startIndex": 1,
5165
+ "endIndex": 2
5166
+ },
5167
+ "isOptional": false
5168
+ }
5169
+ ],
5170
+ "name": "FunctionExpression"
5171
+ },
5172
+ {
5173
+ "kind": "Namespace",
5174
+ "canonicalReference": "@alloy-js/typescript!FunctionExpression:namespace",
4450
5175
  "docComment": "",
4451
5176
  "excerptTokens": [
4452
5177
  {
4453
5178
  "kind": "Content",
4454
- "text": "export interface FunctionParametersProps "
5179
+ "text": "export declare namespace FunctionExpression "
4455
5180
  }
4456
5181
  ],
4457
- "fileUrlPath": "src/components/FunctionDeclaration.tsx",
5182
+ "fileUrlPath": "src/components/FunctionExpression.tsx",
4458
5183
  "releaseTag": "Public",
4459
- "name": "FunctionParametersProps",
5184
+ "name": "FunctionExpression",
4460
5185
  "preserveMemberOrder": false,
4461
5186
  "members": [
4462
5187
  {
4463
- "kind": "PropertySignature",
4464
- "canonicalReference": "@alloy-js/typescript!FunctionParametersProps#children:member",
5188
+ "kind": "Variable",
5189
+ "canonicalReference": "@alloy-js/typescript!FunctionExpression.Body:var",
4465
5190
  "docComment": "",
4466
5191
  "excerptTokens": [
4467
5192
  {
4468
5193
  "kind": "Content",
4469
- "text": "children?: "
5194
+ "text": "Body: "
5195
+ },
5196
+ {
5197
+ "kind": "Content",
5198
+ "text": "import(\"@alloy-js/core\")."
4470
5199
  },
4471
5200
  {
4472
5201
  "kind": "Reference",
4473
- "text": "Children",
4474
- "canonicalReference": "@alloy-js/core!Children:type"
5202
+ "text": "Component",
5203
+ "canonicalReference": "@alloy-js/core!Component:interface"
4475
5204
  },
4476
5205
  {
4477
5206
  "kind": "Content",
4478
- "text": ";"
4479
- }
4480
- ],
4481
- "isReadonly": false,
4482
- "isOptional": true,
4483
- "releaseTag": "Public",
4484
- "name": "children",
4485
- "propertyTypeTokenRange": {
4486
- "startIndex": 1,
4487
- "endIndex": 2
4488
- }
4489
- },
4490
- {
4491
- "kind": "PropertySignature",
4492
- "canonicalReference": "@alloy-js/typescript!FunctionParametersProps#parameters:member",
4493
- "docComment": "",
4494
- "excerptTokens": [
5207
+ "text": "<import(\"./FunctionBase.jsx\")."
5208
+ },
5209
+ {
5210
+ "kind": "Reference",
5211
+ "text": "FunctionBodyProps",
5212
+ "canonicalReference": "@alloy-js/typescript!FunctionBodyProps:interface"
5213
+ },
4495
5214
  {
4496
5215
  "kind": "Content",
4497
- "text": "parameters?: "
5216
+ "text": "> & "
4498
5217
  },
4499
5218
  {
4500
5219
  "kind": "Reference",
4501
- "text": "ParameterDescriptor",
4502
- "canonicalReference": "@alloy-js/typescript!ParameterDescriptor:interface"
5220
+ "text": "Required",
5221
+ "canonicalReference": "!Required:type"
4503
5222
  },
4504
5223
  {
4505
5224
  "kind": "Content",
4506
- "text": "[] | string[]"
5225
+ "text": "<"
5226
+ },
5227
+ {
5228
+ "kind": "Reference",
5229
+ "text": "Pick",
5230
+ "canonicalReference": "!Pick:type"
4507
5231
  },
4508
5232
  {
4509
5233
  "kind": "Content",
4510
- "text": ";"
4511
- }
4512
- ],
4513
- "isReadonly": false,
4514
- "isOptional": true,
4515
- "releaseTag": "Public",
4516
- "name": "parameters",
4517
- "propertyTypeTokenRange": {
4518
- "startIndex": 1,
4519
- "endIndex": 3
4520
- }
4521
- }
4522
- ],
4523
- "extendsTokenRanges": []
4524
- },
4525
- {
4526
- "kind": "Variable",
4527
- "canonicalReference": "@alloy-js/typescript!functionParametersTag:var",
4528
- "docComment": "",
4529
- "excerptTokens": [
4530
- {
4531
- "kind": "Content",
4532
- "text": "functionParametersTag: "
4533
- },
4534
- {
4535
- "kind": "Content",
4536
- "text": "unique symbol"
4537
- }
4538
- ],
4539
- "fileUrlPath": "src/components/FunctionDeclaration.tsx",
4540
- "isReadonly": true,
4541
- "releaseTag": "Public",
4542
- "name": "functionParametersTag",
4543
- "variableTypeTokenRange": {
4544
- "startIndex": 1,
4545
- "endIndex": 2
4546
- }
4547
- },
4548
- {
4549
- "kind": "Interface",
4550
- "canonicalReference": "@alloy-js/typescript!FunctionTypeParametersProps:interface",
4551
- "docComment": "",
4552
- "excerptTokens": [
4553
- {
4554
- "kind": "Content",
4555
- "text": "export interface FunctionTypeParametersProps "
4556
- }
4557
- ],
4558
- "fileUrlPath": "src/components/FunctionDeclaration.tsx",
4559
- "releaseTag": "Public",
4560
- "name": "FunctionTypeParametersProps",
4561
- "preserveMemberOrder": false,
4562
- "members": [
4563
- {
4564
- "kind": "PropertySignature",
4565
- "canonicalReference": "@alloy-js/typescript!FunctionTypeParametersProps#children:member",
4566
- "docComment": "",
4567
- "excerptTokens": [
5234
+ "text": "<import(\"@alloy-js/core\")."
5235
+ },
5236
+ {
5237
+ "kind": "Reference",
5238
+ "text": "Component",
5239
+ "canonicalReference": "@alloy-js/core!Component:interface"
5240
+ },
4568
5241
  {
4569
5242
  "kind": "Content",
4570
- "text": "children?: "
5243
+ "text": "<import(\"./FunctionBase.jsx\")."
4571
5244
  },
4572
5245
  {
4573
5246
  "kind": "Reference",
4574
- "text": "Children",
4575
- "canonicalReference": "@alloy-js/core!Children:type"
5247
+ "text": "FunctionBodyProps",
5248
+ "canonicalReference": "@alloy-js/typescript!FunctionBodyProps:interface"
4576
5249
  },
4577
5250
  {
4578
5251
  "kind": "Content",
4579
- "text": ";"
5252
+ "text": ">, \"tag\">>"
4580
5253
  }
4581
5254
  ],
4582
5255
  "isReadonly": false,
4583
- "isOptional": true,
4584
5256
  "releaseTag": "Public",
4585
- "name": "children",
4586
- "propertyTypeTokenRange": {
5257
+ "name": "Body",
5258
+ "variableTypeTokenRange": {
4587
5259
  "startIndex": 1,
4588
- "endIndex": 2
5260
+ "endIndex": 14
4589
5261
  }
4590
5262
  },
4591
5263
  {
4592
- "kind": "PropertySignature",
4593
- "canonicalReference": "@alloy-js/typescript!FunctionTypeParametersProps#parameters:member",
5264
+ "kind": "Variable",
5265
+ "canonicalReference": "@alloy-js/typescript!FunctionExpression.Parameters:var",
4594
5266
  "docComment": "",
4595
5267
  "excerptTokens": [
4596
5268
  {
4597
5269
  "kind": "Content",
4598
- "text": "parameters?: "
5270
+ "text": "Parameters: "
5271
+ },
5272
+ {
5273
+ "kind": "Content",
5274
+ "text": "import(\"@alloy-js/core\")."
4599
5275
  },
4600
5276
  {
4601
5277
  "kind": "Reference",
4602
- "text": "ParameterDescriptor",
4603
- "canonicalReference": "@alloy-js/typescript!ParameterDescriptor:interface"
5278
+ "text": "Component",
5279
+ "canonicalReference": "@alloy-js/core!Component:interface"
4604
5280
  },
4605
5281
  {
4606
5282
  "kind": "Content",
4607
- "text": "[] | string[]"
5283
+ "text": "<import(\"./FunctionBase.jsx\")."
5284
+ },
5285
+ {
5286
+ "kind": "Reference",
5287
+ "text": "FunctionParametersProps",
5288
+ "canonicalReference": "@alloy-js/typescript!FunctionParametersProps:interface"
4608
5289
  },
4609
5290
  {
4610
5291
  "kind": "Content",
4611
- "text": ";"
4612
- }
4613
- ],
4614
- "isReadonly": false,
4615
- "isOptional": true,
4616
- "releaseTag": "Public",
4617
- "name": "parameters",
4618
- "propertyTypeTokenRange": {
4619
- "startIndex": 1,
4620
- "endIndex": 3
5292
+ "text": "> & "
5293
+ },
5294
+ {
5295
+ "kind": "Reference",
5296
+ "text": "Required",
5297
+ "canonicalReference": "!Required:type"
5298
+ },
5299
+ {
5300
+ "kind": "Content",
5301
+ "text": "<"
5302
+ },
5303
+ {
5304
+ "kind": "Reference",
5305
+ "text": "Pick",
5306
+ "canonicalReference": "!Pick:type"
5307
+ },
5308
+ {
5309
+ "kind": "Content",
5310
+ "text": "<import(\"@alloy-js/core\")."
5311
+ },
5312
+ {
5313
+ "kind": "Reference",
5314
+ "text": "Component",
5315
+ "canonicalReference": "@alloy-js/core!Component:interface"
5316
+ },
5317
+ {
5318
+ "kind": "Content",
5319
+ "text": "<import(\"./FunctionBase.jsx\")."
5320
+ },
5321
+ {
5322
+ "kind": "Reference",
5323
+ "text": "FunctionParametersProps",
5324
+ "canonicalReference": "@alloy-js/typescript!FunctionParametersProps:interface"
5325
+ },
5326
+ {
5327
+ "kind": "Content",
5328
+ "text": ">, \"tag\">>"
5329
+ }
5330
+ ],
5331
+ "isReadonly": false,
5332
+ "releaseTag": "Public",
5333
+ "name": "Parameters",
5334
+ "variableTypeTokenRange": {
5335
+ "startIndex": 1,
5336
+ "endIndex": 14
5337
+ }
5338
+ },
5339
+ {
5340
+ "kind": "Variable",
5341
+ "canonicalReference": "@alloy-js/typescript!FunctionExpression.TypeParameters:var",
5342
+ "docComment": "",
5343
+ "excerptTokens": [
5344
+ {
5345
+ "kind": "Content",
5346
+ "text": "TypeParameters: "
5347
+ },
5348
+ {
5349
+ "kind": "Content",
5350
+ "text": "import(\"@alloy-js/core\")."
5351
+ },
5352
+ {
5353
+ "kind": "Reference",
5354
+ "text": "Component",
5355
+ "canonicalReference": "@alloy-js/core!Component:interface"
5356
+ },
5357
+ {
5358
+ "kind": "Content",
5359
+ "text": "<import(\"./FunctionBase.jsx\")."
5360
+ },
5361
+ {
5362
+ "kind": "Reference",
5363
+ "text": "TypeParametersProps",
5364
+ "canonicalReference": "@alloy-js/typescript!~TypeParametersProps:interface"
5365
+ },
5366
+ {
5367
+ "kind": "Content",
5368
+ "text": "> & "
5369
+ },
5370
+ {
5371
+ "kind": "Reference",
5372
+ "text": "Required",
5373
+ "canonicalReference": "!Required:type"
5374
+ },
5375
+ {
5376
+ "kind": "Content",
5377
+ "text": "<"
5378
+ },
5379
+ {
5380
+ "kind": "Reference",
5381
+ "text": "Pick",
5382
+ "canonicalReference": "!Pick:type"
5383
+ },
5384
+ {
5385
+ "kind": "Content",
5386
+ "text": "<import(\"@alloy-js/core\")."
5387
+ },
5388
+ {
5389
+ "kind": "Reference",
5390
+ "text": "Component",
5391
+ "canonicalReference": "@alloy-js/core!Component:interface"
5392
+ },
5393
+ {
5394
+ "kind": "Content",
5395
+ "text": "<import(\"./FunctionBase.jsx\")."
5396
+ },
5397
+ {
5398
+ "kind": "Reference",
5399
+ "text": "TypeParametersProps",
5400
+ "canonicalReference": "@alloy-js/typescript!~TypeParametersProps:interface"
5401
+ },
5402
+ {
5403
+ "kind": "Content",
5404
+ "text": ">, \"tag\">>"
5405
+ }
5406
+ ],
5407
+ "isReadonly": false,
5408
+ "releaseTag": "Public",
5409
+ "name": "TypeParameters",
5410
+ "variableTypeTokenRange": {
5411
+ "startIndex": 1,
5412
+ "endIndex": 14
5413
+ }
5414
+ }
5415
+ ]
5416
+ },
5417
+ {
5418
+ "kind": "Interface",
5419
+ "canonicalReference": "@alloy-js/typescript!FunctionExpressionProps:interface",
5420
+ "docComment": "",
5421
+ "excerptTokens": [
5422
+ {
5423
+ "kind": "Content",
5424
+ "text": "export interface FunctionExpressionProps extends "
5425
+ },
5426
+ {
5427
+ "kind": "Reference",
5428
+ "text": "CallSignatureProps",
5429
+ "canonicalReference": "@alloy-js/typescript!CallSignatureProps:interface"
5430
+ },
5431
+ {
5432
+ "kind": "Content",
5433
+ "text": " "
5434
+ }
5435
+ ],
5436
+ "fileUrlPath": "src/components/FunctionExpression.tsx",
5437
+ "releaseTag": "Public",
5438
+ "name": "FunctionExpressionProps",
5439
+ "preserveMemberOrder": false,
5440
+ "members": [
5441
+ {
5442
+ "kind": "PropertySignature",
5443
+ "canonicalReference": "@alloy-js/typescript!FunctionExpressionProps#async:member",
5444
+ "docComment": "",
5445
+ "excerptTokens": [
5446
+ {
5447
+ "kind": "Content",
5448
+ "text": "async?: "
5449
+ },
5450
+ {
5451
+ "kind": "Content",
5452
+ "text": "boolean"
5453
+ },
5454
+ {
5455
+ "kind": "Content",
5456
+ "text": ";"
5457
+ }
5458
+ ],
5459
+ "isReadonly": false,
5460
+ "isOptional": true,
5461
+ "releaseTag": "Public",
5462
+ "name": "async",
5463
+ "propertyTypeTokenRange": {
5464
+ "startIndex": 1,
5465
+ "endIndex": 2
5466
+ }
5467
+ },
5468
+ {
5469
+ "kind": "PropertySignature",
5470
+ "canonicalReference": "@alloy-js/typescript!FunctionExpressionProps#children:member",
5471
+ "docComment": "",
5472
+ "excerptTokens": [
5473
+ {
5474
+ "kind": "Content",
5475
+ "text": "children?: "
5476
+ },
5477
+ {
5478
+ "kind": "Reference",
5479
+ "text": "Children",
5480
+ "canonicalReference": "@alloy-js/core!Children:type"
5481
+ },
5482
+ {
5483
+ "kind": "Content",
5484
+ "text": ";"
5485
+ }
5486
+ ],
5487
+ "isReadonly": false,
5488
+ "isOptional": true,
5489
+ "releaseTag": "Public",
5490
+ "name": "children",
5491
+ "propertyTypeTokenRange": {
5492
+ "startIndex": 1,
5493
+ "endIndex": 2
5494
+ }
5495
+ }
5496
+ ],
5497
+ "extendsTokenRanges": [
5498
+ {
5499
+ "startIndex": 1,
5500
+ "endIndex": 2
5501
+ }
5502
+ ]
5503
+ },
5504
+ {
5505
+ "kind": "Interface",
5506
+ "canonicalReference": "@alloy-js/typescript!FunctionParametersProps:interface",
5507
+ "docComment": "/**\n * Props for function parameters\n */\n",
5508
+ "excerptTokens": [
5509
+ {
5510
+ "kind": "Content",
5511
+ "text": "export interface FunctionParametersProps "
5512
+ }
5513
+ ],
5514
+ "fileUrlPath": "src/components/FunctionBase.tsx",
5515
+ "releaseTag": "Public",
5516
+ "name": "FunctionParametersProps",
5517
+ "preserveMemberOrder": false,
5518
+ "members": [
5519
+ {
5520
+ "kind": "PropertySignature",
5521
+ "canonicalReference": "@alloy-js/typescript!FunctionParametersProps#children:member",
5522
+ "docComment": "/**\n * Jsx Children\n */\n",
5523
+ "excerptTokens": [
5524
+ {
5525
+ "kind": "Content",
5526
+ "text": "readonly children?: "
5527
+ },
5528
+ {
5529
+ "kind": "Reference",
5530
+ "text": "Children",
5531
+ "canonicalReference": "@alloy-js/core!Children:type"
5532
+ },
5533
+ {
5534
+ "kind": "Content",
5535
+ "text": ";"
5536
+ }
5537
+ ],
5538
+ "isReadonly": true,
5539
+ "isOptional": true,
5540
+ "releaseTag": "Public",
5541
+ "name": "children",
5542
+ "propertyTypeTokenRange": {
5543
+ "startIndex": 1,
5544
+ "endIndex": 2
5545
+ }
5546
+ },
5547
+ {
5548
+ "kind": "PropertySignature",
5549
+ "canonicalReference": "@alloy-js/typescript!FunctionParametersProps#parameters:member",
5550
+ "docComment": "/**\n * Parameters\n */\n",
5551
+ "excerptTokens": [
5552
+ {
5553
+ "kind": "Content",
5554
+ "text": "readonly parameters?: "
5555
+ },
5556
+ {
5557
+ "kind": "Reference",
5558
+ "text": "ParameterDescriptor",
5559
+ "canonicalReference": "@alloy-js/typescript!ParameterDescriptor:interface"
5560
+ },
5561
+ {
5562
+ "kind": "Content",
5563
+ "text": "[] | string[]"
5564
+ },
5565
+ {
5566
+ "kind": "Content",
5567
+ "text": ";"
5568
+ }
5569
+ ],
5570
+ "isReadonly": true,
5571
+ "isOptional": true,
5572
+ "releaseTag": "Public",
5573
+ "name": "parameters",
5574
+ "propertyTypeTokenRange": {
5575
+ "startIndex": 1,
5576
+ "endIndex": 3
5577
+ }
5578
+ }
5579
+ ],
5580
+ "extendsTokenRanges": []
5581
+ },
5582
+ {
5583
+ "kind": "Function",
5584
+ "canonicalReference": "@alloy-js/typescript!FunctionType:function(1)",
5585
+ "docComment": "/**\n * A TypeScript function declaration.\n *\n * @remarks\n *\n *\n *\n * Providing parameters and type parameters can be accomplished in one of three\n * ways:\n *\n * 1. As an array of {@link TypeParameterDescriptor}s or\n * {@link TypeParameterDescriptor}s.\n * 2. As raw content via the `parametersChildren` or `typeParametersChildren`\n * props.\n * 3. As a child of this component via the\n * {@link (FunctionType:namespace).Parameters} or\n * {@link (FunctionType:namespace).TypeParameters} components.\n *\n * @example\n * ```ts\n * (foo: string, bar: number) => void\n * ```\n *\n */\n",
5586
+ "excerptTokens": [
5587
+ {
5588
+ "kind": "Content",
5589
+ "text": "export declare function FunctionType(props: "
5590
+ },
5591
+ {
5592
+ "kind": "Reference",
5593
+ "text": "FunctionTypeProps",
5594
+ "canonicalReference": "@alloy-js/typescript!FunctionTypeProps:interface"
5595
+ },
5596
+ {
5597
+ "kind": "Content",
5598
+ "text": "): "
5599
+ },
5600
+ {
5601
+ "kind": "Reference",
5602
+ "text": "Children",
5603
+ "canonicalReference": "@alloy-js/core!Children:type"
5604
+ },
5605
+ {
5606
+ "kind": "Content",
5607
+ "text": ";"
5608
+ }
5609
+ ],
5610
+ "fileUrlPath": "src/components/FunctionType.tsx",
5611
+ "returnTypeTokenRange": {
5612
+ "startIndex": 3,
5613
+ "endIndex": 4
5614
+ },
5615
+ "releaseTag": "Public",
5616
+ "overloadIndex": 1,
5617
+ "parameters": [
5618
+ {
5619
+ "parameterName": "props",
5620
+ "parameterTypeTokenRange": {
5621
+ "startIndex": 1,
5622
+ "endIndex": 2
5623
+ },
5624
+ "isOptional": false
5625
+ }
5626
+ ],
5627
+ "name": "FunctionType"
5628
+ },
5629
+ {
5630
+ "kind": "Namespace",
5631
+ "canonicalReference": "@alloy-js/typescript!FunctionType:namespace",
5632
+ "docComment": "",
5633
+ "excerptTokens": [
5634
+ {
5635
+ "kind": "Content",
5636
+ "text": "export declare namespace FunctionType "
5637
+ }
5638
+ ],
5639
+ "fileUrlPath": "src/components/FunctionType.tsx",
5640
+ "releaseTag": "Public",
5641
+ "name": "FunctionType",
5642
+ "preserveMemberOrder": false,
5643
+ "members": [
5644
+ {
5645
+ "kind": "Variable",
5646
+ "canonicalReference": "@alloy-js/typescript!FunctionType.Parameters:var",
5647
+ "docComment": "",
5648
+ "excerptTokens": [
5649
+ {
5650
+ "kind": "Content",
5651
+ "text": "Parameters: "
5652
+ },
5653
+ {
5654
+ "kind": "Content",
5655
+ "text": "import(\"@alloy-js/core\")."
5656
+ },
5657
+ {
5658
+ "kind": "Reference",
5659
+ "text": "Component",
5660
+ "canonicalReference": "@alloy-js/core!Component:interface"
5661
+ },
5662
+ {
5663
+ "kind": "Content",
5664
+ "text": "<import(\"./FunctionBase.jsx\")."
5665
+ },
5666
+ {
5667
+ "kind": "Reference",
5668
+ "text": "FunctionTypeParametersProps",
5669
+ "canonicalReference": "@alloy-js/typescript!FunctionTypeParametersProps:interface"
5670
+ },
5671
+ {
5672
+ "kind": "Content",
5673
+ "text": "> & "
5674
+ },
5675
+ {
5676
+ "kind": "Reference",
5677
+ "text": "Required",
5678
+ "canonicalReference": "!Required:type"
5679
+ },
5680
+ {
5681
+ "kind": "Content",
5682
+ "text": "<"
5683
+ },
5684
+ {
5685
+ "kind": "Reference",
5686
+ "text": "Pick",
5687
+ "canonicalReference": "!Pick:type"
5688
+ },
5689
+ {
5690
+ "kind": "Content",
5691
+ "text": "<import(\"@alloy-js/core\")."
5692
+ },
5693
+ {
5694
+ "kind": "Reference",
5695
+ "text": "Component",
5696
+ "canonicalReference": "@alloy-js/core!Component:interface"
5697
+ },
5698
+ {
5699
+ "kind": "Content",
5700
+ "text": "<import(\"./FunctionBase.jsx\")."
5701
+ },
5702
+ {
5703
+ "kind": "Reference",
5704
+ "text": "FunctionTypeParametersProps",
5705
+ "canonicalReference": "@alloy-js/typescript!FunctionTypeParametersProps:interface"
5706
+ },
5707
+ {
5708
+ "kind": "Content",
5709
+ "text": ">, \"tag\">>"
5710
+ }
5711
+ ],
5712
+ "isReadonly": false,
5713
+ "releaseTag": "Public",
5714
+ "name": "Parameters",
5715
+ "variableTypeTokenRange": {
5716
+ "startIndex": 1,
5717
+ "endIndex": 14
5718
+ }
5719
+ },
5720
+ {
5721
+ "kind": "Variable",
5722
+ "canonicalReference": "@alloy-js/typescript!FunctionType.TypeParameters:var",
5723
+ "docComment": "",
5724
+ "excerptTokens": [
5725
+ {
5726
+ "kind": "Content",
5727
+ "text": "TypeParameters: "
5728
+ },
5729
+ {
5730
+ "kind": "Content",
5731
+ "text": "import(\"@alloy-js/core\")."
5732
+ },
5733
+ {
5734
+ "kind": "Reference",
5735
+ "text": "Component",
5736
+ "canonicalReference": "@alloy-js/core!Component:interface"
5737
+ },
5738
+ {
5739
+ "kind": "Content",
5740
+ "text": "<import(\"./FunctionBase.jsx\")."
5741
+ },
5742
+ {
5743
+ "kind": "Reference",
5744
+ "text": "TypeParametersProps",
5745
+ "canonicalReference": "@alloy-js/typescript!~TypeParametersProps:interface"
5746
+ },
5747
+ {
5748
+ "kind": "Content",
5749
+ "text": "> & "
5750
+ },
5751
+ {
5752
+ "kind": "Reference",
5753
+ "text": "Required",
5754
+ "canonicalReference": "!Required:type"
5755
+ },
5756
+ {
5757
+ "kind": "Content",
5758
+ "text": "<"
5759
+ },
5760
+ {
5761
+ "kind": "Reference",
5762
+ "text": "Pick",
5763
+ "canonicalReference": "!Pick:type"
5764
+ },
5765
+ {
5766
+ "kind": "Content",
5767
+ "text": "<import(\"@alloy-js/core\")."
5768
+ },
5769
+ {
5770
+ "kind": "Reference",
5771
+ "text": "Component",
5772
+ "canonicalReference": "@alloy-js/core!Component:interface"
5773
+ },
5774
+ {
5775
+ "kind": "Content",
5776
+ "text": "<import(\"./FunctionBase.jsx\")."
5777
+ },
5778
+ {
5779
+ "kind": "Reference",
5780
+ "text": "TypeParametersProps",
5781
+ "canonicalReference": "@alloy-js/typescript!~TypeParametersProps:interface"
5782
+ },
5783
+ {
5784
+ "kind": "Content",
5785
+ "text": ">, \"tag\">>"
5786
+ }
5787
+ ],
5788
+ "isReadonly": false,
5789
+ "releaseTag": "Public",
5790
+ "name": "TypeParameters",
5791
+ "variableTypeTokenRange": {
5792
+ "startIndex": 1,
5793
+ "endIndex": 14
5794
+ }
5795
+ }
5796
+ ]
5797
+ },
5798
+ {
5799
+ "kind": "Interface",
5800
+ "canonicalReference": "@alloy-js/typescript!FunctionTypeParameterDescriptor:interface",
5801
+ "docComment": "/**\n * Information for a TypeScript type function parameter.\n */\n",
5802
+ "excerptTokens": [
5803
+ {
5804
+ "kind": "Content",
5805
+ "text": "export interface FunctionTypeParameterDescriptor extends "
5806
+ },
5807
+ {
5808
+ "kind": "Reference",
5809
+ "text": "ParameterDescriptorBase",
5810
+ "canonicalReference": "@alloy-js/typescript!ParameterDescriptorBase:interface"
5811
+ },
5812
+ {
5813
+ "kind": "Content",
5814
+ "text": " "
5815
+ }
5816
+ ],
5817
+ "fileUrlPath": "src/parameter-descriptor.ts",
5818
+ "releaseTag": "Public",
5819
+ "name": "FunctionTypeParameterDescriptor",
5820
+ "preserveMemberOrder": false,
5821
+ "members": [],
5822
+ "extendsTokenRanges": [
5823
+ {
5824
+ "startIndex": 1,
5825
+ "endIndex": 2
5826
+ }
5827
+ ]
5828
+ },
5829
+ {
5830
+ "kind": "Interface",
5831
+ "canonicalReference": "@alloy-js/typescript!FunctionTypeParametersProps:interface",
5832
+ "docComment": "/**\n * Props for a function type(FunctionType or InterfaceMethod)\n */\n",
5833
+ "excerptTokens": [
5834
+ {
5835
+ "kind": "Content",
5836
+ "text": "export interface FunctionTypeParametersProps "
5837
+ }
5838
+ ],
5839
+ "fileUrlPath": "src/components/FunctionBase.tsx",
5840
+ "releaseTag": "Public",
5841
+ "name": "FunctionTypeParametersProps",
5842
+ "preserveMemberOrder": false,
5843
+ "members": [
5844
+ {
5845
+ "kind": "PropertySignature",
5846
+ "canonicalReference": "@alloy-js/typescript!FunctionTypeParametersProps#children:member",
5847
+ "docComment": "/**\n * Jsx Children\n */\n",
5848
+ "excerptTokens": [
5849
+ {
5850
+ "kind": "Content",
5851
+ "text": "readonly children?: "
5852
+ },
5853
+ {
5854
+ "kind": "Reference",
5855
+ "text": "Children",
5856
+ "canonicalReference": "@alloy-js/core!Children:type"
5857
+ },
5858
+ {
5859
+ "kind": "Content",
5860
+ "text": ";"
5861
+ }
5862
+ ],
5863
+ "isReadonly": true,
5864
+ "isOptional": true,
5865
+ "releaseTag": "Public",
5866
+ "name": "children",
5867
+ "propertyTypeTokenRange": {
5868
+ "startIndex": 1,
5869
+ "endIndex": 2
5870
+ }
5871
+ },
5872
+ {
5873
+ "kind": "PropertySignature",
5874
+ "canonicalReference": "@alloy-js/typescript!FunctionTypeParametersProps#parameters:member",
5875
+ "docComment": "/**\n * Parameters\n */\n",
5876
+ "excerptTokens": [
5877
+ {
5878
+ "kind": "Content",
5879
+ "text": "readonly parameters?: "
5880
+ },
5881
+ {
5882
+ "kind": "Reference",
5883
+ "text": "ParameterDescriptor",
5884
+ "canonicalReference": "@alloy-js/typescript!ParameterDescriptor:interface"
5885
+ },
5886
+ {
5887
+ "kind": "Content",
5888
+ "text": "[] | string[]"
5889
+ },
5890
+ {
5891
+ "kind": "Content",
5892
+ "text": ";"
5893
+ }
5894
+ ],
5895
+ "isReadonly": true,
5896
+ "isOptional": true,
5897
+ "releaseTag": "Public",
5898
+ "name": "parameters",
5899
+ "propertyTypeTokenRange": {
5900
+ "startIndex": 1,
5901
+ "endIndex": 3
5902
+ }
5903
+ }
5904
+ ],
5905
+ "extendsTokenRanges": []
5906
+ },
5907
+ {
5908
+ "kind": "Interface",
5909
+ "canonicalReference": "@alloy-js/typescript!FunctionTypeProps:interface",
5910
+ "docComment": "/**\n * Options for {@link (FunctionType:namespace)} component.\n */\n",
5911
+ "excerptTokens": [
5912
+ {
5913
+ "kind": "Content",
5914
+ "text": "export interface FunctionTypeProps extends "
5915
+ },
5916
+ {
5917
+ "kind": "Reference",
5918
+ "text": "CallSignatureProps",
5919
+ "canonicalReference": "@alloy-js/typescript!CallSignatureProps:interface"
5920
+ },
5921
+ {
5922
+ "kind": "Content",
5923
+ "text": " "
5924
+ }
5925
+ ],
5926
+ "fileUrlPath": "src/components/FunctionType.tsx",
5927
+ "releaseTag": "Public",
5928
+ "name": "FunctionTypeProps",
5929
+ "preserveMemberOrder": false,
5930
+ "members": [
5931
+ {
5932
+ "kind": "PropertySignature",
5933
+ "canonicalReference": "@alloy-js/typescript!FunctionTypeProps#async:member",
5934
+ "docComment": "/**\n * If the method is async\n */\n",
5935
+ "excerptTokens": [
5936
+ {
5937
+ "kind": "Content",
5938
+ "text": "readonly async?: "
5939
+ },
5940
+ {
5941
+ "kind": "Content",
5942
+ "text": "boolean"
5943
+ },
5944
+ {
5945
+ "kind": "Content",
5946
+ "text": ";"
5947
+ }
5948
+ ],
5949
+ "isReadonly": true,
5950
+ "isOptional": true,
5951
+ "releaseTag": "Public",
5952
+ "name": "async",
5953
+ "propertyTypeTokenRange": {
5954
+ "startIndex": 1,
5955
+ "endIndex": 2
5956
+ }
5957
+ },
5958
+ {
5959
+ "kind": "PropertySignature",
5960
+ "canonicalReference": "@alloy-js/typescript!FunctionTypeProps#children:member",
5961
+ "docComment": "/**\n * Jsx content\n */\n",
5962
+ "excerptTokens": [
5963
+ {
5964
+ "kind": "Content",
5965
+ "text": "readonly children?: "
5966
+ },
5967
+ {
5968
+ "kind": "Reference",
5969
+ "text": "Children",
5970
+ "canonicalReference": "@alloy-js/core!Children:type"
5971
+ },
5972
+ {
5973
+ "kind": "Content",
5974
+ "text": ";"
5975
+ }
5976
+ ],
5977
+ "isReadonly": true,
5978
+ "isOptional": true,
5979
+ "releaseTag": "Public",
5980
+ "name": "children",
5981
+ "propertyTypeTokenRange": {
5982
+ "startIndex": 1,
5983
+ "endIndex": 2
5984
+ }
5985
+ },
5986
+ {
5987
+ "kind": "PropertySignature",
5988
+ "canonicalReference": "@alloy-js/typescript!FunctionTypeProps#doc:member",
5989
+ "docComment": "/**\n * Documentation for this method.\n */\n",
5990
+ "excerptTokens": [
5991
+ {
5992
+ "kind": "Content",
5993
+ "text": "readonly doc?: "
5994
+ },
5995
+ {
5996
+ "kind": "Reference",
5997
+ "text": "Children",
5998
+ "canonicalReference": "@alloy-js/core!Children:type"
5999
+ },
6000
+ {
6001
+ "kind": "Content",
6002
+ "text": ";"
6003
+ }
6004
+ ],
6005
+ "isReadonly": true,
6006
+ "isOptional": true,
6007
+ "releaseTag": "Public",
6008
+ "name": "doc",
6009
+ "propertyTypeTokenRange": {
6010
+ "startIndex": 1,
6011
+ "endIndex": 2
6012
+ }
6013
+ }
6014
+ ],
6015
+ "extendsTokenRanges": [
6016
+ {
6017
+ "startIndex": 1,
6018
+ "endIndex": 2
6019
+ }
6020
+ ]
6021
+ },
6022
+ {
6023
+ "kind": "Function",
6024
+ "canonicalReference": "@alloy-js/typescript!IfStatement:function(1)",
6025
+ "docComment": "/**\n * An if statement.\n */\n",
6026
+ "excerptTokens": [
6027
+ {
6028
+ "kind": "Content",
6029
+ "text": "export declare function IfStatement(props: "
6030
+ },
6031
+ {
6032
+ "kind": "Reference",
6033
+ "text": "IfStatementProps",
6034
+ "canonicalReference": "@alloy-js/typescript!IfStatementProps:interface"
6035
+ },
6036
+ {
6037
+ "kind": "Content",
6038
+ "text": "): "
6039
+ },
6040
+ {
6041
+ "kind": "Reference",
6042
+ "text": "Children",
6043
+ "canonicalReference": "@alloy-js/core!Children:type"
6044
+ },
6045
+ {
6046
+ "kind": "Content",
6047
+ "text": ";"
6048
+ }
6049
+ ],
6050
+ "fileUrlPath": "src/components/IfStatement.tsx",
6051
+ "returnTypeTokenRange": {
6052
+ "startIndex": 3,
6053
+ "endIndex": 4
6054
+ },
6055
+ "releaseTag": "Public",
6056
+ "overloadIndex": 1,
6057
+ "parameters": [
6058
+ {
6059
+ "parameterName": "props",
6060
+ "parameterTypeTokenRange": {
6061
+ "startIndex": 1,
6062
+ "endIndex": 2
6063
+ },
6064
+ "isOptional": false
6065
+ }
6066
+ ],
6067
+ "name": "IfStatement"
6068
+ },
6069
+ {
6070
+ "kind": "Interface",
6071
+ "canonicalReference": "@alloy-js/typescript!IfStatementProps:interface",
6072
+ "docComment": "",
6073
+ "excerptTokens": [
6074
+ {
6075
+ "kind": "Content",
6076
+ "text": "export interface IfStatementProps "
6077
+ }
6078
+ ],
6079
+ "fileUrlPath": "src/components/IfStatement.tsx",
6080
+ "releaseTag": "Public",
6081
+ "name": "IfStatementProps",
6082
+ "preserveMemberOrder": false,
6083
+ "members": [
6084
+ {
6085
+ "kind": "PropertySignature",
6086
+ "canonicalReference": "@alloy-js/typescript!IfStatementProps#children:member",
6087
+ "docComment": "",
6088
+ "excerptTokens": [
6089
+ {
6090
+ "kind": "Content",
6091
+ "text": "children: "
6092
+ },
6093
+ {
6094
+ "kind": "Reference",
6095
+ "text": "Children",
6096
+ "canonicalReference": "@alloy-js/core!Children:type"
6097
+ },
6098
+ {
6099
+ "kind": "Content",
6100
+ "text": ";"
6101
+ }
6102
+ ],
6103
+ "isReadonly": false,
6104
+ "isOptional": false,
6105
+ "releaseTag": "Public",
6106
+ "name": "children",
6107
+ "propertyTypeTokenRange": {
6108
+ "startIndex": 1,
6109
+ "endIndex": 2
6110
+ }
6111
+ },
6112
+ {
6113
+ "kind": "PropertySignature",
6114
+ "canonicalReference": "@alloy-js/typescript!IfStatementProps#condition:member",
6115
+ "docComment": "",
6116
+ "excerptTokens": [
6117
+ {
6118
+ "kind": "Content",
6119
+ "text": "condition: "
6120
+ },
6121
+ {
6122
+ "kind": "Reference",
6123
+ "text": "Children",
6124
+ "canonicalReference": "@alloy-js/core!Children:type"
6125
+ },
6126
+ {
6127
+ "kind": "Content",
6128
+ "text": ";"
6129
+ }
6130
+ ],
6131
+ "isReadonly": false,
6132
+ "isOptional": false,
6133
+ "releaseTag": "Public",
6134
+ "name": "condition",
6135
+ "propertyTypeTokenRange": {
6136
+ "startIndex": 1,
6137
+ "endIndex": 2
4621
6138
  }
4622
6139
  }
4623
6140
  ],
4624
6141
  "extendsTokenRanges": []
4625
6142
  },
4626
6143
  {
4627
- "kind": "Variable",
4628
- "canonicalReference": "@alloy-js/typescript!functionTypeParametersTag:var",
6144
+ "kind": "Interface",
6145
+ "canonicalReference": "@alloy-js/typescript!ImportedSymbol:interface",
6146
+ "docComment": "",
6147
+ "excerptTokens": [
6148
+ {
6149
+ "kind": "Content",
6150
+ "text": "export interface ImportedSymbol "
6151
+ }
6152
+ ],
6153
+ "fileUrlPath": "src/symbols/ts-module-scope.ts",
6154
+ "releaseTag": "Public",
6155
+ "name": "ImportedSymbol",
6156
+ "preserveMemberOrder": false,
6157
+ "members": [
6158
+ {
6159
+ "kind": "PropertySignature",
6160
+ "canonicalReference": "@alloy-js/typescript!ImportedSymbol#local:member",
6161
+ "docComment": "",
6162
+ "excerptTokens": [
6163
+ {
6164
+ "kind": "Content",
6165
+ "text": "local: "
6166
+ },
6167
+ {
6168
+ "kind": "Reference",
6169
+ "text": "TSOutputSymbol",
6170
+ "canonicalReference": "@alloy-js/typescript!TSOutputSymbol:interface"
6171
+ },
6172
+ {
6173
+ "kind": "Content",
6174
+ "text": ";"
6175
+ }
6176
+ ],
6177
+ "isReadonly": false,
6178
+ "isOptional": false,
6179
+ "releaseTag": "Public",
6180
+ "name": "local",
6181
+ "propertyTypeTokenRange": {
6182
+ "startIndex": 1,
6183
+ "endIndex": 2
6184
+ }
6185
+ },
6186
+ {
6187
+ "kind": "PropertySignature",
6188
+ "canonicalReference": "@alloy-js/typescript!ImportedSymbol#target:member",
6189
+ "docComment": "",
6190
+ "excerptTokens": [
6191
+ {
6192
+ "kind": "Content",
6193
+ "text": "target: "
6194
+ },
6195
+ {
6196
+ "kind": "Reference",
6197
+ "text": "TSOutputSymbol",
6198
+ "canonicalReference": "@alloy-js/typescript!TSOutputSymbol:interface"
6199
+ },
6200
+ {
6201
+ "kind": "Content",
6202
+ "text": ";"
6203
+ }
6204
+ ],
6205
+ "isReadonly": false,
6206
+ "isOptional": false,
6207
+ "releaseTag": "Public",
6208
+ "name": "target",
6209
+ "propertyTypeTokenRange": {
6210
+ "startIndex": 1,
6211
+ "endIndex": 2
6212
+ }
6213
+ }
6214
+ ],
6215
+ "extendsTokenRanges": []
6216
+ },
6217
+ {
6218
+ "kind": "TypeAlias",
6219
+ "canonicalReference": "@alloy-js/typescript!ImportRecords:type",
6220
+ "docComment": "",
6221
+ "excerptTokens": [
6222
+ {
6223
+ "kind": "Content",
6224
+ "text": "export type ImportRecords = "
6225
+ },
6226
+ {
6227
+ "kind": "Reference",
6228
+ "text": "Map",
6229
+ "canonicalReference": "!Map:interface"
6230
+ },
6231
+ {
6232
+ "kind": "Content",
6233
+ "text": "<"
6234
+ },
6235
+ {
6236
+ "kind": "Reference",
6237
+ "text": "TSModuleScope",
6238
+ "canonicalReference": "@alloy-js/typescript!TSModuleScope:interface"
6239
+ },
6240
+ {
6241
+ "kind": "Content",
6242
+ "text": ", "
6243
+ },
6244
+ {
6245
+ "kind": "Reference",
6246
+ "text": "Set",
6247
+ "canonicalReference": "!Set:interface"
6248
+ },
6249
+ {
6250
+ "kind": "Content",
6251
+ "text": "<"
6252
+ },
6253
+ {
6254
+ "kind": "Reference",
6255
+ "text": "ImportedSymbol",
6256
+ "canonicalReference": "@alloy-js/typescript!ImportedSymbol:interface"
6257
+ },
6258
+ {
6259
+ "kind": "Content",
6260
+ "text": ">>"
6261
+ },
6262
+ {
6263
+ "kind": "Content",
6264
+ "text": ";"
6265
+ }
6266
+ ],
6267
+ "fileUrlPath": "src/symbols/ts-module-scope.ts",
6268
+ "releaseTag": "Public",
6269
+ "name": "ImportRecords",
6270
+ "typeTokenRange": {
6271
+ "startIndex": 1,
6272
+ "endIndex": 9
6273
+ }
6274
+ },
6275
+ {
6276
+ "kind": "Function",
6277
+ "canonicalReference": "@alloy-js/typescript!ImportStatement:function(1)",
4629
6278
  "docComment": "",
4630
6279
  "excerptTokens": [
4631
6280
  {
4632
6281
  "kind": "Content",
4633
- "text": "functionTypeParametersTag: "
6282
+ "text": "export declare function ImportStatement(props: "
6283
+ },
6284
+ {
6285
+ "kind": "Reference",
6286
+ "text": "ImportStatementProps",
6287
+ "canonicalReference": "@alloy-js/typescript!ImportStatementProps:interface"
6288
+ },
6289
+ {
6290
+ "kind": "Content",
6291
+ "text": "): "
6292
+ },
6293
+ {
6294
+ "kind": "Content",
6295
+ "text": "() => any[]"
4634
6296
  },
4635
6297
  {
4636
6298
  "kind": "Content",
4637
- "text": "unique symbol"
6299
+ "text": ";"
4638
6300
  }
4639
6301
  ],
4640
- "fileUrlPath": "src/components/FunctionDeclaration.tsx",
4641
- "isReadonly": true,
6302
+ "fileUrlPath": "src/components/ImportStatement.tsx",
6303
+ "returnTypeTokenRange": {
6304
+ "startIndex": 3,
6305
+ "endIndex": 4
6306
+ },
4642
6307
  "releaseTag": "Public",
4643
- "name": "functionTypeParametersTag",
4644
- "variableTypeTokenRange": {
4645
- "startIndex": 1,
4646
- "endIndex": 2
4647
- }
6308
+ "overloadIndex": 1,
6309
+ "parameters": [
6310
+ {
6311
+ "parameterName": "props",
6312
+ "parameterTypeTokenRange": {
6313
+ "startIndex": 1,
6314
+ "endIndex": 2
6315
+ },
6316
+ "isOptional": false
6317
+ }
6318
+ ],
6319
+ "name": "ImportStatement"
4648
6320
  },
4649
6321
  {
4650
6322
  "kind": "Interface",
4651
- "canonicalReference": "@alloy-js/typescript!ImportedSymbol:interface",
6323
+ "canonicalReference": "@alloy-js/typescript!ImportStatementProps:interface",
4652
6324
  "docComment": "",
4653
6325
  "excerptTokens": [
4654
6326
  {
4655
6327
  "kind": "Content",
4656
- "text": "export interface ImportedSymbol "
6328
+ "text": "export interface ImportStatementProps "
4657
6329
  }
4658
6330
  ],
4659
- "fileUrlPath": "src/symbols/ts-module-scope.ts",
6331
+ "fileUrlPath": "src/components/ImportStatement.tsx",
4660
6332
  "releaseTag": "Public",
4661
- "name": "ImportedSymbol",
6333
+ "name": "ImportStatementProps",
4662
6334
  "preserveMemberOrder": false,
4663
6335
  "members": [
4664
6336
  {
4665
6337
  "kind": "PropertySignature",
4666
- "canonicalReference": "@alloy-js/typescript!ImportedSymbol#local:member",
6338
+ "canonicalReference": "@alloy-js/typescript!ImportStatementProps#path:member",
4667
6339
  "docComment": "",
4668
6340
  "excerptTokens": [
4669
6341
  {
4670
6342
  "kind": "Content",
4671
- "text": "local: "
6343
+ "text": "path: "
4672
6344
  },
4673
6345
  {
4674
- "kind": "Reference",
4675
- "text": "TSOutputSymbol",
4676
- "canonicalReference": "@alloy-js/typescript!TSOutputSymbol:interface"
6346
+ "kind": "Content",
6347
+ "text": "string"
4677
6348
  },
4678
6349
  {
4679
6350
  "kind": "Content",
@@ -4683,7 +6354,7 @@
4683
6354
  "isReadonly": false,
4684
6355
  "isOptional": false,
4685
6356
  "releaseTag": "Public",
4686
- "name": "local",
6357
+ "name": "path",
4687
6358
  "propertyTypeTokenRange": {
4688
6359
  "startIndex": 1,
4689
6360
  "endIndex": 2
@@ -4691,17 +6362,30 @@
4691
6362
  },
4692
6363
  {
4693
6364
  "kind": "PropertySignature",
4694
- "canonicalReference": "@alloy-js/typescript!ImportedSymbol#target:member",
6365
+ "canonicalReference": "@alloy-js/typescript!ImportStatementProps#symbols:member",
4695
6366
  "docComment": "",
4696
6367
  "excerptTokens": [
4697
6368
  {
4698
6369
  "kind": "Content",
4699
- "text": "target: "
6370
+ "text": "symbols: "
4700
6371
  },
4701
6372
  {
4702
6373
  "kind": "Reference",
4703
- "text": "TSOutputSymbol",
4704
- "canonicalReference": "@alloy-js/typescript!TSOutputSymbol:interface"
6374
+ "text": "Set",
6375
+ "canonicalReference": "!Set:interface"
6376
+ },
6377
+ {
6378
+ "kind": "Content",
6379
+ "text": "<"
6380
+ },
6381
+ {
6382
+ "kind": "Reference",
6383
+ "text": "ImportedSymbol",
6384
+ "canonicalReference": "@alloy-js/typescript!ImportedSymbol:interface"
6385
+ },
6386
+ {
6387
+ "kind": "Content",
6388
+ "text": ">"
4705
6389
  },
4706
6390
  {
4707
6391
  "kind": "Content",
@@ -4711,101 +6395,252 @@
4711
6395
  "isReadonly": false,
4712
6396
  "isOptional": false,
4713
6397
  "releaseTag": "Public",
4714
- "name": "target",
6398
+ "name": "symbols",
4715
6399
  "propertyTypeTokenRange": {
4716
6400
  "startIndex": 1,
4717
- "endIndex": 2
6401
+ "endIndex": 5
4718
6402
  }
4719
6403
  }
4720
6404
  ],
4721
6405
  "extendsTokenRanges": []
4722
6406
  },
4723
6407
  {
4724
- "kind": "TypeAlias",
4725
- "canonicalReference": "@alloy-js/typescript!ImportRecords:type",
6408
+ "kind": "Function",
6409
+ "canonicalReference": "@alloy-js/typescript!ImportStatements:function(1)",
4726
6410
  "docComment": "",
4727
6411
  "excerptTokens": [
4728
6412
  {
4729
6413
  "kind": "Content",
4730
- "text": "export type ImportRecords = "
6414
+ "text": "export declare function ImportStatements(props: "
4731
6415
  },
4732
6416
  {
4733
6417
  "kind": "Reference",
4734
- "text": "Map",
4735
- "canonicalReference": "!Map:interface"
6418
+ "text": "ImportStatementsProps",
6419
+ "canonicalReference": "@alloy-js/typescript!ImportStatementsProps:interface"
4736
6420
  },
4737
6421
  {
4738
6422
  "kind": "Content",
4739
- "text": "<"
6423
+ "text": "): "
6424
+ },
6425
+ {
6426
+ "kind": "Content",
6427
+ "text": "() => import(\"@alloy-js/core\")."
4740
6428
  },
4741
6429
  {
4742
6430
  "kind": "Reference",
4743
- "text": "TSModuleScope",
4744
- "canonicalReference": "@alloy-js/typescript!TSModuleScope:interface"
6431
+ "text": "Children",
6432
+ "canonicalReference": "@alloy-js/core!Children:type"
4745
6433
  },
4746
6434
  {
4747
6435
  "kind": "Content",
4748
- "text": ", "
6436
+ "text": "[]"
6437
+ },
6438
+ {
6439
+ "kind": "Content",
6440
+ "text": ";"
6441
+ }
6442
+ ],
6443
+ "fileUrlPath": "src/components/ImportStatement.tsx",
6444
+ "returnTypeTokenRange": {
6445
+ "startIndex": 3,
6446
+ "endIndex": 6
6447
+ },
6448
+ "releaseTag": "Public",
6449
+ "overloadIndex": 1,
6450
+ "parameters": [
6451
+ {
6452
+ "parameterName": "props",
6453
+ "parameterTypeTokenRange": {
6454
+ "startIndex": 1,
6455
+ "endIndex": 2
6456
+ },
6457
+ "isOptional": false
6458
+ }
6459
+ ],
6460
+ "name": "ImportStatements"
6461
+ },
6462
+ {
6463
+ "kind": "Interface",
6464
+ "canonicalReference": "@alloy-js/typescript!ImportStatementsProps:interface",
6465
+ "docComment": "",
6466
+ "excerptTokens": [
6467
+ {
6468
+ "kind": "Content",
6469
+ "text": "export interface ImportStatementsProps "
6470
+ }
6471
+ ],
6472
+ "fileUrlPath": "src/components/ImportStatement.tsx",
6473
+ "releaseTag": "Public",
6474
+ "name": "ImportStatementsProps",
6475
+ "preserveMemberOrder": false,
6476
+ "members": [
6477
+ {
6478
+ "kind": "PropertySignature",
6479
+ "canonicalReference": "@alloy-js/typescript!ImportStatementsProps#records:member",
6480
+ "docComment": "",
6481
+ "excerptTokens": [
6482
+ {
6483
+ "kind": "Content",
6484
+ "text": "records: "
6485
+ },
6486
+ {
6487
+ "kind": "Reference",
6488
+ "text": "ImportRecords",
6489
+ "canonicalReference": "@alloy-js/typescript!ImportRecords:type"
6490
+ },
6491
+ {
6492
+ "kind": "Content",
6493
+ "text": ";"
6494
+ }
6495
+ ],
6496
+ "isReadonly": false,
6497
+ "isOptional": false,
6498
+ "releaseTag": "Public",
6499
+ "name": "records",
6500
+ "propertyTypeTokenRange": {
6501
+ "startIndex": 1,
6502
+ "endIndex": 2
6503
+ }
6504
+ }
6505
+ ],
6506
+ "extendsTokenRanges": []
6507
+ },
6508
+ {
6509
+ "kind": "Function",
6510
+ "canonicalReference": "@alloy-js/typescript!InterfaceDeclaration:function(1)",
6511
+ "docComment": "/**\n * Create a TypeScript interface declaration.\n *\n * @remarks\n *\n *\n *\n * This component will declare a symbol for this interface. The `export` and\n * `default` boolean props determine whether and how this symbol is exported\n * from the package.\n */\n",
6512
+ "excerptTokens": [
6513
+ {
6514
+ "kind": "Content",
6515
+ "text": "export declare function InterfaceDeclaration(props: "
4749
6516
  },
4750
6517
  {
4751
6518
  "kind": "Reference",
4752
- "text": "Set",
4753
- "canonicalReference": "!Set:interface"
6519
+ "text": "InterfaceDeclarationProps",
6520
+ "canonicalReference": "@alloy-js/typescript!InterfaceDeclarationProps:interface"
4754
6521
  },
4755
6522
  {
4756
6523
  "kind": "Content",
4757
- "text": "<"
6524
+ "text": "): "
4758
6525
  },
4759
6526
  {
4760
6527
  "kind": "Reference",
4761
- "text": "ImportedSymbol",
4762
- "canonicalReference": "@alloy-js/typescript!ImportedSymbol:interface"
6528
+ "text": "Children",
6529
+ "canonicalReference": "@alloy-js/core!Children:type"
4763
6530
  },
4764
6531
  {
4765
6532
  "kind": "Content",
4766
- "text": ">>"
6533
+ "text": ";"
6534
+ }
6535
+ ],
6536
+ "fileUrlPath": "src/components/Interface.tsx",
6537
+ "returnTypeTokenRange": {
6538
+ "startIndex": 3,
6539
+ "endIndex": 4
6540
+ },
6541
+ "releaseTag": "Public",
6542
+ "overloadIndex": 1,
6543
+ "parameters": [
6544
+ {
6545
+ "parameterName": "props",
6546
+ "parameterTypeTokenRange": {
6547
+ "startIndex": 1,
6548
+ "endIndex": 2
6549
+ },
6550
+ "isOptional": false
6551
+ }
6552
+ ],
6553
+ "name": "InterfaceDeclaration"
6554
+ },
6555
+ {
6556
+ "kind": "Interface",
6557
+ "canonicalReference": "@alloy-js/typescript!InterfaceDeclarationProps:interface",
6558
+ "docComment": "",
6559
+ "excerptTokens": [
6560
+ {
6561
+ "kind": "Content",
6562
+ "text": "export interface InterfaceDeclarationProps extends "
6563
+ },
6564
+ {
6565
+ "kind": "Reference",
6566
+ "text": "BaseDeclarationProps",
6567
+ "canonicalReference": "@alloy-js/typescript!BaseDeclarationProps:interface"
4767
6568
  },
4768
6569
  {
4769
6570
  "kind": "Content",
4770
- "text": ";"
6571
+ "text": " "
4771
6572
  }
4772
6573
  ],
4773
- "fileUrlPath": "src/symbols/ts-module-scope.ts",
6574
+ "fileUrlPath": "src/components/Interface.tsx",
4774
6575
  "releaseTag": "Public",
4775
- "name": "ImportRecords",
4776
- "typeTokenRange": {
4777
- "startIndex": 1,
4778
- "endIndex": 9
4779
- }
6576
+ "name": "InterfaceDeclarationProps",
6577
+ "preserveMemberOrder": false,
6578
+ "members": [
6579
+ {
6580
+ "kind": "PropertySignature",
6581
+ "canonicalReference": "@alloy-js/typescript!InterfaceDeclarationProps#extends:member",
6582
+ "docComment": "",
6583
+ "excerptTokens": [
6584
+ {
6585
+ "kind": "Content",
6586
+ "text": "extends?: "
6587
+ },
6588
+ {
6589
+ "kind": "Reference",
6590
+ "text": "Children",
6591
+ "canonicalReference": "@alloy-js/core!Children:type"
6592
+ },
6593
+ {
6594
+ "kind": "Content",
6595
+ "text": ";"
6596
+ }
6597
+ ],
6598
+ "isReadonly": false,
6599
+ "isOptional": true,
6600
+ "releaseTag": "Public",
6601
+ "name": "extends",
6602
+ "propertyTypeTokenRange": {
6603
+ "startIndex": 1,
6604
+ "endIndex": 2
6605
+ }
6606
+ }
6607
+ ],
6608
+ "extendsTokenRanges": [
6609
+ {
6610
+ "startIndex": 1,
6611
+ "endIndex": 2
6612
+ }
6613
+ ]
4780
6614
  },
4781
6615
  {
4782
6616
  "kind": "Function",
4783
- "canonicalReference": "@alloy-js/typescript!ImportStatement:function(1)",
6617
+ "canonicalReference": "@alloy-js/typescript!InterfaceExpression:function(1)",
4784
6618
  "docComment": "",
4785
6619
  "excerptTokens": [
4786
6620
  {
4787
6621
  "kind": "Content",
4788
- "text": "export declare function ImportStatement(props: "
6622
+ "text": "export declare function InterfaceExpression(props: "
4789
6623
  },
4790
6624
  {
4791
6625
  "kind": "Reference",
4792
- "text": "ImportStatementProps",
4793
- "canonicalReference": "@alloy-js/typescript!ImportStatementProps:interface"
6626
+ "text": "InterfaceExpressionProps",
6627
+ "canonicalReference": "@alloy-js/typescript!InterfaceExpressionProps:interface"
4794
6628
  },
4795
6629
  {
4796
6630
  "kind": "Content",
4797
6631
  "text": "): "
4798
6632
  },
4799
6633
  {
4800
- "kind": "Content",
4801
- "text": "() => any[]"
6634
+ "kind": "Reference",
6635
+ "text": "Children",
6636
+ "canonicalReference": "@alloy-js/core!Children:type"
4802
6637
  },
4803
6638
  {
4804
6639
  "kind": "Content",
4805
6640
  "text": ";"
4806
6641
  }
4807
6642
  ],
4808
- "fileUrlPath": "src/components/ImportStatement.tsx",
6643
+ "fileUrlPath": "src/components/Interface.tsx",
4809
6644
  "returnTypeTokenRange": {
4810
6645
  "startIndex": 3,
4811
6646
  "endIndex": 4
@@ -4822,76 +6657,36 @@
4822
6657
  "isOptional": false
4823
6658
  }
4824
6659
  ],
4825
- "name": "ImportStatement"
6660
+ "name": "InterfaceExpression"
4826
6661
  },
4827
6662
  {
4828
6663
  "kind": "Interface",
4829
- "canonicalReference": "@alloy-js/typescript!ImportStatementProps:interface",
6664
+ "canonicalReference": "@alloy-js/typescript!InterfaceExpressionProps:interface",
4830
6665
  "docComment": "",
4831
6666
  "excerptTokens": [
4832
6667
  {
4833
6668
  "kind": "Content",
4834
- "text": "export interface ImportStatementProps "
6669
+ "text": "export interface InterfaceExpressionProps "
4835
6670
  }
4836
6671
  ],
4837
- "fileUrlPath": "src/components/ImportStatement.tsx",
6672
+ "fileUrlPath": "src/components/Interface.tsx",
4838
6673
  "releaseTag": "Public",
4839
- "name": "ImportStatementProps",
6674
+ "name": "InterfaceExpressionProps",
4840
6675
  "preserveMemberOrder": false,
4841
6676
  "members": [
4842
6677
  {
4843
6678
  "kind": "PropertySignature",
4844
- "canonicalReference": "@alloy-js/typescript!ImportStatementProps#path:member",
4845
- "docComment": "",
4846
- "excerptTokens": [
4847
- {
4848
- "kind": "Content",
4849
- "text": "path: "
4850
- },
4851
- {
4852
- "kind": "Content",
4853
- "text": "string"
4854
- },
4855
- {
4856
- "kind": "Content",
4857
- "text": ";"
4858
- }
4859
- ],
4860
- "isReadonly": false,
4861
- "isOptional": false,
4862
- "releaseTag": "Public",
4863
- "name": "path",
4864
- "propertyTypeTokenRange": {
4865
- "startIndex": 1,
4866
- "endIndex": 2
4867
- }
4868
- },
4869
- {
4870
- "kind": "PropertySignature",
4871
- "canonicalReference": "@alloy-js/typescript!ImportStatementProps#symbols:member",
6679
+ "canonicalReference": "@alloy-js/typescript!InterfaceExpressionProps#children:member",
4872
6680
  "docComment": "",
4873
6681
  "excerptTokens": [
4874
6682
  {
4875
6683
  "kind": "Content",
4876
- "text": "symbols: "
4877
- },
4878
- {
4879
- "kind": "Reference",
4880
- "text": "Set",
4881
- "canonicalReference": "!Set:interface"
4882
- },
4883
- {
4884
- "kind": "Content",
4885
- "text": "<"
6684
+ "text": "children?: "
4886
6685
  },
4887
6686
  {
4888
6687
  "kind": "Reference",
4889
- "text": "ImportedSymbol",
4890
- "canonicalReference": "@alloy-js/typescript!ImportedSymbol:interface"
4891
- },
4892
- {
4893
- "kind": "Content",
4894
- "text": ">"
6688
+ "text": "Children",
6689
+ "canonicalReference": "@alloy-js/core!Children:type"
4895
6690
  },
4896
6691
  {
4897
6692
  "kind": "Content",
@@ -4899,12 +6694,12 @@
4899
6694
  }
4900
6695
  ],
4901
6696
  "isReadonly": false,
4902
- "isOptional": false,
6697
+ "isOptional": true,
4903
6698
  "releaseTag": "Public",
4904
- "name": "symbols",
6699
+ "name": "children",
4905
6700
  "propertyTypeTokenRange": {
4906
6701
  "startIndex": 1,
4907
- "endIndex": 5
6702
+ "endIndex": 2
4908
6703
  }
4909
6704
  }
4910
6705
  ],
@@ -4912,44 +6707,36 @@
4912
6707
  },
4913
6708
  {
4914
6709
  "kind": "Function",
4915
- "canonicalReference": "@alloy-js/typescript!ImportStatements:function(1)",
4916
- "docComment": "",
6710
+ "canonicalReference": "@alloy-js/typescript!InterfaceMember:function(1)",
6711
+ "docComment": "/**\n * Create a TypeScript interface member.\n *\n * An interface member can either provide a `name` prop to create a named\n * property, or an `indexer` prop to define an indexer for the interface.\n *\n * The type of the member can be provided either as the `type` prop or as the\n * children of the component.\n */\n",
4917
6712
  "excerptTokens": [
4918
6713
  {
4919
6714
  "kind": "Content",
4920
- "text": "export declare function ImportStatements(props: "
6715
+ "text": "export declare function InterfaceMember(props: "
4921
6716
  },
4922
6717
  {
4923
6718
  "kind": "Reference",
4924
- "text": "ImportStatementsProps",
4925
- "canonicalReference": "@alloy-js/typescript!ImportStatementsProps:interface"
6719
+ "text": "InterfaceMemberProps",
6720
+ "canonicalReference": "@alloy-js/typescript!InterfaceMemberProps:interface"
4926
6721
  },
4927
6722
  {
4928
6723
  "kind": "Content",
4929
6724
  "text": "): "
4930
6725
  },
4931
- {
4932
- "kind": "Content",
4933
- "text": "() => import(\"@alloy-js/core\")."
4934
- },
4935
6726
  {
4936
6727
  "kind": "Reference",
4937
6728
  "text": "Children",
4938
6729
  "canonicalReference": "@alloy-js/core!Children:type"
4939
6730
  },
4940
- {
4941
- "kind": "Content",
4942
- "text": "[]"
4943
- },
4944
6731
  {
4945
6732
  "kind": "Content",
4946
6733
  "text": ";"
4947
6734
  }
4948
6735
  ],
4949
- "fileUrlPath": "src/components/ImportStatement.tsx",
6736
+ "fileUrlPath": "src/components/Interface.tsx",
4950
6737
  "returnTypeTokenRange": {
4951
6738
  "startIndex": 3,
4952
- "endIndex": 6
6739
+ "endIndex": 4
4953
6740
  },
4954
6741
  "releaseTag": "Public",
4955
6742
  "overloadIndex": 1,
@@ -4963,36 +6750,173 @@
4963
6750
  "isOptional": false
4964
6751
  }
4965
6752
  ],
4966
- "name": "ImportStatements"
6753
+ "name": "InterfaceMember"
4967
6754
  },
4968
6755
  {
4969
6756
  "kind": "Interface",
4970
- "canonicalReference": "@alloy-js/typescript!ImportStatementsProps:interface",
6757
+ "canonicalReference": "@alloy-js/typescript!InterfaceMemberProps:interface",
4971
6758
  "docComment": "",
4972
6759
  "excerptTokens": [
4973
6760
  {
4974
6761
  "kind": "Content",
4975
- "text": "export interface ImportStatementsProps "
6762
+ "text": "export interface InterfaceMemberProps "
4976
6763
  }
4977
6764
  ],
4978
- "fileUrlPath": "src/components/ImportStatement.tsx",
6765
+ "fileUrlPath": "src/components/Interface.tsx",
4979
6766
  "releaseTag": "Public",
4980
- "name": "ImportStatementsProps",
6767
+ "name": "InterfaceMemberProps",
4981
6768
  "preserveMemberOrder": false,
4982
6769
  "members": [
4983
6770
  {
4984
6771
  "kind": "PropertySignature",
4985
- "canonicalReference": "@alloy-js/typescript!ImportStatementsProps#records:member",
6772
+ "canonicalReference": "@alloy-js/typescript!InterfaceMemberProps#children:member",
6773
+ "docComment": "",
6774
+ "excerptTokens": [
6775
+ {
6776
+ "kind": "Content",
6777
+ "text": "children?: "
6778
+ },
6779
+ {
6780
+ "kind": "Reference",
6781
+ "text": "Children",
6782
+ "canonicalReference": "@alloy-js/core!Children:type"
6783
+ },
6784
+ {
6785
+ "kind": "Content",
6786
+ "text": ";"
6787
+ }
6788
+ ],
6789
+ "isReadonly": false,
6790
+ "isOptional": true,
6791
+ "releaseTag": "Public",
6792
+ "name": "children",
6793
+ "propertyTypeTokenRange": {
6794
+ "startIndex": 1,
6795
+ "endIndex": 2
6796
+ }
6797
+ },
6798
+ {
6799
+ "kind": "PropertySignature",
6800
+ "canonicalReference": "@alloy-js/typescript!InterfaceMemberProps#doc:member",
6801
+ "docComment": "",
6802
+ "excerptTokens": [
6803
+ {
6804
+ "kind": "Content",
6805
+ "text": "doc?: "
6806
+ },
6807
+ {
6808
+ "kind": "Reference",
6809
+ "text": "Children",
6810
+ "canonicalReference": "@alloy-js/core!Children:type"
6811
+ },
6812
+ {
6813
+ "kind": "Content",
6814
+ "text": ";"
6815
+ }
6816
+ ],
6817
+ "isReadonly": false,
6818
+ "isOptional": true,
6819
+ "releaseTag": "Public",
6820
+ "name": "doc",
6821
+ "propertyTypeTokenRange": {
6822
+ "startIndex": 1,
6823
+ "endIndex": 2
6824
+ }
6825
+ },
6826
+ {
6827
+ "kind": "PropertySignature",
6828
+ "canonicalReference": "@alloy-js/typescript!InterfaceMemberProps#indexer:member",
6829
+ "docComment": "",
6830
+ "excerptTokens": [
6831
+ {
6832
+ "kind": "Content",
6833
+ "text": "indexer?: "
6834
+ },
6835
+ {
6836
+ "kind": "Reference",
6837
+ "text": "Children",
6838
+ "canonicalReference": "@alloy-js/core!Children:type"
6839
+ },
6840
+ {
6841
+ "kind": "Content",
6842
+ "text": ";"
6843
+ }
6844
+ ],
6845
+ "isReadonly": false,
6846
+ "isOptional": true,
6847
+ "releaseTag": "Public",
6848
+ "name": "indexer",
6849
+ "propertyTypeTokenRange": {
6850
+ "startIndex": 1,
6851
+ "endIndex": 2
6852
+ }
6853
+ },
6854
+ {
6855
+ "kind": "PropertySignature",
6856
+ "canonicalReference": "@alloy-js/typescript!InterfaceMemberProps#name:member",
6857
+ "docComment": "",
6858
+ "excerptTokens": [
6859
+ {
6860
+ "kind": "Content",
6861
+ "text": "name?: "
6862
+ },
6863
+ {
6864
+ "kind": "Content",
6865
+ "text": "string"
6866
+ },
6867
+ {
6868
+ "kind": "Content",
6869
+ "text": ";"
6870
+ }
6871
+ ],
6872
+ "isReadonly": false,
6873
+ "isOptional": true,
6874
+ "releaseTag": "Public",
6875
+ "name": "name",
6876
+ "propertyTypeTokenRange": {
6877
+ "startIndex": 1,
6878
+ "endIndex": 2
6879
+ }
6880
+ },
6881
+ {
6882
+ "kind": "PropertySignature",
6883
+ "canonicalReference": "@alloy-js/typescript!InterfaceMemberProps#optional:member",
6884
+ "docComment": "",
6885
+ "excerptTokens": [
6886
+ {
6887
+ "kind": "Content",
6888
+ "text": "optional?: "
6889
+ },
6890
+ {
6891
+ "kind": "Content",
6892
+ "text": "boolean"
6893
+ },
6894
+ {
6895
+ "kind": "Content",
6896
+ "text": ";"
6897
+ }
6898
+ ],
6899
+ "isReadonly": false,
6900
+ "isOptional": true,
6901
+ "releaseTag": "Public",
6902
+ "name": "optional",
6903
+ "propertyTypeTokenRange": {
6904
+ "startIndex": 1,
6905
+ "endIndex": 2
6906
+ }
6907
+ },
6908
+ {
6909
+ "kind": "PropertySignature",
6910
+ "canonicalReference": "@alloy-js/typescript!InterfaceMemberProps#readonly:member",
4986
6911
  "docComment": "",
4987
6912
  "excerptTokens": [
4988
6913
  {
4989
6914
  "kind": "Content",
4990
- "text": "records: "
6915
+ "text": "readonly?: "
4991
6916
  },
4992
6917
  {
4993
- "kind": "Reference",
4994
- "text": "ImportRecords",
4995
- "canonicalReference": "@alloy-js/typescript!ImportRecords:type"
6918
+ "kind": "Content",
6919
+ "text": "boolean"
4996
6920
  },
4997
6921
  {
4998
6922
  "kind": "Content",
@@ -5000,96 +6924,63 @@
5000
6924
  }
5001
6925
  ],
5002
6926
  "isReadonly": false,
5003
- "isOptional": false,
6927
+ "isOptional": true,
5004
6928
  "releaseTag": "Public",
5005
- "name": "records",
6929
+ "name": "readonly",
5006
6930
  "propertyTypeTokenRange": {
5007
6931
  "startIndex": 1,
5008
6932
  "endIndex": 2
5009
6933
  }
5010
- }
5011
- ],
5012
- "extendsTokenRanges": []
5013
- },
5014
- {
5015
- "kind": "Function",
5016
- "canonicalReference": "@alloy-js/typescript!InterfaceDeclaration:function(1)",
5017
- "docComment": "/**\n * Create a TypeScript interface declaration.\n *\n * @remarks\n *\n *\n *\n * This component will declare a symbol for this interface. The `export` and\n * `default` boolean props determine whether and how this symbol is exported\n * from the package.\n */\n",
5018
- "excerptTokens": [
5019
- {
5020
- "kind": "Content",
5021
- "text": "export declare function InterfaceDeclaration(props: "
5022
- },
5023
- {
5024
- "kind": "Reference",
5025
- "text": "InterfaceDeclarationProps",
5026
- "canonicalReference": "@alloy-js/typescript!InterfaceDeclarationProps:interface"
5027
- },
5028
- {
5029
- "kind": "Content",
5030
- "text": "): "
5031
- },
5032
- {
5033
- "kind": "Reference",
5034
- "text": "Children",
5035
- "canonicalReference": "@alloy-js/core!Children:type"
5036
6934
  },
5037
6935
  {
5038
- "kind": "Content",
5039
- "text": ";"
5040
- }
5041
- ],
5042
- "fileUrlPath": "src/components/Interface.tsx",
5043
- "returnTypeTokenRange": {
5044
- "startIndex": 3,
5045
- "endIndex": 4
5046
- },
5047
- "releaseTag": "Public",
5048
- "overloadIndex": 1,
5049
- "parameters": [
5050
- {
5051
- "parameterName": "props",
5052
- "parameterTypeTokenRange": {
6936
+ "kind": "PropertySignature",
6937
+ "canonicalReference": "@alloy-js/typescript!InterfaceMemberProps#refkey:member",
6938
+ "docComment": "",
6939
+ "excerptTokens": [
6940
+ {
6941
+ "kind": "Content",
6942
+ "text": "refkey?: "
6943
+ },
6944
+ {
6945
+ "kind": "Reference",
6946
+ "text": "Refkey",
6947
+ "canonicalReference": "@alloy-js/core!Refkey:type"
6948
+ },
6949
+ {
6950
+ "kind": "Content",
6951
+ "text": " | "
6952
+ },
6953
+ {
6954
+ "kind": "Reference",
6955
+ "text": "Refkey",
6956
+ "canonicalReference": "@alloy-js/core!Refkey:type"
6957
+ },
6958
+ {
6959
+ "kind": "Content",
6960
+ "text": "[]"
6961
+ },
6962
+ {
6963
+ "kind": "Content",
6964
+ "text": ";"
6965
+ }
6966
+ ],
6967
+ "isReadonly": false,
6968
+ "isOptional": true,
6969
+ "releaseTag": "Public",
6970
+ "name": "refkey",
6971
+ "propertyTypeTokenRange": {
5053
6972
  "startIndex": 1,
5054
- "endIndex": 2
5055
- },
5056
- "isOptional": false
5057
- }
5058
- ],
5059
- "name": "InterfaceDeclaration"
5060
- },
5061
- {
5062
- "kind": "Interface",
5063
- "canonicalReference": "@alloy-js/typescript!InterfaceDeclarationProps:interface",
5064
- "docComment": "",
5065
- "excerptTokens": [
5066
- {
5067
- "kind": "Content",
5068
- "text": "export interface InterfaceDeclarationProps extends "
5069
- },
5070
- {
5071
- "kind": "Reference",
5072
- "text": "BaseDeclarationProps",
5073
- "canonicalReference": "@alloy-js/typescript!BaseDeclarationProps:interface"
6973
+ "endIndex": 5
6974
+ }
5074
6975
  },
5075
- {
5076
- "kind": "Content",
5077
- "text": " "
5078
- }
5079
- ],
5080
- "fileUrlPath": "src/components/Interface.tsx",
5081
- "releaseTag": "Public",
5082
- "name": "InterfaceDeclarationProps",
5083
- "preserveMemberOrder": false,
5084
- "members": [
5085
6976
  {
5086
6977
  "kind": "PropertySignature",
5087
- "canonicalReference": "@alloy-js/typescript!InterfaceDeclarationProps#extends:member",
6978
+ "canonicalReference": "@alloy-js/typescript!InterfaceMemberProps#type:member",
5088
6979
  "docComment": "",
5089
6980
  "excerptTokens": [
5090
6981
  {
5091
6982
  "kind": "Content",
5092
- "text": "extends?: "
6983
+ "text": "type?: "
5093
6984
  },
5094
6985
  {
5095
6986
  "kind": "Reference",
@@ -5104,33 +6995,28 @@
5104
6995
  "isReadonly": false,
5105
6996
  "isOptional": true,
5106
6997
  "releaseTag": "Public",
5107
- "name": "extends",
6998
+ "name": "type",
5108
6999
  "propertyTypeTokenRange": {
5109
7000
  "startIndex": 1,
5110
7001
  "endIndex": 2
5111
7002
  }
5112
7003
  }
5113
7004
  ],
5114
- "extendsTokenRanges": [
5115
- {
5116
- "startIndex": 1,
5117
- "endIndex": 2
5118
- }
5119
- ]
7005
+ "extendsTokenRanges": []
5120
7006
  },
5121
7007
  {
5122
7008
  "kind": "Function",
5123
- "canonicalReference": "@alloy-js/typescript!InterfaceExpression:function(1)",
5124
- "docComment": "",
7009
+ "canonicalReference": "@alloy-js/typescript!InterfaceMethod:function(1)",
7010
+ "docComment": "/**\n * An interface method declaration.\n *\n * @remarks\n *\n *\n *\n * Providing parameters and type parameters can be accomplished in one of three\n * ways:\n *\n * 1. As an array of {@link TypeParameterDescriptor}s or\n * {@link TypeParameterDescriptor}s.\n * 2. As raw content via the `parametersChildren` or `typeParametersChildren`\n * props.\n * 3. As a child of this component via the\n * {@link (InterfaceMethod:namespace).Parameters} or\n * {@link (InterfaceMethod:namespace).TypeParameters} components.\n *\n * @example\n * ```ts\n * (foo: string, bar: number) => void\n * ```\n *\n */\n",
5125
7011
  "excerptTokens": [
5126
7012
  {
5127
7013
  "kind": "Content",
5128
- "text": "export declare function InterfaceExpression(props: "
7014
+ "text": "export declare function InterfaceMethod(props: "
5129
7015
  },
5130
7016
  {
5131
7017
  "kind": "Reference",
5132
- "text": "InterfaceExpressionProps",
5133
- "canonicalReference": "@alloy-js/typescript!InterfaceExpressionProps:interface"
7018
+ "text": "InterfaceMethodProps",
7019
+ "canonicalReference": "@alloy-js/typescript!InterfaceMethodProps:interface"
5134
7020
  },
5135
7021
  {
5136
7022
  "kind": "Content",
@@ -5146,7 +7032,7 @@
5146
7032
  "text": ";"
5147
7033
  }
5148
7034
  ],
5149
- "fileUrlPath": "src/components/Interface.tsx",
7035
+ "fileUrlPath": "src/components/InterfaceMethod.tsx",
5150
7036
  "returnTypeTokenRange": {
5151
7037
  "startIndex": 3,
5152
7038
  "endIndex": 4
@@ -5163,139 +7049,223 @@
5163
7049
  "isOptional": false
5164
7050
  }
5165
7051
  ],
5166
- "name": "InterfaceExpression"
7052
+ "name": "InterfaceMethod"
5167
7053
  },
5168
7054
  {
5169
- "kind": "Interface",
5170
- "canonicalReference": "@alloy-js/typescript!InterfaceExpressionProps:interface",
7055
+ "kind": "Namespace",
7056
+ "canonicalReference": "@alloy-js/typescript!InterfaceMethod:namespace",
5171
7057
  "docComment": "",
5172
7058
  "excerptTokens": [
5173
7059
  {
5174
7060
  "kind": "Content",
5175
- "text": "export interface InterfaceExpressionProps "
7061
+ "text": "export declare namespace InterfaceMethod "
5176
7062
  }
5177
7063
  ],
5178
- "fileUrlPath": "src/components/Interface.tsx",
7064
+ "fileUrlPath": "src/components/InterfaceMethod.tsx",
5179
7065
  "releaseTag": "Public",
5180
- "name": "InterfaceExpressionProps",
7066
+ "name": "InterfaceMethod",
5181
7067
  "preserveMemberOrder": false,
5182
7068
  "members": [
5183
7069
  {
5184
- "kind": "PropertySignature",
5185
- "canonicalReference": "@alloy-js/typescript!InterfaceExpressionProps#children:member",
7070
+ "kind": "Variable",
7071
+ "canonicalReference": "@alloy-js/typescript!InterfaceMethod.Parameters:var",
7072
+ "docComment": "",
7073
+ "excerptTokens": [
7074
+ {
7075
+ "kind": "Content",
7076
+ "text": "Parameters: "
7077
+ },
7078
+ {
7079
+ "kind": "Content",
7080
+ "text": "import(\"@alloy-js/core\")."
7081
+ },
7082
+ {
7083
+ "kind": "Reference",
7084
+ "text": "Component",
7085
+ "canonicalReference": "@alloy-js/core!Component:interface"
7086
+ },
7087
+ {
7088
+ "kind": "Content",
7089
+ "text": "<import(\"./FunctionBase.jsx\")."
7090
+ },
7091
+ {
7092
+ "kind": "Reference",
7093
+ "text": "FunctionTypeParametersProps",
7094
+ "canonicalReference": "@alloy-js/typescript!FunctionTypeParametersProps:interface"
7095
+ },
7096
+ {
7097
+ "kind": "Content",
7098
+ "text": "> & "
7099
+ },
7100
+ {
7101
+ "kind": "Reference",
7102
+ "text": "Required",
7103
+ "canonicalReference": "!Required:type"
7104
+ },
7105
+ {
7106
+ "kind": "Content",
7107
+ "text": "<"
7108
+ },
7109
+ {
7110
+ "kind": "Reference",
7111
+ "text": "Pick",
7112
+ "canonicalReference": "!Pick:type"
7113
+ },
7114
+ {
7115
+ "kind": "Content",
7116
+ "text": "<import(\"@alloy-js/core\")."
7117
+ },
7118
+ {
7119
+ "kind": "Reference",
7120
+ "text": "Component",
7121
+ "canonicalReference": "@alloy-js/core!Component:interface"
7122
+ },
7123
+ {
7124
+ "kind": "Content",
7125
+ "text": "<import(\"./FunctionBase.jsx\")."
7126
+ },
7127
+ {
7128
+ "kind": "Reference",
7129
+ "text": "FunctionTypeParametersProps",
7130
+ "canonicalReference": "@alloy-js/typescript!FunctionTypeParametersProps:interface"
7131
+ },
7132
+ {
7133
+ "kind": "Content",
7134
+ "text": ">, \"tag\">>"
7135
+ }
7136
+ ],
7137
+ "isReadonly": false,
7138
+ "releaseTag": "Public",
7139
+ "name": "Parameters",
7140
+ "variableTypeTokenRange": {
7141
+ "startIndex": 1,
7142
+ "endIndex": 14
7143
+ }
7144
+ },
7145
+ {
7146
+ "kind": "Variable",
7147
+ "canonicalReference": "@alloy-js/typescript!InterfaceMethod.TypeParameters:var",
5186
7148
  "docComment": "",
5187
7149
  "excerptTokens": [
5188
7150
  {
5189
7151
  "kind": "Content",
5190
- "text": "children?: "
7152
+ "text": "TypeParameters: "
7153
+ },
7154
+ {
7155
+ "kind": "Content",
7156
+ "text": "import(\"@alloy-js/core\")."
7157
+ },
7158
+ {
7159
+ "kind": "Reference",
7160
+ "text": "Component",
7161
+ "canonicalReference": "@alloy-js/core!Component:interface"
7162
+ },
7163
+ {
7164
+ "kind": "Content",
7165
+ "text": "<import(\"./FunctionBase.jsx\")."
7166
+ },
7167
+ {
7168
+ "kind": "Reference",
7169
+ "text": "TypeParametersProps",
7170
+ "canonicalReference": "@alloy-js/typescript!~TypeParametersProps:interface"
7171
+ },
7172
+ {
7173
+ "kind": "Content",
7174
+ "text": "> & "
7175
+ },
7176
+ {
7177
+ "kind": "Reference",
7178
+ "text": "Required",
7179
+ "canonicalReference": "!Required:type"
7180
+ },
7181
+ {
7182
+ "kind": "Content",
7183
+ "text": "<"
7184
+ },
7185
+ {
7186
+ "kind": "Reference",
7187
+ "text": "Pick",
7188
+ "canonicalReference": "!Pick:type"
7189
+ },
7190
+ {
7191
+ "kind": "Content",
7192
+ "text": "<import(\"@alloy-js/core\")."
7193
+ },
7194
+ {
7195
+ "kind": "Reference",
7196
+ "text": "Component",
7197
+ "canonicalReference": "@alloy-js/core!Component:interface"
7198
+ },
7199
+ {
7200
+ "kind": "Content",
7201
+ "text": "<import(\"./FunctionBase.jsx\")."
5191
7202
  },
5192
7203
  {
5193
7204
  "kind": "Reference",
5194
- "text": "Children",
5195
- "canonicalReference": "@alloy-js/core!Children:type"
7205
+ "text": "TypeParametersProps",
7206
+ "canonicalReference": "@alloy-js/typescript!~TypeParametersProps:interface"
5196
7207
  },
5197
7208
  {
5198
7209
  "kind": "Content",
5199
- "text": ";"
7210
+ "text": ">, \"tag\">>"
5200
7211
  }
5201
7212
  ],
5202
7213
  "isReadonly": false,
5203
- "isOptional": true,
5204
7214
  "releaseTag": "Public",
5205
- "name": "children",
5206
- "propertyTypeTokenRange": {
7215
+ "name": "TypeParameters",
7216
+ "variableTypeTokenRange": {
5207
7217
  "startIndex": 1,
5208
- "endIndex": 2
7218
+ "endIndex": 14
5209
7219
  }
5210
7220
  }
5211
- ],
5212
- "extendsTokenRanges": []
7221
+ ]
5213
7222
  },
5214
7223
  {
5215
- "kind": "Function",
5216
- "canonicalReference": "@alloy-js/typescript!InterfaceMember:function(1)",
5217
- "docComment": "/**\n * Create a TypeScript interface member.\n *\n * An interface member can either provide a `name` prop to create a named\n * property, or an `indexer` prop to define an indexer for the interface.\n *\n * The type of the member can be provided either as the `type` prop or as the\n * children of the component.\n */\n",
7224
+ "kind": "Interface",
7225
+ "canonicalReference": "@alloy-js/typescript!InterfaceMethodProps:interface",
7226
+ "docComment": "/**\n * Props for {@link (InterfaceMethod:namespace)} component\n */\n",
5218
7227
  "excerptTokens": [
5219
7228
  {
5220
7229
  "kind": "Content",
5221
- "text": "export declare function InterfaceMember(props: "
5222
- },
5223
- {
5224
- "kind": "Reference",
5225
- "text": "InterfaceMemberProps",
5226
- "canonicalReference": "@alloy-js/typescript!InterfaceMemberProps:interface"
5227
- },
5228
- {
5229
- "kind": "Content",
5230
- "text": "): "
7230
+ "text": "export interface InterfaceMethodProps extends "
5231
7231
  },
5232
7232
  {
5233
7233
  "kind": "Reference",
5234
- "text": "Children",
5235
- "canonicalReference": "@alloy-js/core!Children:type"
7234
+ "text": "CallSignatureProps",
7235
+ "canonicalReference": "@alloy-js/typescript!CallSignatureProps:interface"
5236
7236
  },
5237
7237
  {
5238
7238
  "kind": "Content",
5239
- "text": ";"
5240
- }
5241
- ],
5242
- "fileUrlPath": "src/components/Interface.tsx",
5243
- "returnTypeTokenRange": {
5244
- "startIndex": 3,
5245
- "endIndex": 4
5246
- },
5247
- "releaseTag": "Public",
5248
- "overloadIndex": 1,
5249
- "parameters": [
5250
- {
5251
- "parameterName": "props",
5252
- "parameterTypeTokenRange": {
5253
- "startIndex": 1,
5254
- "endIndex": 2
5255
- },
5256
- "isOptional": false
5257
- }
5258
- ],
5259
- "name": "InterfaceMember"
5260
- },
5261
- {
5262
- "kind": "Interface",
5263
- "canonicalReference": "@alloy-js/typescript!InterfaceMemberProps:interface",
5264
- "docComment": "",
5265
- "excerptTokens": [
5266
- {
5267
- "kind": "Content",
5268
- "text": "export interface InterfaceMemberProps "
7239
+ "text": " "
5269
7240
  }
5270
7241
  ],
5271
- "fileUrlPath": "src/components/Interface.tsx",
7242
+ "fileUrlPath": "src/components/InterfaceMethod.tsx",
5272
7243
  "releaseTag": "Public",
5273
- "name": "InterfaceMemberProps",
7244
+ "name": "InterfaceMethodProps",
5274
7245
  "preserveMemberOrder": false,
5275
7246
  "members": [
5276
7247
  {
5277
7248
  "kind": "PropertySignature",
5278
- "canonicalReference": "@alloy-js/typescript!InterfaceMemberProps#children:member",
5279
- "docComment": "",
7249
+ "canonicalReference": "@alloy-js/typescript!InterfaceMethodProps#async:member",
7250
+ "docComment": "/**\n * If the method is async. It will change the returnType from `T` to `Promise<T>`\n */\n",
5280
7251
  "excerptTokens": [
5281
7252
  {
5282
7253
  "kind": "Content",
5283
- "text": "children?: "
7254
+ "text": "readonly async?: "
5284
7255
  },
5285
7256
  {
5286
- "kind": "Reference",
5287
- "text": "Children",
5288
- "canonicalReference": "@alloy-js/core!Children:type"
7257
+ "kind": "Content",
7258
+ "text": "boolean"
5289
7259
  },
5290
7260
  {
5291
7261
  "kind": "Content",
5292
7262
  "text": ";"
5293
7263
  }
5294
7264
  ],
5295
- "isReadonly": false,
7265
+ "isReadonly": true,
5296
7266
  "isOptional": true,
5297
7267
  "releaseTag": "Public",
5298
- "name": "children",
7268
+ "name": "async",
5299
7269
  "propertyTypeTokenRange": {
5300
7270
  "startIndex": 1,
5301
7271
  "endIndex": 2
@@ -5303,12 +7273,12 @@
5303
7273
  },
5304
7274
  {
5305
7275
  "kind": "PropertySignature",
5306
- "canonicalReference": "@alloy-js/typescript!InterfaceMemberProps#doc:member",
5307
- "docComment": "",
7276
+ "canonicalReference": "@alloy-js/typescript!InterfaceMethodProps#children:member",
7277
+ "docComment": "/**\n * Jsx content\n */\n",
5308
7278
  "excerptTokens": [
5309
7279
  {
5310
7280
  "kind": "Content",
5311
- "text": "doc?: "
7281
+ "text": "readonly children?: "
5312
7282
  },
5313
7283
  {
5314
7284
  "kind": "Reference",
@@ -5320,10 +7290,10 @@
5320
7290
  "text": ";"
5321
7291
  }
5322
7292
  ],
5323
- "isReadonly": false,
7293
+ "isReadonly": true,
5324
7294
  "isOptional": true,
5325
7295
  "releaseTag": "Public",
5326
- "name": "doc",
7296
+ "name": "children",
5327
7297
  "propertyTypeTokenRange": {
5328
7298
  "startIndex": 1,
5329
7299
  "endIndex": 2
@@ -5331,12 +7301,12 @@
5331
7301
  },
5332
7302
  {
5333
7303
  "kind": "PropertySignature",
5334
- "canonicalReference": "@alloy-js/typescript!InterfaceMemberProps#indexer:member",
5335
- "docComment": "",
7304
+ "canonicalReference": "@alloy-js/typescript!InterfaceMethodProps#doc:member",
7305
+ "docComment": "/**\n * Documentation for this method.\n */\n",
5336
7306
  "excerptTokens": [
5337
7307
  {
5338
7308
  "kind": "Content",
5339
- "text": "indexer?: "
7309
+ "text": "readonly doc?: "
5340
7310
  },
5341
7311
  {
5342
7312
  "kind": "Reference",
@@ -5348,10 +7318,10 @@
5348
7318
  "text": ";"
5349
7319
  }
5350
7320
  ],
5351
- "isReadonly": false,
7321
+ "isReadonly": true,
5352
7322
  "isOptional": true,
5353
7323
  "releaseTag": "Public",
5354
- "name": "indexer",
7324
+ "name": "doc",
5355
7325
  "propertyTypeTokenRange": {
5356
7326
  "startIndex": 1,
5357
7327
  "endIndex": 2
@@ -5359,12 +7329,12 @@
5359
7329
  },
5360
7330
  {
5361
7331
  "kind": "PropertySignature",
5362
- "canonicalReference": "@alloy-js/typescript!InterfaceMemberProps#name:member",
5363
- "docComment": "",
7332
+ "canonicalReference": "@alloy-js/typescript!InterfaceMethodProps#name:member",
7333
+ "docComment": "/**\n * Interface member name\n */\n",
5364
7334
  "excerptTokens": [
5365
7335
  {
5366
7336
  "kind": "Content",
5367
- "text": "name?: "
7337
+ "text": "readonly name: "
5368
7338
  },
5369
7339
  {
5370
7340
  "kind": "Content",
@@ -5375,8 +7345,8 @@
5375
7345
  "text": ";"
5376
7346
  }
5377
7347
  ],
5378
- "isReadonly": false,
5379
- "isOptional": true,
7348
+ "isReadonly": true,
7349
+ "isOptional": false,
5380
7350
  "releaseTag": "Public",
5381
7351
  "name": "name",
5382
7352
  "propertyTypeTokenRange": {
@@ -5386,66 +7356,12 @@
5386
7356
  },
5387
7357
  {
5388
7358
  "kind": "PropertySignature",
5389
- "canonicalReference": "@alloy-js/typescript!InterfaceMemberProps#optional:member",
5390
- "docComment": "",
5391
- "excerptTokens": [
5392
- {
5393
- "kind": "Content",
5394
- "text": "optional?: "
5395
- },
5396
- {
5397
- "kind": "Content",
5398
- "text": "boolean"
5399
- },
5400
- {
5401
- "kind": "Content",
5402
- "text": ";"
5403
- }
5404
- ],
5405
- "isReadonly": false,
5406
- "isOptional": true,
5407
- "releaseTag": "Public",
5408
- "name": "optional",
5409
- "propertyTypeTokenRange": {
5410
- "startIndex": 1,
5411
- "endIndex": 2
5412
- }
5413
- },
5414
- {
5415
- "kind": "PropertySignature",
5416
- "canonicalReference": "@alloy-js/typescript!InterfaceMemberProps#readonly:member",
5417
- "docComment": "",
5418
- "excerptTokens": [
5419
- {
5420
- "kind": "Content",
5421
- "text": "readonly?: "
5422
- },
5423
- {
5424
- "kind": "Content",
5425
- "text": "boolean"
5426
- },
5427
- {
5428
- "kind": "Content",
5429
- "text": ";"
5430
- }
5431
- ],
5432
- "isReadonly": false,
5433
- "isOptional": true,
5434
- "releaseTag": "Public",
5435
- "name": "readonly",
5436
- "propertyTypeTokenRange": {
5437
- "startIndex": 1,
5438
- "endIndex": 2
5439
- }
5440
- },
5441
- {
5442
- "kind": "PropertySignature",
5443
- "canonicalReference": "@alloy-js/typescript!InterfaceMemberProps#refkey:member",
5444
- "docComment": "",
7359
+ "canonicalReference": "@alloy-js/typescript!InterfaceMethodProps#refkey:member",
7360
+ "docComment": "/**\n * Ref key for the member declaration\n */\n",
5445
7361
  "excerptTokens": [
5446
7362
  {
5447
7363
  "kind": "Content",
5448
- "text": "refkey?: "
7364
+ "text": "readonly refkey?: "
5449
7365
  },
5450
7366
  {
5451
7367
  "kind": "Reference",
@@ -5470,7 +7386,7 @@
5470
7386
  "text": ";"
5471
7387
  }
5472
7388
  ],
5473
- "isReadonly": false,
7389
+ "isReadonly": true,
5474
7390
  "isOptional": true,
5475
7391
  "releaseTag": "Public",
5476
7392
  "name": "refkey",
@@ -5478,37 +7394,14 @@
5478
7394
  "startIndex": 1,
5479
7395
  "endIndex": 5
5480
7396
  }
5481
- },
5482
- {
5483
- "kind": "PropertySignature",
5484
- "canonicalReference": "@alloy-js/typescript!InterfaceMemberProps#type:member",
5485
- "docComment": "",
5486
- "excerptTokens": [
5487
- {
5488
- "kind": "Content",
5489
- "text": "type?: "
5490
- },
5491
- {
5492
- "kind": "Reference",
5493
- "text": "Children",
5494
- "canonicalReference": "@alloy-js/core!Children:type"
5495
- },
5496
- {
5497
- "kind": "Content",
5498
- "text": ";"
5499
- }
5500
- ],
5501
- "isReadonly": false,
5502
- "isOptional": true,
5503
- "releaseTag": "Public",
5504
- "name": "type",
5505
- "propertyTypeTokenRange": {
5506
- "startIndex": 1,
5507
- "endIndex": 2
5508
- }
5509
7397
  }
5510
7398
  ],
5511
- "extendsTokenRanges": []
7399
+ "extendsTokenRanges": [
7400
+ {
7401
+ "startIndex": 1,
7402
+ "endIndex": 2
7403
+ }
7404
+ ]
5512
7405
  },
5513
7406
  {
5514
7407
  "kind": "Function",
@@ -9256,7 +11149,16 @@
9256
11149
  "excerptTokens": [
9257
11150
  {
9258
11151
  "kind": "Content",
9259
- "text": "export interface ParameterDescriptor "
11152
+ "text": "export interface ParameterDescriptor extends "
11153
+ },
11154
+ {
11155
+ "kind": "Reference",
11156
+ "text": "ParameterDescriptorBase",
11157
+ "canonicalReference": "@alloy-js/typescript!ParameterDescriptorBase:interface"
11158
+ },
11159
+ {
11160
+ "kind": "Content",
11161
+ "text": " "
9260
11162
  }
9261
11163
  ],
9262
11164
  "fileUrlPath": "src/parameter-descriptor.ts",
@@ -9271,7 +11173,7 @@
9271
11173
  "excerptTokens": [
9272
11174
  {
9273
11175
  "kind": "Content",
9274
- "text": "default?: "
11176
+ "text": "readonly default?: "
9275
11177
  },
9276
11178
  {
9277
11179
  "kind": "Reference",
@@ -9283,7 +11185,7 @@
9283
11185
  "text": ";"
9284
11186
  }
9285
11187
  ],
9286
- "isReadonly": false,
11188
+ "isReadonly": true,
9287
11189
  "isOptional": true,
9288
11190
  "releaseTag": "Public",
9289
11191
  "name": "default",
@@ -9291,15 +11193,38 @@
9291
11193
  "startIndex": 1,
9292
11194
  "endIndex": 2
9293
11195
  }
9294
- },
11196
+ }
11197
+ ],
11198
+ "extendsTokenRanges": [
11199
+ {
11200
+ "startIndex": 1,
11201
+ "endIndex": 2
11202
+ }
11203
+ ]
11204
+ },
11205
+ {
11206
+ "kind": "Interface",
11207
+ "canonicalReference": "@alloy-js/typescript!ParameterDescriptorBase:interface",
11208
+ "docComment": "/**\n * Common properties for ParameterDescriptor and FunctionTypeParameterDescriptor.\n */\n",
11209
+ "excerptTokens": [
11210
+ {
11211
+ "kind": "Content",
11212
+ "text": "export interface ParameterDescriptorBase "
11213
+ }
11214
+ ],
11215
+ "fileUrlPath": "src/parameter-descriptor.ts",
11216
+ "releaseTag": "Public",
11217
+ "name": "ParameterDescriptorBase",
11218
+ "preserveMemberOrder": false,
11219
+ "members": [
9295
11220
  {
9296
11221
  "kind": "PropertySignature",
9297
- "canonicalReference": "@alloy-js/typescript!ParameterDescriptor#doc:member",
11222
+ "canonicalReference": "@alloy-js/typescript!ParameterDescriptorBase#doc:member",
9298
11223
  "docComment": "/**\n * Documentation for the parameter.\n */\n",
9299
11224
  "excerptTokens": [
9300
11225
  {
9301
11226
  "kind": "Content",
9302
- "text": "doc?: "
11227
+ "text": "readonly doc?: "
9303
11228
  },
9304
11229
  {
9305
11230
  "kind": "Reference",
@@ -9311,7 +11236,7 @@
9311
11236
  "text": ";"
9312
11237
  }
9313
11238
  ],
9314
- "isReadonly": false,
11239
+ "isReadonly": true,
9315
11240
  "isOptional": true,
9316
11241
  "releaseTag": "Public",
9317
11242
  "name": "doc",
@@ -9322,12 +11247,12 @@
9322
11247
  },
9323
11248
  {
9324
11249
  "kind": "PropertySignature",
9325
- "canonicalReference": "@alloy-js/typescript!ParameterDescriptor#metadata:member",
11250
+ "canonicalReference": "@alloy-js/typescript!ParameterDescriptorBase#metadata:member",
9326
11251
  "docComment": "/**\n * Arbitrary metadata for the parameter symbol.\n */\n",
9327
11252
  "excerptTokens": [
9328
11253
  {
9329
11254
  "kind": "Content",
9330
- "text": "metadata?: "
11255
+ "text": "readonly metadata?: "
9331
11256
  },
9332
11257
  {
9333
11258
  "kind": "Reference",
@@ -9343,7 +11268,7 @@
9343
11268
  "text": ";"
9344
11269
  }
9345
11270
  ],
9346
- "isReadonly": false,
11271
+ "isReadonly": true,
9347
11272
  "isOptional": true,
9348
11273
  "releaseTag": "Public",
9349
11274
  "name": "metadata",
@@ -9354,12 +11279,12 @@
9354
11279
  },
9355
11280
  {
9356
11281
  "kind": "PropertySignature",
9357
- "canonicalReference": "@alloy-js/typescript!ParameterDescriptor#name:member",
11282
+ "canonicalReference": "@alloy-js/typescript!ParameterDescriptorBase#name:member",
9358
11283
  "docComment": "/**\n * The name of the parameter.\n */\n",
9359
11284
  "excerptTokens": [
9360
11285
  {
9361
11286
  "kind": "Content",
9362
- "text": "name: "
11287
+ "text": "readonly name: "
9363
11288
  },
9364
11289
  {
9365
11290
  "kind": "Content",
@@ -9370,7 +11295,7 @@
9370
11295
  "text": ";"
9371
11296
  }
9372
11297
  ],
9373
- "isReadonly": false,
11298
+ "isReadonly": true,
9374
11299
  "isOptional": false,
9375
11300
  "releaseTag": "Public",
9376
11301
  "name": "name",
@@ -9381,12 +11306,12 @@
9381
11306
  },
9382
11307
  {
9383
11308
  "kind": "PropertySignature",
9384
- "canonicalReference": "@alloy-js/typescript!ParameterDescriptor#optional:member",
11309
+ "canonicalReference": "@alloy-js/typescript!ParameterDescriptorBase#optional:member",
9385
11310
  "docComment": "/**\n * Whether the parameter is optional.\n */\n",
9386
11311
  "excerptTokens": [
9387
11312
  {
9388
11313
  "kind": "Content",
9389
- "text": "optional?: "
11314
+ "text": "readonly optional?: "
9390
11315
  },
9391
11316
  {
9392
11317
  "kind": "Content",
@@ -9397,7 +11322,7 @@
9397
11322
  "text": ";"
9398
11323
  }
9399
11324
  ],
9400
- "isReadonly": false,
11325
+ "isReadonly": true,
9401
11326
  "isOptional": true,
9402
11327
  "releaseTag": "Public",
9403
11328
  "name": "optional",
@@ -9408,12 +11333,12 @@
9408
11333
  },
9409
11334
  {
9410
11335
  "kind": "PropertySignature",
9411
- "canonicalReference": "@alloy-js/typescript!ParameterDescriptor#refkey:member",
11336
+ "canonicalReference": "@alloy-js/typescript!ParameterDescriptorBase#refkey:member",
9412
11337
  "docComment": "/**\n * The refkey for this parameter.\n */\n",
9413
11338
  "excerptTokens": [
9414
11339
  {
9415
11340
  "kind": "Content",
9416
- "text": "refkey?: "
11341
+ "text": "readonly refkey?: "
9417
11342
  },
9418
11343
  {
9419
11344
  "kind": "Reference",
@@ -9438,7 +11363,7 @@
9438
11363
  "text": ";"
9439
11364
  }
9440
11365
  ],
9441
- "isReadonly": false,
11366
+ "isReadonly": true,
9442
11367
  "isOptional": true,
9443
11368
  "releaseTag": "Public",
9444
11369
  "name": "refkey",
@@ -9449,12 +11374,12 @@
9449
11374
  },
9450
11375
  {
9451
11376
  "kind": "PropertySignature",
9452
- "canonicalReference": "@alloy-js/typescript!ParameterDescriptor#type:member",
11377
+ "canonicalReference": "@alloy-js/typescript!ParameterDescriptorBase#type:member",
9453
11378
  "docComment": "/**\n * The type of the parameter.\n */\n",
9454
11379
  "excerptTokens": [
9455
11380
  {
9456
11381
  "kind": "Content",
9457
- "text": "type?: "
11382
+ "text": "readonly type?: "
9458
11383
  },
9459
11384
  {
9460
11385
  "kind": "Reference",
@@ -9466,7 +11391,7 @@
9466
11391
  "text": ";"
9467
11392
  }
9468
11393
  ],
9469
- "isReadonly": false,
11394
+ "isReadonly": true,
9470
11395
  "isOptional": true,
9471
11396
  "releaseTag": "Public",
9472
11397
  "name": "type",
@@ -11904,7 +13829,7 @@
11904
13829
  "excerptTokens": [
11905
13830
  {
11906
13831
  "kind": "Content",
11907
- "text": "default?: "
13832
+ "text": "readonly default?: "
11908
13833
  },
11909
13834
  {
11910
13835
  "kind": "Reference",
@@ -11916,7 +13841,7 @@
11916
13841
  "text": ";"
11917
13842
  }
11918
13843
  ],
11919
- "isReadonly": false,
13844
+ "isReadonly": true,
11920
13845
  "isOptional": true,
11921
13846
  "releaseTag": "Public",
11922
13847
  "name": "default",
@@ -11932,7 +13857,7 @@
11932
13857
  "excerptTokens": [
11933
13858
  {
11934
13859
  "kind": "Content",
11935
- "text": "extends?: "
13860
+ "text": "readonly extends?: "
11936
13861
  },
11937
13862
  {
11938
13863
  "kind": "Reference",
@@ -11944,7 +13869,7 @@
11944
13869
  "text": ";"
11945
13870
  }
11946
13871
  ],
11947
- "isReadonly": false,
13872
+ "isReadonly": true,
11948
13873
  "isOptional": true,
11949
13874
  "releaseTag": "Public",
11950
13875
  "name": "extends",
@@ -11960,7 +13885,7 @@
11960
13885
  "excerptTokens": [
11961
13886
  {
11962
13887
  "kind": "Content",
11963
- "text": "metadata?: "
13888
+ "text": "readonly metadata?: "
11964
13889
  },
11965
13890
  {
11966
13891
  "kind": "Reference",
@@ -11976,7 +13901,7 @@
11976
13901
  "text": ";"
11977
13902
  }
11978
13903
  ],
11979
- "isReadonly": false,
13904
+ "isReadonly": true,
11980
13905
  "isOptional": true,
11981
13906
  "releaseTag": "Public",
11982
13907
  "name": "metadata",
@@ -11992,7 +13917,7 @@
11992
13917
  "excerptTokens": [
11993
13918
  {
11994
13919
  "kind": "Content",
11995
- "text": "name: "
13920
+ "text": "readonly name: "
11996
13921
  },
11997
13922
  {
11998
13923
  "kind": "Content",
@@ -12003,7 +13928,7 @@
12003
13928
  "text": ";"
12004
13929
  }
12005
13930
  ],
12006
- "isReadonly": false,
13931
+ "isReadonly": true,
12007
13932
  "isOptional": false,
12008
13933
  "releaseTag": "Public",
12009
13934
  "name": "name",
@@ -12019,7 +13944,7 @@
12019
13944
  "excerptTokens": [
12020
13945
  {
12021
13946
  "kind": "Content",
12022
- "text": "refkey?: "
13947
+ "text": "readonly refkey?: "
12023
13948
  },
12024
13949
  {
12025
13950
  "kind": "Reference",
@@ -12044,7 +13969,7 @@
12044
13969
  "text": ";"
12045
13970
  }
12046
13971
  ],
12047
- "isReadonly": false,
13972
+ "isReadonly": true,
12048
13973
  "isOptional": true,
12049
13974
  "releaseTag": "Public",
12050
13975
  "name": "refkey",