@alloy-js/typescript 0.5.0 → 0.6.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 (154) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/src/components/ArrayExpression.d.ts +1 -1
  3. package/dist/src/components/ArrayExpression.d.ts.map +1 -1
  4. package/dist/src/components/ArrayExpression.js +18 -28
  5. package/dist/src/components/ArrayExpression.js.map +1 -1
  6. package/dist/src/components/BarrelFile.d.ts.map +1 -1
  7. package/dist/src/components/BarrelFile.js +11 -9
  8. package/dist/src/components/BarrelFile.js.map +1 -1
  9. package/dist/src/components/ClassDeclaration.d.ts.map +1 -1
  10. package/dist/src/components/ClassDeclaration.js +8 -9
  11. package/dist/src/components/ClassDeclaration.js.map +1 -1
  12. package/dist/src/components/CommaList.d.ts +12 -0
  13. package/dist/src/components/CommaList.d.ts.map +1 -0
  14. package/dist/src/components/CommaList.js +19 -0
  15. package/dist/src/components/CommaList.js.map +1 -0
  16. package/dist/src/components/Declaration.d.ts.map +1 -1
  17. package/dist/src/components/Declaration.js.map +1 -1
  18. package/dist/src/components/EnumDeclaration.d.ts.map +1 -1
  19. package/dist/src/components/EnumDeclaration.js +19 -17
  20. package/dist/src/components/EnumDeclaration.js.map +1 -1
  21. package/dist/src/components/EnumMember.d.ts.map +1 -1
  22. package/dist/src/components/EnumMember.js.map +1 -1
  23. package/dist/src/components/ExportStatement.d.ts.map +1 -1
  24. package/dist/src/components/ExportStatement.js.map +1 -1
  25. package/dist/src/components/FunctionCallExpression.d.ts +2 -2
  26. package/dist/src/components/FunctionCallExpression.d.ts.map +1 -1
  27. package/dist/src/components/FunctionCallExpression.js +26 -9
  28. package/dist/src/components/FunctionCallExpression.js.map +1 -1
  29. package/dist/src/components/FunctionDeclaration.d.ts +8 -1
  30. package/dist/src/components/FunctionDeclaration.d.ts.map +1 -1
  31. package/dist/src/components/FunctionDeclaration.js +135 -33
  32. package/dist/src/components/FunctionDeclaration.js.map +1 -1
  33. package/dist/src/components/ImportStatement.d.ts.map +1 -1
  34. package/dist/src/components/ImportStatement.js +25 -31
  35. package/dist/src/components/ImportStatement.js.map +1 -1
  36. package/dist/src/components/Interface.d.ts +1 -1
  37. package/dist/src/components/Interface.d.ts.map +1 -1
  38. package/dist/src/components/Interface.js +5 -5
  39. package/dist/src/components/Interface.js.map +1 -1
  40. package/dist/src/components/JSDoc.d.ts +10 -0
  41. package/dist/src/components/JSDoc.d.ts.map +1 -0
  42. package/dist/src/components/JSDoc.js +24 -0
  43. package/dist/src/components/JSDoc.js.map +1 -0
  44. package/dist/src/components/JSDocComment.d.ts +11 -0
  45. package/dist/src/components/JSDocComment.d.ts.map +1 -0
  46. package/dist/src/components/JSDocComment.js +16 -0
  47. package/dist/src/components/JSDocComment.js.map +1 -0
  48. package/dist/src/components/JSDocExample.d.ts +12 -0
  49. package/dist/src/components/JSDocExample.d.ts.map +1 -0
  50. package/dist/src/components/JSDocExample.js +26 -0
  51. package/dist/src/components/JSDocExample.js.map +1 -0
  52. package/dist/src/components/JSDocParagraph.d.ts +10 -0
  53. package/dist/src/components/JSDocParagraph.d.ts.map +1 -0
  54. package/dist/src/components/JSDocParagraph.js +23 -0
  55. package/dist/src/components/JSDocParagraph.js.map +1 -0
  56. package/dist/src/components/MemberChainExpression.d.ts +11 -0
  57. package/dist/src/components/MemberChainExpression.d.ts.map +1 -0
  58. package/dist/src/components/MemberChainExpression.js +64 -0
  59. package/dist/src/components/MemberChainExpression.js.map +1 -0
  60. package/dist/src/components/ObjectExpression.d.ts +1 -1
  61. package/dist/src/components/ObjectExpression.d.ts.map +1 -1
  62. package/dist/src/components/ObjectExpression.js +45 -42
  63. package/dist/src/components/ObjectExpression.js.map +1 -1
  64. package/dist/src/components/PackageDirectory.d.ts.map +1 -1
  65. package/dist/src/components/PackageDirectory.js +1 -1
  66. package/dist/src/components/PackageDirectory.js.map +1 -1
  67. package/dist/src/components/PackageJson.d.ts.map +1 -1
  68. package/dist/src/components/PackageJson.js.map +1 -1
  69. package/dist/src/components/Reference.js +1 -1
  70. package/dist/src/components/Reference.js.map +1 -1
  71. package/dist/src/components/SourceFile.d.ts.map +1 -1
  72. package/dist/src/components/SourceFile.js +13 -6
  73. package/dist/src/components/SourceFile.js.map +1 -1
  74. package/dist/src/components/TsConfigJson.d.ts.map +1 -1
  75. package/dist/src/components/TsConfigJson.js.map +1 -1
  76. package/dist/src/components/TypeDeclaration.d.ts.map +1 -1
  77. package/dist/src/components/TypeDeclaration.js.map +1 -1
  78. package/dist/src/components/ValueExpression.d.ts.map +1 -1
  79. package/dist/src/components/ValueExpression.js.map +1 -1
  80. package/dist/src/components/VarDeclaration.d.ts.map +1 -1
  81. package/dist/src/components/VarDeclaration.js +2 -2
  82. package/dist/src/components/VarDeclaration.js.map +1 -1
  83. package/dist/src/components/index.d.ts +2 -1
  84. package/dist/src/components/index.d.ts.map +1 -1
  85. package/dist/src/components/index.js +2 -1
  86. package/dist/src/components/index.js.map +1 -1
  87. package/dist/src/components/stc/index.d.ts +21 -21
  88. package/dist/src/components/stc/index.d.ts.map +1 -1
  89. package/dist/src/components/stc/index.js +1 -1
  90. package/dist/src/components/stc/index.js.map +1 -1
  91. package/dist/test/imports.test.d.ts.map +1 -1
  92. package/dist/test/jsdoc.test.d.ts +2 -0
  93. package/dist/test/jsdoc.test.d.ts.map +1 -0
  94. package/dist/test/member-chain.test.d.ts +2 -0
  95. package/dist/test/member-chain.test.d.ts.map +1 -0
  96. package/dist/test/utils.d.ts +2 -2
  97. package/dist/test/utils.d.ts.map +1 -1
  98. package/dist/test/values.test.d.ts.map +1 -1
  99. package/dist/tsconfig.tsbuildinfo +1 -1
  100. package/package.json +3 -5
  101. package/src/components/ArrayExpression.tsx +18 -32
  102. package/src/components/BarrelFile.tsx +7 -13
  103. package/src/components/ClassDeclaration.tsx +33 -28
  104. package/src/components/CommaList.tsx +23 -0
  105. package/src/components/Declaration.tsx +7 -3
  106. package/src/components/EnumDeclaration.tsx +21 -14
  107. package/src/components/EnumMember.tsx +7 -4
  108. package/src/components/ExportStatement.tsx +6 -1
  109. package/src/components/FunctionCallExpression.tsx +18 -9
  110. package/src/components/FunctionDeclaration.tsx +170 -55
  111. package/src/components/ImportStatement.tsx +6 -9
  112. package/src/components/Interface.tsx +20 -13
  113. package/src/components/JSDoc.tsx +28 -0
  114. package/src/components/JSDocComment.tsx +23 -0
  115. package/src/components/JSDocExample.tsx +30 -0
  116. package/src/components/JSDocParagraph.tsx +35 -0
  117. package/src/components/MemberChainExpression.tsx +59 -0
  118. package/src/components/ObjectExpression.tsx +53 -48
  119. package/src/components/PackageDirectory.tsx +11 -9
  120. package/src/components/PackageJson.tsx +9 -6
  121. package/src/components/SourceFile.tsx +15 -8
  122. package/src/components/TsConfigJson.tsx +5 -3
  123. package/src/components/TypeDeclaration.tsx +5 -3
  124. package/src/components/ValueExpression.tsx +3 -1
  125. package/src/components/VarDeclaration.tsx +11 -5
  126. package/src/components/index.ts +2 -1
  127. package/src/components/stc/index.ts +1 -1
  128. package/temp/api.json +461 -125
  129. package/test/array.test.tsx +28 -7
  130. package/test/basic.test.tsx +26 -21
  131. package/test/class.test.tsx +65 -53
  132. package/test/enum.test.tsx +18 -13
  133. package/test/externals.test.tsx +6 -7
  134. package/test/function-call-expression.test.tsx +39 -17
  135. package/test/function-declaration.test.tsx +96 -78
  136. package/test/imports.test.tsx +90 -65
  137. package/test/interface.test.tsx +29 -19
  138. package/test/jsdoc.test.tsx +154 -0
  139. package/test/member-chain.test.tsx +47 -0
  140. package/test/name-policy.test.tsx +33 -26
  141. package/test/package-external.test.tsx +8 -4
  142. package/test/package.test.tsx +1 -2
  143. package/test/reference.test.tsx +2 -6
  144. package/test/utils.tsx +3 -1
  145. package/test/value-expression.test.tsx +2 -6
  146. package/test/values.test.tsx +67 -73
  147. package/test/var-declaration.test.tsx +11 -5
  148. package/test/vitest.d.ts +6 -1
  149. package/tsconfig.json +8 -1
  150. package/dist/src/components/Block.d.ts +0 -6
  151. package/dist/src/components/Block.d.ts.map +0 -1
  152. package/dist/src/components/Block.js +0 -11
  153. package/dist/src/components/Block.js.map +0 -1
  154. package/src/components/Block.tsx +0 -12
package/temp/api.json CHANGED
@@ -190,19 +190,11 @@
190
190
  "kind": "Content",
191
191
  "text": "): "
192
192
  },
193
- {
194
- "kind": "Content",
195
- "text": "() => "
196
- },
197
193
  {
198
194
  "kind": "Reference",
199
195
  "text": "Children",
200
196
  "canonicalReference": "@alloy-js/core!Children:type"
201
197
  },
202
- {
203
- "kind": "Content",
204
- "text": "[] | \"[]\""
205
- },
206
198
  {
207
199
  "kind": "Content",
208
200
  "text": ";"
@@ -211,7 +203,7 @@
211
203
  "fileUrlPath": "src/components/ArrayExpression.tsx",
212
204
  "returnTypeTokenRange": {
213
205
  "startIndex": 3,
214
- "endIndex": 6
206
+ "endIndex": 4
215
207
  },
216
208
  "releaseTag": "Public",
217
209
  "overloadIndex": 1,
@@ -633,99 +625,6 @@
633
625
  ],
634
626
  "extendsTokenRanges": []
635
627
  },
636
- {
637
- "kind": "Function",
638
- "canonicalReference": "@alloy-js/typescript!Block:function(1)",
639
- "docComment": "",
640
- "excerptTokens": [
641
- {
642
- "kind": "Content",
643
- "text": "export declare function Block(props: "
644
- },
645
- {
646
- "kind": "Reference",
647
- "text": "BlockProps",
648
- "canonicalReference": "@alloy-js/typescript!BlockProps:interface"
649
- },
650
- {
651
- "kind": "Content",
652
- "text": "): "
653
- },
654
- {
655
- "kind": "Reference",
656
- "text": "Children",
657
- "canonicalReference": "@alloy-js/core!Children:type"
658
- },
659
- {
660
- "kind": "Content",
661
- "text": ";"
662
- }
663
- ],
664
- "fileUrlPath": "src/components/Block.tsx",
665
- "returnTypeTokenRange": {
666
- "startIndex": 3,
667
- "endIndex": 4
668
- },
669
- "releaseTag": "Public",
670
- "overloadIndex": 1,
671
- "parameters": [
672
- {
673
- "parameterName": "props",
674
- "parameterTypeTokenRange": {
675
- "startIndex": 1,
676
- "endIndex": 2
677
- },
678
- "isOptional": false
679
- }
680
- ],
681
- "name": "Block"
682
- },
683
- {
684
- "kind": "Interface",
685
- "canonicalReference": "@alloy-js/typescript!BlockProps:interface",
686
- "docComment": "",
687
- "excerptTokens": [
688
- {
689
- "kind": "Content",
690
- "text": "export interface BlockProps "
691
- }
692
- ],
693
- "fileUrlPath": "src/components/Block.tsx",
694
- "releaseTag": "Public",
695
- "name": "BlockProps",
696
- "preserveMemberOrder": false,
697
- "members": [
698
- {
699
- "kind": "PropertySignature",
700
- "canonicalReference": "@alloy-js/typescript!BlockProps#children:member",
701
- "docComment": "",
702
- "excerptTokens": [
703
- {
704
- "kind": "Content",
705
- "text": "children?: "
706
- },
707
- {
708
- "kind": "Reference",
709
- "text": "Children",
710
- "canonicalReference": "@alloy-js/core!Children:type"
711
- },
712
- {
713
- "kind": "Content",
714
- "text": ";"
715
- }
716
- ],
717
- "isReadonly": false,
718
- "isOptional": true,
719
- "releaseTag": "Public",
720
- "name": "children",
721
- "propertyTypeTokenRange": {
722
- "startIndex": 1,
723
- "endIndex": 2
724
- }
725
- }
726
- ],
727
- "extendsTokenRanges": []
728
- },
729
628
  {
730
629
  "kind": "Function",
731
630
  "canonicalReference": "@alloy-js/typescript!ClassDeclaration:function(1)",
@@ -1463,6 +1362,153 @@
1463
1362
  }
1464
1363
  ]
1465
1364
  },
1365
+ {
1366
+ "kind": "Function",
1367
+ "canonicalReference": "@alloy-js/typescript!CommaList:function(1)",
1368
+ "docComment": "/**\n * A comma-separated list of items (e.g. arguments to a function call, parameters, etc).\n */\n",
1369
+ "excerptTokens": [
1370
+ {
1371
+ "kind": "Content",
1372
+ "text": "export declare function CommaList(props: "
1373
+ },
1374
+ {
1375
+ "kind": "Reference",
1376
+ "text": "CommaListProps",
1377
+ "canonicalReference": "@alloy-js/typescript!CommaListProps:interface"
1378
+ },
1379
+ {
1380
+ "kind": "Content",
1381
+ "text": "): "
1382
+ },
1383
+ {
1384
+ "kind": "Reference",
1385
+ "text": "Children",
1386
+ "canonicalReference": "@alloy-js/core!Children:type"
1387
+ },
1388
+ {
1389
+ "kind": "Content",
1390
+ "text": ";"
1391
+ }
1392
+ ],
1393
+ "fileUrlPath": "src/components/CommaList.tsx",
1394
+ "returnTypeTokenRange": {
1395
+ "startIndex": 3,
1396
+ "endIndex": 4
1397
+ },
1398
+ "releaseTag": "Public",
1399
+ "overloadIndex": 1,
1400
+ "parameters": [
1401
+ {
1402
+ "parameterName": "props",
1403
+ "parameterTypeTokenRange": {
1404
+ "startIndex": 1,
1405
+ "endIndex": 2
1406
+ },
1407
+ "isOptional": false
1408
+ }
1409
+ ],
1410
+ "name": "CommaList"
1411
+ },
1412
+ {
1413
+ "kind": "Interface",
1414
+ "canonicalReference": "@alloy-js/typescript!CommaListProps:interface",
1415
+ "docComment": "",
1416
+ "excerptTokens": [
1417
+ {
1418
+ "kind": "Content",
1419
+ "text": "export interface CommaListProps "
1420
+ }
1421
+ ],
1422
+ "fileUrlPath": "src/components/CommaList.tsx",
1423
+ "releaseTag": "Public",
1424
+ "name": "CommaListProps",
1425
+ "preserveMemberOrder": false,
1426
+ "members": [
1427
+ {
1428
+ "kind": "PropertySignature",
1429
+ "canonicalReference": "@alloy-js/typescript!CommaListProps#children:member",
1430
+ "docComment": "",
1431
+ "excerptTokens": [
1432
+ {
1433
+ "kind": "Content",
1434
+ "text": "children: "
1435
+ },
1436
+ {
1437
+ "kind": "Reference",
1438
+ "text": "Children",
1439
+ "canonicalReference": "@alloy-js/core!Children:type"
1440
+ },
1441
+ {
1442
+ "kind": "Content",
1443
+ "text": ";"
1444
+ }
1445
+ ],
1446
+ "isReadonly": false,
1447
+ "isOptional": false,
1448
+ "releaseTag": "Public",
1449
+ "name": "children",
1450
+ "propertyTypeTokenRange": {
1451
+ "startIndex": 1,
1452
+ "endIndex": 2
1453
+ }
1454
+ },
1455
+ {
1456
+ "kind": "PropertySignature",
1457
+ "canonicalReference": "@alloy-js/typescript!CommaListProps#hardline:member",
1458
+ "docComment": "",
1459
+ "excerptTokens": [
1460
+ {
1461
+ "kind": "Content",
1462
+ "text": "hardline?: "
1463
+ },
1464
+ {
1465
+ "kind": "Content",
1466
+ "text": "boolean"
1467
+ },
1468
+ {
1469
+ "kind": "Content",
1470
+ "text": ";"
1471
+ }
1472
+ ],
1473
+ "isReadonly": false,
1474
+ "isOptional": true,
1475
+ "releaseTag": "Public",
1476
+ "name": "hardline",
1477
+ "propertyTypeTokenRange": {
1478
+ "startIndex": 1,
1479
+ "endIndex": 2
1480
+ }
1481
+ },
1482
+ {
1483
+ "kind": "PropertySignature",
1484
+ "canonicalReference": "@alloy-js/typescript!CommaListProps#softline:member",
1485
+ "docComment": "",
1486
+ "excerptTokens": [
1487
+ {
1488
+ "kind": "Content",
1489
+ "text": "softline?: "
1490
+ },
1491
+ {
1492
+ "kind": "Content",
1493
+ "text": "boolean"
1494
+ },
1495
+ {
1496
+ "kind": "Content",
1497
+ "text": ";"
1498
+ }
1499
+ ],
1500
+ "isReadonly": false,
1501
+ "isOptional": true,
1502
+ "releaseTag": "Public",
1503
+ "name": "softline",
1504
+ "propertyTypeTokenRange": {
1505
+ "startIndex": 1,
1506
+ "endIndex": 2
1507
+ }
1508
+ }
1509
+ ],
1510
+ "extendsTokenRanges": []
1511
+ },
1466
1512
  {
1467
1513
  "kind": "Function",
1468
1514
  "canonicalReference": "@alloy-js/typescript!createPackage:function(1)",
@@ -3114,17 +3160,17 @@
3114
3160
  },
3115
3161
  {
3116
3162
  "kind": "PropertySignature",
3117
- "canonicalReference": "@alloy-js/typescript!FunctionCallExpressionProps#refkey:member",
3163
+ "canonicalReference": "@alloy-js/typescript!FunctionCallExpressionProps#target:member",
3118
3164
  "docComment": "",
3119
3165
  "excerptTokens": [
3120
3166
  {
3121
3167
  "kind": "Content",
3122
- "text": "refkey: "
3168
+ "text": "target: "
3123
3169
  },
3124
3170
  {
3125
3171
  "kind": "Reference",
3126
- "text": "Refkey",
3127
- "canonicalReference": "@alloy-js/core!Refkey:type"
3172
+ "text": "Children",
3173
+ "canonicalReference": "@alloy-js/core!Children:type"
3128
3174
  },
3129
3175
  {
3130
3176
  "kind": "Content",
@@ -3134,7 +3180,7 @@
3134
3180
  "isReadonly": false,
3135
3181
  "isOptional": false,
3136
3182
  "releaseTag": "Public",
3137
- "name": "refkey",
3183
+ "name": "target",
3138
3184
  "propertyTypeTokenRange": {
3139
3185
  "startIndex": 1,
3140
3186
  "endIndex": 2
@@ -3284,6 +3330,46 @@
3284
3330
  "startIndex": 1,
3285
3331
  "endIndex": 6
3286
3332
  }
3333
+ },
3334
+ {
3335
+ "kind": "Variable",
3336
+ "canonicalReference": "@alloy-js/typescript!FunctionDeclaration.TypeParameters:var",
3337
+ "docComment": "",
3338
+ "excerptTokens": [
3339
+ {
3340
+ "kind": "Content",
3341
+ "text": "TypeParameters: "
3342
+ },
3343
+ {
3344
+ "kind": "Content",
3345
+ "text": "import(\"@alloy-js/core\")."
3346
+ },
3347
+ {
3348
+ "kind": "Reference",
3349
+ "text": "Component",
3350
+ "canonicalReference": "@alloy-js/core!Component:interface"
3351
+ },
3352
+ {
3353
+ "kind": "Content",
3354
+ "text": "<"
3355
+ },
3356
+ {
3357
+ "kind": "Reference",
3358
+ "text": "FunctionTypeParametersProps",
3359
+ "canonicalReference": "@alloy-js/typescript!FunctionTypeParametersProps:interface"
3360
+ },
3361
+ {
3362
+ "kind": "Content",
3363
+ "text": ">"
3364
+ }
3365
+ ],
3366
+ "isReadonly": false,
3367
+ "releaseTag": "Public",
3368
+ "name": "TypeParameters",
3369
+ "variableTypeTokenRange": {
3370
+ "startIndex": 1,
3371
+ "endIndex": 6
3372
+ }
3287
3373
  }
3288
3374
  ]
3289
3375
  },
@@ -3443,6 +3529,56 @@
3443
3529
  "startIndex": 1,
3444
3530
  "endIndex": 2
3445
3531
  }
3532
+ },
3533
+ {
3534
+ "kind": "PropertySignature",
3535
+ "canonicalReference": "@alloy-js/typescript!FunctionDeclarationProps#typeParameters:member",
3536
+ "docComment": "",
3537
+ "excerptTokens": [
3538
+ {
3539
+ "kind": "Content",
3540
+ "text": "typeParameters?: "
3541
+ },
3542
+ {
3543
+ "kind": "Reference",
3544
+ "text": "Record",
3545
+ "canonicalReference": "!Record:type"
3546
+ },
3547
+ {
3548
+ "kind": "Content",
3549
+ "text": "<string, "
3550
+ },
3551
+ {
3552
+ "kind": "Reference",
3553
+ "text": "Children",
3554
+ "canonicalReference": "@alloy-js/core!Children:type"
3555
+ },
3556
+ {
3557
+ "kind": "Content",
3558
+ "text": " | "
3559
+ },
3560
+ {
3561
+ "kind": "Reference",
3562
+ "text": "ParameterDescriptor",
3563
+ "canonicalReference": "@alloy-js/typescript!ParameterDescriptor:interface"
3564
+ },
3565
+ {
3566
+ "kind": "Content",
3567
+ "text": "> | string[]"
3568
+ },
3569
+ {
3570
+ "kind": "Content",
3571
+ "text": ";"
3572
+ }
3573
+ ],
3574
+ "isReadonly": false,
3575
+ "isOptional": true,
3576
+ "releaseTag": "Public",
3577
+ "name": "typeParameters",
3578
+ "propertyTypeTokenRange": {
3579
+ "startIndex": 1,
3580
+ "endIndex": 7
3581
+ }
3446
3582
  }
3447
3583
  ],
3448
3584
  "extendsTokenRanges": [
@@ -3571,6 +3707,125 @@
3571
3707
  "endIndex": 2
3572
3708
  }
3573
3709
  },
3710
+ {
3711
+ "kind": "Interface",
3712
+ "canonicalReference": "@alloy-js/typescript!FunctionTypeParametersProps:interface",
3713
+ "docComment": "",
3714
+ "excerptTokens": [
3715
+ {
3716
+ "kind": "Content",
3717
+ "text": "export interface FunctionTypeParametersProps "
3718
+ }
3719
+ ],
3720
+ "fileUrlPath": "src/components/FunctionDeclaration.tsx",
3721
+ "releaseTag": "Public",
3722
+ "name": "FunctionTypeParametersProps",
3723
+ "preserveMemberOrder": false,
3724
+ "members": [
3725
+ {
3726
+ "kind": "PropertySignature",
3727
+ "canonicalReference": "@alloy-js/typescript!FunctionTypeParametersProps#children:member",
3728
+ "docComment": "",
3729
+ "excerptTokens": [
3730
+ {
3731
+ "kind": "Content",
3732
+ "text": "children?: "
3733
+ },
3734
+ {
3735
+ "kind": "Reference",
3736
+ "text": "Children",
3737
+ "canonicalReference": "@alloy-js/core!Children:type"
3738
+ },
3739
+ {
3740
+ "kind": "Content",
3741
+ "text": ";"
3742
+ }
3743
+ ],
3744
+ "isReadonly": false,
3745
+ "isOptional": true,
3746
+ "releaseTag": "Public",
3747
+ "name": "children",
3748
+ "propertyTypeTokenRange": {
3749
+ "startIndex": 1,
3750
+ "endIndex": 2
3751
+ }
3752
+ },
3753
+ {
3754
+ "kind": "PropertySignature",
3755
+ "canonicalReference": "@alloy-js/typescript!FunctionTypeParametersProps#parameters:member",
3756
+ "docComment": "",
3757
+ "excerptTokens": [
3758
+ {
3759
+ "kind": "Content",
3760
+ "text": "parameters?: "
3761
+ },
3762
+ {
3763
+ "kind": "Reference",
3764
+ "text": "Record",
3765
+ "canonicalReference": "!Record:type"
3766
+ },
3767
+ {
3768
+ "kind": "Content",
3769
+ "text": "<string, "
3770
+ },
3771
+ {
3772
+ "kind": "Reference",
3773
+ "text": "Children",
3774
+ "canonicalReference": "@alloy-js/core!Children:type"
3775
+ },
3776
+ {
3777
+ "kind": "Content",
3778
+ "text": " | "
3779
+ },
3780
+ {
3781
+ "kind": "Reference",
3782
+ "text": "ParameterDescriptor",
3783
+ "canonicalReference": "@alloy-js/typescript!ParameterDescriptor:interface"
3784
+ },
3785
+ {
3786
+ "kind": "Content",
3787
+ "text": "> | string[]"
3788
+ },
3789
+ {
3790
+ "kind": "Content",
3791
+ "text": ";"
3792
+ }
3793
+ ],
3794
+ "isReadonly": false,
3795
+ "isOptional": true,
3796
+ "releaseTag": "Public",
3797
+ "name": "parameters",
3798
+ "propertyTypeTokenRange": {
3799
+ "startIndex": 1,
3800
+ "endIndex": 7
3801
+ }
3802
+ }
3803
+ ],
3804
+ "extendsTokenRanges": []
3805
+ },
3806
+ {
3807
+ "kind": "Variable",
3808
+ "canonicalReference": "@alloy-js/typescript!functionTypeParametersTag:var",
3809
+ "docComment": "",
3810
+ "excerptTokens": [
3811
+ {
3812
+ "kind": "Content",
3813
+ "text": "functionTypeParametersTag: "
3814
+ },
3815
+ {
3816
+ "kind": "Content",
3817
+ "text": "unique symbol"
3818
+ }
3819
+ ],
3820
+ "fileUrlPath": "src/components/FunctionDeclaration.tsx",
3821
+ "isReadonly": true,
3822
+ "releaseTag": "Public",
3823
+ "name": "functionTypeParametersTag",
3824
+ "variableTypeTokenRange": {
3825
+ "startIndex": 1,
3826
+ "endIndex": 2
3827
+ }
3828
+ },
3574
3829
  {
3575
3830
  "kind": "Interface",
3576
3831
  "canonicalReference": "@alloy-js/typescript!ImportedSymbol:interface",
@@ -4061,18 +4316,10 @@
4061
4316
  "kind": "Content",
4062
4317
  "text": "): "
4063
4318
  },
4064
- {
4065
- "kind": "Content",
4066
- "text": "import(\"@alloy-js/core\")."
4067
- },
4068
4319
  {
4069
4320
  "kind": "Reference",
4070
- "text": "Child",
4071
- "canonicalReference": "@alloy-js/core!Child:type"
4072
- },
4073
- {
4074
- "kind": "Content",
4075
- "text": "[]"
4321
+ "text": "Children",
4322
+ "canonicalReference": "@alloy-js/core!Children:type"
4076
4323
  },
4077
4324
  {
4078
4325
  "kind": "Content",
@@ -4082,7 +4329,7 @@
4082
4329
  "fileUrlPath": "src/components/Interface.tsx",
4083
4330
  "returnTypeTokenRange": {
4084
4331
  "startIndex": 3,
4085
- "endIndex": 6
4332
+ "endIndex": 4
4086
4333
  },
4087
4334
  "releaseTag": "Public",
4088
4335
  "overloadIndex": 1,
@@ -4374,6 +4621,99 @@
4374
4621
  ],
4375
4622
  "extendsTokenRanges": []
4376
4623
  },
4624
+ {
4625
+ "kind": "Function",
4626
+ "canonicalReference": "@alloy-js/typescript!MemberChainExpression:function(1)",
4627
+ "docComment": "/**\n * Create a member chain expression, which is a member expression comprised of either children or {@link FunctionCallExpression} components. It is formatted such that when a linebreak is required, the FunctionCallExpression\n */\n",
4628
+ "excerptTokens": [
4629
+ {
4630
+ "kind": "Content",
4631
+ "text": "export declare function MemberChainExpression(props: "
4632
+ },
4633
+ {
4634
+ "kind": "Reference",
4635
+ "text": "MemberChainExpressionProps",
4636
+ "canonicalReference": "@alloy-js/typescript!MemberChainExpressionProps:interface"
4637
+ },
4638
+ {
4639
+ "kind": "Content",
4640
+ "text": "): "
4641
+ },
4642
+ {
4643
+ "kind": "Reference",
4644
+ "text": "Children",
4645
+ "canonicalReference": "@alloy-js/core!Children:type"
4646
+ },
4647
+ {
4648
+ "kind": "Content",
4649
+ "text": ";"
4650
+ }
4651
+ ],
4652
+ "fileUrlPath": "src/components/MemberChainExpression.tsx",
4653
+ "returnTypeTokenRange": {
4654
+ "startIndex": 3,
4655
+ "endIndex": 4
4656
+ },
4657
+ "releaseTag": "Public",
4658
+ "overloadIndex": 1,
4659
+ "parameters": [
4660
+ {
4661
+ "parameterName": "props",
4662
+ "parameterTypeTokenRange": {
4663
+ "startIndex": 1,
4664
+ "endIndex": 2
4665
+ },
4666
+ "isOptional": false
4667
+ }
4668
+ ],
4669
+ "name": "MemberChainExpression"
4670
+ },
4671
+ {
4672
+ "kind": "Interface",
4673
+ "canonicalReference": "@alloy-js/typescript!MemberChainExpressionProps:interface",
4674
+ "docComment": "",
4675
+ "excerptTokens": [
4676
+ {
4677
+ "kind": "Content",
4678
+ "text": "export interface MemberChainExpressionProps "
4679
+ }
4680
+ ],
4681
+ "fileUrlPath": "src/components/MemberChainExpression.tsx",
4682
+ "releaseTag": "Public",
4683
+ "name": "MemberChainExpressionProps",
4684
+ "preserveMemberOrder": false,
4685
+ "members": [
4686
+ {
4687
+ "kind": "PropertySignature",
4688
+ "canonicalReference": "@alloy-js/typescript!MemberChainExpressionProps#children:member",
4689
+ "docComment": "",
4690
+ "excerptTokens": [
4691
+ {
4692
+ "kind": "Content",
4693
+ "text": "children: "
4694
+ },
4695
+ {
4696
+ "kind": "Reference",
4697
+ "text": "Children",
4698
+ "canonicalReference": "@alloy-js/core!Children:type"
4699
+ },
4700
+ {
4701
+ "kind": "Content",
4702
+ "text": ";"
4703
+ }
4704
+ ],
4705
+ "isReadonly": false,
4706
+ "isOptional": false,
4707
+ "releaseTag": "Public",
4708
+ "name": "children",
4709
+ "propertyTypeTokenRange": {
4710
+ "startIndex": 1,
4711
+ "endIndex": 2
4712
+ }
4713
+ }
4714
+ ],
4715
+ "extendsTokenRanges": []
4716
+ },
4377
4717
  {
4378
4718
  "kind": "Interface",
4379
4719
  "canonicalReference": "@alloy-js/typescript!ModuleSymbolsDescriptor:interface",
@@ -6081,10 +6421,6 @@
6081
6421
  "kind": "Content",
6082
6422
  "text": "): "
6083
6423
  },
6084
- {
6085
- "kind": "Content",
6086
- "text": "() => "
6087
- },
6088
6424
  {
6089
6425
  "kind": "Reference",
6090
6426
  "text": "Children",
@@ -6098,7 +6434,7 @@
6098
6434
  "fileUrlPath": "src/components/ObjectExpression.tsx",
6099
6435
  "returnTypeTokenRange": {
6100
6436
  "startIndex": 3,
6101
- "endIndex": 5
6437
+ "endIndex": 4
6102
6438
  },
6103
6439
  "releaseTag": "Public",
6104
6440
  "overloadIndex": 1,
@@ -7282,7 +7618,7 @@
7282
7618
  "excerptTokens": [
7283
7619
  {
7284
7620
  "kind": "Content",
7285
- "text": "type: "
7621
+ "text": "type?: "
7286
7622
  },
7287
7623
  {
7288
7624
  "kind": "Reference",
@@ -7295,7 +7631,7 @@
7295
7631
  }
7296
7632
  ],
7297
7633
  "isReadonly": false,
7298
- "isOptional": false,
7634
+ "isOptional": true,
7299
7635
  "releaseTag": "Public",
7300
7636
  "name": "type",
7301
7637
  "propertyTypeTokenRange": {