@alloy-js/typescript 0.11.0 → 0.13.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.
- package/CHANGELOG.md +17 -0
- package/dist/src/components/ClassDeclaration.d.ts +2 -0
- package/dist/src/components/ClassDeclaration.d.ts.map +1 -1
- package/dist/src/components/ClassDeclaration.js +14 -2
- package/dist/src/components/FunctionBase.d.ts.map +1 -1
- package/dist/src/components/FunctionBase.js +13 -3
- package/dist/src/components/FunctionType.d.ts +7 -8
- package/dist/src/components/FunctionType.d.ts.map +1 -1
- package/dist/src/components/FunctionType.js +29 -25
- package/dist/src/components/ImportStatement.d.ts.map +1 -1
- package/dist/src/components/ImportStatement.js +9 -2
- package/dist/src/components/Interface.d.ts +3 -2
- package/dist/src/components/Interface.d.ts.map +1 -1
- package/dist/src/components/Interface.js +8 -4
- package/dist/src/components/JSDocComment.js +1 -1
- package/dist/src/components/MemberDeclaration.d.ts +4 -0
- package/dist/src/components/MemberDeclaration.d.ts.map +1 -1
- package/dist/src/components/MemberDeclaration.js +1 -1
- package/dist/src/components/MemberExpression.d.ts.map +1 -1
- package/dist/src/components/MemberExpression.js +3 -2
- package/dist/src/components/Reference.d.ts +8 -1
- package/dist/src/components/Reference.d.ts.map +1 -1
- package/dist/src/components/Reference.js +7 -2
- package/dist/src/components/TypeDeclaration.d.ts +1 -1
- package/dist/src/components/TypeDeclaration.d.ts.map +1 -1
- package/dist/src/components/TypeDeclaration.js +3 -2
- package/dist/src/components/TypeRefContext.d.ts +22 -0
- package/dist/src/components/TypeRefContext.d.ts.map +1 -0
- package/dist/src/components/TypeRefContext.js +41 -0
- package/dist/src/components/VarDeclaration.d.ts +1 -0
- package/dist/src/components/VarDeclaration.d.ts.map +1 -1
- package/dist/src/components/VarDeclaration.js +9 -3
- package/dist/src/components/index.d.ts +1 -0
- package/dist/src/components/index.d.ts.map +1 -1
- package/dist/src/components/index.js +1 -0
- package/dist/src/components/stc/index.d.ts +1 -0
- package/dist/src/components/stc/index.d.ts.map +1 -1
- package/dist/src/components/stc/index.js +1 -0
- package/dist/src/context/type-ref-context.d.ts +15 -0
- package/dist/src/context/type-ref-context.d.ts.map +1 -0
- package/dist/src/context/type-ref-context.js +12 -0
- package/dist/src/parameter-descriptor.d.ts +6 -0
- package/dist/src/parameter-descriptor.d.ts.map +1 -1
- package/dist/src/symbols/reference.d.ts +4 -1
- package/dist/src/symbols/reference.d.ts.map +1 -1
- package/dist/src/symbols/reference.js +11 -5
- package/dist/src/symbols/ts-module-scope.d.ts +4 -1
- package/dist/src/symbols/ts-module-scope.d.ts.map +1 -1
- package/dist/src/symbols/ts-module-scope.js +10 -3
- package/dist/src/symbols/ts-output-symbol.d.ts +2 -1
- package/dist/src/symbols/ts-output-symbol.d.ts.map +1 -1
- package/dist/src/symbols/ts-output-symbol.js +1 -0
- package/dist/test/class.test.js +108 -5
- package/dist/test/enum-jsdoc.test.js +6 -6
- package/dist/test/function-declaration-jsdoc.test.js +3 -3
- package/dist/test/imports.test.d.ts.map +1 -1
- package/dist/test/imports.test.js +293 -2
- package/dist/test/interface-jsdoc.test.js +9 -9
- package/dist/test/jsdoc.test.js +5 -5
- package/dist/test/jsdocparam.test.js +8 -8
- package/dist/test/member-expression.test.js +218 -2
- package/dist/test/var-declaration-jsdoc.test.js +3 -3
- package/dist/test/var-declaration.test.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -4
- package/src/components/ClassDeclaration.tsx +19 -3
- package/src/components/FunctionBase.tsx +14 -3
- package/src/components/FunctionType.tsx +45 -40
- package/src/components/ImportStatement.tsx +30 -3
- package/src/components/Interface.tsx +41 -34
- package/src/components/JSDocComment.tsx +1 -1
- package/src/components/MemberDeclaration.tsx +7 -1
- package/src/components/MemberExpression.tsx +7 -2
- package/src/components/Reference.tsx +12 -2
- package/src/components/TypeDeclaration.tsx +16 -13
- package/src/components/TypeRefContext.tsx +49 -0
- package/src/components/VarDeclaration.tsx +6 -2
- package/src/components/index.ts +1 -0
- package/src/components/stc/index.ts +1 -0
- package/src/context/type-ref-context.tsx +19 -0
- package/src/parameter-descriptor.ts +7 -0
- package/src/symbols/reference.ts +17 -5
- package/src/symbols/ts-module-scope.ts +19 -4
- package/src/symbols/ts-output-symbol.ts +1 -0
- package/temp/api.json +613 -220
- package/test/class.test.tsx +75 -5
- package/test/enum-jsdoc.test.tsx +6 -6
- package/test/function-declaration-jsdoc.test.tsx +3 -3
- package/test/imports.test.tsx +215 -1
- package/test/interface-jsdoc.test.tsx +9 -9
- package/test/jsdoc.test.tsx +5 -5
- package/test/jsdocparam.test.tsx +8 -8
- package/test/member-expression.test.tsx +171 -2
- package/test/var-declaration-jsdoc.test.tsx +3 -3
- package/test/var-declaration.test.tsx +1 -1
package/temp/api.json
CHANGED
|
@@ -172,6 +172,51 @@
|
|
|
172
172
|
"name": "",
|
|
173
173
|
"preserveMemberOrder": false,
|
|
174
174
|
"members": [
|
|
175
|
+
{
|
|
176
|
+
"kind": "Interface",
|
|
177
|
+
"canonicalReference": "@alloy-js/typescript!AddImportOptions:interface",
|
|
178
|
+
"docComment": "",
|
|
179
|
+
"excerptTokens": [
|
|
180
|
+
{
|
|
181
|
+
"kind": "Content",
|
|
182
|
+
"text": "export interface AddImportOptions "
|
|
183
|
+
}
|
|
184
|
+
],
|
|
185
|
+
"fileUrlPath": "src/symbols/ts-module-scope.ts",
|
|
186
|
+
"releaseTag": "Public",
|
|
187
|
+
"name": "AddImportOptions",
|
|
188
|
+
"preserveMemberOrder": false,
|
|
189
|
+
"members": [
|
|
190
|
+
{
|
|
191
|
+
"kind": "PropertySignature",
|
|
192
|
+
"canonicalReference": "@alloy-js/typescript!AddImportOptions#type:member",
|
|
193
|
+
"docComment": "",
|
|
194
|
+
"excerptTokens": [
|
|
195
|
+
{
|
|
196
|
+
"kind": "Content",
|
|
197
|
+
"text": "type?: "
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"kind": "Content",
|
|
201
|
+
"text": "boolean"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"kind": "Content",
|
|
205
|
+
"text": ";"
|
|
206
|
+
}
|
|
207
|
+
],
|
|
208
|
+
"isReadonly": false,
|
|
209
|
+
"isOptional": true,
|
|
210
|
+
"releaseTag": "Public",
|
|
211
|
+
"name": "type",
|
|
212
|
+
"propertyTypeTokenRange": {
|
|
213
|
+
"startIndex": 1,
|
|
214
|
+
"endIndex": 2
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
],
|
|
218
|
+
"extendsTokenRanges": []
|
|
219
|
+
},
|
|
175
220
|
{
|
|
176
221
|
"kind": "Function",
|
|
177
222
|
"canonicalReference": "@alloy-js/typescript!ArrayExpression:function(1)",
|
|
@@ -2041,6 +2086,33 @@
|
|
|
2041
2086
|
"endIndex": 2
|
|
2042
2087
|
}
|
|
2043
2088
|
},
|
|
2089
|
+
{
|
|
2090
|
+
"kind": "PropertySignature",
|
|
2091
|
+
"canonicalReference": "@alloy-js/typescript!ClassFieldProps#optional:member",
|
|
2092
|
+
"docComment": "",
|
|
2093
|
+
"excerptTokens": [
|
|
2094
|
+
{
|
|
2095
|
+
"kind": "Content",
|
|
2096
|
+
"text": "optional?: "
|
|
2097
|
+
},
|
|
2098
|
+
{
|
|
2099
|
+
"kind": "Content",
|
|
2100
|
+
"text": "boolean"
|
|
2101
|
+
},
|
|
2102
|
+
{
|
|
2103
|
+
"kind": "Content",
|
|
2104
|
+
"text": ";"
|
|
2105
|
+
}
|
|
2106
|
+
],
|
|
2107
|
+
"isReadonly": false,
|
|
2108
|
+
"isOptional": true,
|
|
2109
|
+
"releaseTag": "Public",
|
|
2110
|
+
"name": "optional",
|
|
2111
|
+
"propertyTypeTokenRange": {
|
|
2112
|
+
"startIndex": 1,
|
|
2113
|
+
"endIndex": 2
|
|
2114
|
+
}
|
|
2115
|
+
},
|
|
2044
2116
|
{
|
|
2045
2117
|
"kind": "PropertySignature",
|
|
2046
2118
|
"canonicalReference": "@alloy-js/typescript!ClassFieldProps#type:member",
|
|
@@ -2249,6 +2321,33 @@
|
|
|
2249
2321
|
"endIndex": 2
|
|
2250
2322
|
}
|
|
2251
2323
|
},
|
|
2324
|
+
{
|
|
2325
|
+
"kind": "PropertySignature",
|
|
2326
|
+
"canonicalReference": "@alloy-js/typescript!ClassMemberProps#nullish:member",
|
|
2327
|
+
"docComment": "",
|
|
2328
|
+
"excerptTokens": [
|
|
2329
|
+
{
|
|
2330
|
+
"kind": "Content",
|
|
2331
|
+
"text": "nullish?: "
|
|
2332
|
+
},
|
|
2333
|
+
{
|
|
2334
|
+
"kind": "Content",
|
|
2335
|
+
"text": "boolean"
|
|
2336
|
+
},
|
|
2337
|
+
{
|
|
2338
|
+
"kind": "Content",
|
|
2339
|
+
"text": ";"
|
|
2340
|
+
}
|
|
2341
|
+
],
|
|
2342
|
+
"isReadonly": false,
|
|
2343
|
+
"isOptional": true,
|
|
2344
|
+
"releaseTag": "Public",
|
|
2345
|
+
"name": "nullish",
|
|
2346
|
+
"propertyTypeTokenRange": {
|
|
2347
|
+
"startIndex": 1,
|
|
2348
|
+
"endIndex": 2
|
|
2349
|
+
}
|
|
2350
|
+
},
|
|
2252
2351
|
{
|
|
2253
2352
|
"kind": "PropertySignature",
|
|
2254
2353
|
"canonicalReference": "@alloy-js/typescript!ClassMemberProps#private:member",
|
|
@@ -3987,6 +4086,82 @@
|
|
|
3987
4086
|
],
|
|
3988
4087
|
"extendsTokenRanges": []
|
|
3989
4088
|
},
|
|
4089
|
+
{
|
|
4090
|
+
"kind": "Function",
|
|
4091
|
+
"canonicalReference": "@alloy-js/typescript!ensureTypeRefContext:function(1)",
|
|
4092
|
+
"docComment": "/**\n * Ensure the current component is inside a type ref context.\n * If not it will wrap in a {@link TypeRefContext} component.\n * If yes it will not add an extra node and return the original component.\n */\n",
|
|
4093
|
+
"excerptTokens": [
|
|
4094
|
+
{
|
|
4095
|
+
"kind": "Content",
|
|
4096
|
+
"text": "export declare function ensureTypeRefContext<A extends "
|
|
4097
|
+
},
|
|
4098
|
+
{
|
|
4099
|
+
"kind": "Content",
|
|
4100
|
+
"text": "unknown[]"
|
|
4101
|
+
},
|
|
4102
|
+
{
|
|
4103
|
+
"kind": "Content",
|
|
4104
|
+
"text": ">(fn: "
|
|
4105
|
+
},
|
|
4106
|
+
{
|
|
4107
|
+
"kind": "Content",
|
|
4108
|
+
"text": "(...args: A) => "
|
|
4109
|
+
},
|
|
4110
|
+
{
|
|
4111
|
+
"kind": "Reference",
|
|
4112
|
+
"text": "Children",
|
|
4113
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
4114
|
+
},
|
|
4115
|
+
{
|
|
4116
|
+
"kind": "Content",
|
|
4117
|
+
"text": "): "
|
|
4118
|
+
},
|
|
4119
|
+
{
|
|
4120
|
+
"kind": "Content",
|
|
4121
|
+
"text": "(...args: A) => "
|
|
4122
|
+
},
|
|
4123
|
+
{
|
|
4124
|
+
"kind": "Reference",
|
|
4125
|
+
"text": "Children",
|
|
4126
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
4127
|
+
},
|
|
4128
|
+
{
|
|
4129
|
+
"kind": "Content",
|
|
4130
|
+
"text": ";"
|
|
4131
|
+
}
|
|
4132
|
+
],
|
|
4133
|
+
"fileUrlPath": "src/components/TypeRefContext.tsx",
|
|
4134
|
+
"returnTypeTokenRange": {
|
|
4135
|
+
"startIndex": 6,
|
|
4136
|
+
"endIndex": 8
|
|
4137
|
+
},
|
|
4138
|
+
"releaseTag": "Public",
|
|
4139
|
+
"overloadIndex": 1,
|
|
4140
|
+
"parameters": [
|
|
4141
|
+
{
|
|
4142
|
+
"parameterName": "fn",
|
|
4143
|
+
"parameterTypeTokenRange": {
|
|
4144
|
+
"startIndex": 3,
|
|
4145
|
+
"endIndex": 5
|
|
4146
|
+
},
|
|
4147
|
+
"isOptional": false
|
|
4148
|
+
}
|
|
4149
|
+
],
|
|
4150
|
+
"typeParameters": [
|
|
4151
|
+
{
|
|
4152
|
+
"typeParameterName": "A",
|
|
4153
|
+
"constraintTokenRange": {
|
|
4154
|
+
"startIndex": 1,
|
|
4155
|
+
"endIndex": 2
|
|
4156
|
+
},
|
|
4157
|
+
"defaultTypeTokenRange": {
|
|
4158
|
+
"startIndex": 0,
|
|
4159
|
+
"endIndex": 0
|
|
4160
|
+
}
|
|
4161
|
+
}
|
|
4162
|
+
],
|
|
4163
|
+
"name": "ensureTypeRefContext"
|
|
4164
|
+
},
|
|
3990
4165
|
{
|
|
3991
4166
|
"kind": "Function",
|
|
3992
4167
|
"canonicalReference": "@alloy-js/typescript!EnumDeclaration:function(1)",
|
|
@@ -5580,13 +5755,17 @@
|
|
|
5580
5755
|
"extendsTokenRanges": []
|
|
5581
5756
|
},
|
|
5582
5757
|
{
|
|
5583
|
-
"kind": "
|
|
5584
|
-
"canonicalReference": "@alloy-js/typescript!FunctionType:
|
|
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
|
|
5758
|
+
"kind": "Variable",
|
|
5759
|
+
"canonicalReference": "@alloy-js/typescript!FunctionType:var",
|
|
5760
|
+
"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.Parameters} or\n * {@link FunctionType.TypeParameters} components.\n *\n * @example\n * ```ts\n * (foo: string, bar: number) => void\n * ```\n *\n */\n",
|
|
5586
5761
|
"excerptTokens": [
|
|
5587
5762
|
{
|
|
5588
5763
|
"kind": "Content",
|
|
5589
|
-
"text": "
|
|
5764
|
+
"text": "FunctionType: "
|
|
5765
|
+
},
|
|
5766
|
+
{
|
|
5767
|
+
"kind": "Content",
|
|
5768
|
+
"text": "((props: "
|
|
5590
5769
|
},
|
|
5591
5770
|
{
|
|
5592
5771
|
"kind": "Reference",
|
|
@@ -5595,7 +5774,7 @@
|
|
|
5595
5774
|
},
|
|
5596
5775
|
{
|
|
5597
5776
|
"kind": "Content",
|
|
5598
|
-
"text": ")
|
|
5777
|
+
"text": ") => "
|
|
5599
5778
|
},
|
|
5600
5779
|
{
|
|
5601
5780
|
"kind": "Reference",
|
|
@@ -5604,196 +5783,125 @@
|
|
|
5604
5783
|
},
|
|
5605
5784
|
{
|
|
5606
5785
|
"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": [
|
|
5786
|
+
"text": ") & {\n TypeParameters: import(\"@alloy-js/core\")."
|
|
5787
|
+
},
|
|
5618
5788
|
{
|
|
5619
|
-
"
|
|
5620
|
-
"
|
|
5621
|
-
|
|
5622
|
-
|
|
5623
|
-
|
|
5624
|
-
"
|
|
5625
|
-
|
|
5626
|
-
|
|
5627
|
-
|
|
5628
|
-
|
|
5629
|
-
|
|
5630
|
-
|
|
5631
|
-
|
|
5632
|
-
|
|
5633
|
-
|
|
5789
|
+
"kind": "Reference",
|
|
5790
|
+
"text": "Component",
|
|
5791
|
+
"canonicalReference": "@alloy-js/core!Component:interface"
|
|
5792
|
+
},
|
|
5793
|
+
{
|
|
5794
|
+
"kind": "Content",
|
|
5795
|
+
"text": "<import(\"./FunctionBase.jsx\")."
|
|
5796
|
+
},
|
|
5797
|
+
{
|
|
5798
|
+
"kind": "Reference",
|
|
5799
|
+
"text": "TypeParametersProps",
|
|
5800
|
+
"canonicalReference": "@alloy-js/typescript!~TypeParametersProps:interface"
|
|
5801
|
+
},
|
|
5802
|
+
{
|
|
5803
|
+
"kind": "Content",
|
|
5804
|
+
"text": "> & "
|
|
5805
|
+
},
|
|
5806
|
+
{
|
|
5807
|
+
"kind": "Reference",
|
|
5808
|
+
"text": "Required",
|
|
5809
|
+
"canonicalReference": "!Required:type"
|
|
5810
|
+
},
|
|
5811
|
+
{
|
|
5812
|
+
"kind": "Content",
|
|
5813
|
+
"text": "<"
|
|
5814
|
+
},
|
|
5815
|
+
{
|
|
5816
|
+
"kind": "Reference",
|
|
5817
|
+
"text": "Pick",
|
|
5818
|
+
"canonicalReference": "!Pick:type"
|
|
5819
|
+
},
|
|
5820
|
+
{
|
|
5821
|
+
"kind": "Content",
|
|
5822
|
+
"text": "<import(\"@alloy-js/core\")."
|
|
5823
|
+
},
|
|
5824
|
+
{
|
|
5825
|
+
"kind": "Reference",
|
|
5826
|
+
"text": "Component",
|
|
5827
|
+
"canonicalReference": "@alloy-js/core!Component:interface"
|
|
5828
|
+
},
|
|
5829
|
+
{
|
|
5830
|
+
"kind": "Content",
|
|
5831
|
+
"text": "<import(\"./FunctionBase.jsx\")."
|
|
5832
|
+
},
|
|
5833
|
+
{
|
|
5834
|
+
"kind": "Reference",
|
|
5835
|
+
"text": "TypeParametersProps",
|
|
5836
|
+
"canonicalReference": "@alloy-js/typescript!~TypeParametersProps:interface"
|
|
5837
|
+
},
|
|
5634
5838
|
{
|
|
5635
5839
|
"kind": "Content",
|
|
5636
|
-
"text": "
|
|
5840
|
+
"text": ">, \"tag\">>;\n Parameters: import(\"@alloy-js/core\")."
|
|
5841
|
+
},
|
|
5842
|
+
{
|
|
5843
|
+
"kind": "Reference",
|
|
5844
|
+
"text": "Component",
|
|
5845
|
+
"canonicalReference": "@alloy-js/core!Component:interface"
|
|
5846
|
+
},
|
|
5847
|
+
{
|
|
5848
|
+
"kind": "Content",
|
|
5849
|
+
"text": "<import(\"./FunctionBase.jsx\")."
|
|
5850
|
+
},
|
|
5851
|
+
{
|
|
5852
|
+
"kind": "Reference",
|
|
5853
|
+
"text": "FunctionTypeParametersProps",
|
|
5854
|
+
"canonicalReference": "@alloy-js/typescript!FunctionTypeParametersProps:interface"
|
|
5855
|
+
},
|
|
5856
|
+
{
|
|
5857
|
+
"kind": "Content",
|
|
5858
|
+
"text": "> & "
|
|
5859
|
+
},
|
|
5860
|
+
{
|
|
5861
|
+
"kind": "Reference",
|
|
5862
|
+
"text": "Required",
|
|
5863
|
+
"canonicalReference": "!Required:type"
|
|
5864
|
+
},
|
|
5865
|
+
{
|
|
5866
|
+
"kind": "Content",
|
|
5867
|
+
"text": "<"
|
|
5868
|
+
},
|
|
5869
|
+
{
|
|
5870
|
+
"kind": "Reference",
|
|
5871
|
+
"text": "Pick",
|
|
5872
|
+
"canonicalReference": "!Pick:type"
|
|
5873
|
+
},
|
|
5874
|
+
{
|
|
5875
|
+
"kind": "Content",
|
|
5876
|
+
"text": "<import(\"@alloy-js/core\")."
|
|
5877
|
+
},
|
|
5878
|
+
{
|
|
5879
|
+
"kind": "Reference",
|
|
5880
|
+
"text": "Component",
|
|
5881
|
+
"canonicalReference": "@alloy-js/core!Component:interface"
|
|
5882
|
+
},
|
|
5883
|
+
{
|
|
5884
|
+
"kind": "Content",
|
|
5885
|
+
"text": "<import(\"./FunctionBase.jsx\")."
|
|
5886
|
+
},
|
|
5887
|
+
{
|
|
5888
|
+
"kind": "Reference",
|
|
5889
|
+
"text": "FunctionTypeParametersProps",
|
|
5890
|
+
"canonicalReference": "@alloy-js/typescript!FunctionTypeParametersProps:interface"
|
|
5891
|
+
},
|
|
5892
|
+
{
|
|
5893
|
+
"kind": "Content",
|
|
5894
|
+
"text": ">, \"tag\">>;\n}"
|
|
5637
5895
|
}
|
|
5638
5896
|
],
|
|
5639
5897
|
"fileUrlPath": "src/components/FunctionType.tsx",
|
|
5898
|
+
"isReadonly": true,
|
|
5640
5899
|
"releaseTag": "Public",
|
|
5641
5900
|
"name": "FunctionType",
|
|
5642
|
-
"
|
|
5643
|
-
|
|
5644
|
-
|
|
5645
|
-
|
|
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
|
-
]
|
|
5901
|
+
"variableTypeTokenRange": {
|
|
5902
|
+
"startIndex": 1,
|
|
5903
|
+
"endIndex": 30
|
|
5904
|
+
}
|
|
5797
5905
|
},
|
|
5798
5906
|
{
|
|
5799
5907
|
"kind": "Interface",
|
|
@@ -5907,7 +6015,7 @@
|
|
|
5907
6015
|
{
|
|
5908
6016
|
"kind": "Interface",
|
|
5909
6017
|
"canonicalReference": "@alloy-js/typescript!FunctionTypeProps:interface",
|
|
5910
|
-
"docComment": "/**\n * Options for {@link
|
|
6018
|
+
"docComment": "/**\n * Options for {@link FunctionType} component.\n */\n",
|
|
5911
6019
|
"excerptTokens": [
|
|
5912
6020
|
{
|
|
5913
6021
|
"kind": "Content",
|
|
@@ -6512,7 +6620,7 @@
|
|
|
6512
6620
|
"excerptTokens": [
|
|
6513
6621
|
{
|
|
6514
6622
|
"kind": "Content",
|
|
6515
|
-
"text": "
|
|
6623
|
+
"text": "InterfaceDeclaration: (props: "
|
|
6516
6624
|
},
|
|
6517
6625
|
{
|
|
6518
6626
|
"kind": "Reference",
|
|
@@ -6521,16 +6629,12 @@
|
|
|
6521
6629
|
},
|
|
6522
6630
|
{
|
|
6523
6631
|
"kind": "Content",
|
|
6524
|
-
"text": ")
|
|
6632
|
+
"text": ") => "
|
|
6525
6633
|
},
|
|
6526
6634
|
{
|
|
6527
6635
|
"kind": "Reference",
|
|
6528
6636
|
"text": "Children",
|
|
6529
6637
|
"canonicalReference": "@alloy-js/core!Children:type"
|
|
6530
|
-
},
|
|
6531
|
-
{
|
|
6532
|
-
"kind": "Content",
|
|
6533
|
-
"text": ";"
|
|
6534
6638
|
}
|
|
6535
6639
|
],
|
|
6536
6640
|
"fileUrlPath": "src/components/Interface.tsx",
|
|
@@ -6619,7 +6723,7 @@
|
|
|
6619
6723
|
"excerptTokens": [
|
|
6620
6724
|
{
|
|
6621
6725
|
"kind": "Content",
|
|
6622
|
-
"text": "
|
|
6726
|
+
"text": "InterfaceExpression: (props: "
|
|
6623
6727
|
},
|
|
6624
6728
|
{
|
|
6625
6729
|
"kind": "Reference",
|
|
@@ -6628,16 +6732,12 @@
|
|
|
6628
6732
|
},
|
|
6629
6733
|
{
|
|
6630
6734
|
"kind": "Content",
|
|
6631
|
-
"text": ")
|
|
6735
|
+
"text": ") => "
|
|
6632
6736
|
},
|
|
6633
6737
|
{
|
|
6634
6738
|
"kind": "Reference",
|
|
6635
6739
|
"text": "Children",
|
|
6636
6740
|
"canonicalReference": "@alloy-js/core!Children:type"
|
|
6637
|
-
},
|
|
6638
|
-
{
|
|
6639
|
-
"kind": "Content",
|
|
6640
|
-
"text": ";"
|
|
6641
6741
|
}
|
|
6642
6742
|
],
|
|
6643
6743
|
"fileUrlPath": "src/components/Interface.tsx",
|
|
@@ -6833,9 +6933,36 @@
|
|
|
6833
6933
|
"text": "indexer?: "
|
|
6834
6934
|
},
|
|
6835
6935
|
{
|
|
6836
|
-
"kind": "Reference",
|
|
6837
|
-
"text": "Children",
|
|
6838
|
-
"canonicalReference": "@alloy-js/core!Children:type"
|
|
6936
|
+
"kind": "Reference",
|
|
6937
|
+
"text": "Children",
|
|
6938
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
6939
|
+
},
|
|
6940
|
+
{
|
|
6941
|
+
"kind": "Content",
|
|
6942
|
+
"text": ";"
|
|
6943
|
+
}
|
|
6944
|
+
],
|
|
6945
|
+
"isReadonly": false,
|
|
6946
|
+
"isOptional": true,
|
|
6947
|
+
"releaseTag": "Public",
|
|
6948
|
+
"name": "indexer",
|
|
6949
|
+
"propertyTypeTokenRange": {
|
|
6950
|
+
"startIndex": 1,
|
|
6951
|
+
"endIndex": 2
|
|
6952
|
+
}
|
|
6953
|
+
},
|
|
6954
|
+
{
|
|
6955
|
+
"kind": "PropertySignature",
|
|
6956
|
+
"canonicalReference": "@alloy-js/typescript!InterfaceMemberProps#name:member",
|
|
6957
|
+
"docComment": "",
|
|
6958
|
+
"excerptTokens": [
|
|
6959
|
+
{
|
|
6960
|
+
"kind": "Content",
|
|
6961
|
+
"text": "name?: "
|
|
6962
|
+
},
|
|
6963
|
+
{
|
|
6964
|
+
"kind": "Content",
|
|
6965
|
+
"text": "string"
|
|
6839
6966
|
},
|
|
6840
6967
|
{
|
|
6841
6968
|
"kind": "Content",
|
|
@@ -6845,7 +6972,7 @@
|
|
|
6845
6972
|
"isReadonly": false,
|
|
6846
6973
|
"isOptional": true,
|
|
6847
6974
|
"releaseTag": "Public",
|
|
6848
|
-
"name": "
|
|
6975
|
+
"name": "name",
|
|
6849
6976
|
"propertyTypeTokenRange": {
|
|
6850
6977
|
"startIndex": 1,
|
|
6851
6978
|
"endIndex": 2
|
|
@@ -6853,16 +6980,16 @@
|
|
|
6853
6980
|
},
|
|
6854
6981
|
{
|
|
6855
6982
|
"kind": "PropertySignature",
|
|
6856
|
-
"canonicalReference": "@alloy-js/typescript!InterfaceMemberProps#
|
|
6983
|
+
"canonicalReference": "@alloy-js/typescript!InterfaceMemberProps#nullish:member",
|
|
6857
6984
|
"docComment": "",
|
|
6858
6985
|
"excerptTokens": [
|
|
6859
6986
|
{
|
|
6860
6987
|
"kind": "Content",
|
|
6861
|
-
"text": "
|
|
6988
|
+
"text": "nullish?: "
|
|
6862
6989
|
},
|
|
6863
6990
|
{
|
|
6864
6991
|
"kind": "Content",
|
|
6865
|
-
"text": "
|
|
6992
|
+
"text": "boolean"
|
|
6866
6993
|
},
|
|
6867
6994
|
{
|
|
6868
6995
|
"kind": "Content",
|
|
@@ -6872,7 +6999,7 @@
|
|
|
6872
6999
|
"isReadonly": false,
|
|
6873
7000
|
"isOptional": true,
|
|
6874
7001
|
"releaseTag": "Public",
|
|
6875
|
-
"name": "
|
|
7002
|
+
"name": "nullish",
|
|
6876
7003
|
"propertyTypeTokenRange": {
|
|
6877
7004
|
"startIndex": 1,
|
|
6878
7005
|
"endIndex": 2
|
|
@@ -11304,6 +11431,33 @@
|
|
|
11304
11431
|
"endIndex": 2
|
|
11305
11432
|
}
|
|
11306
11433
|
},
|
|
11434
|
+
{
|
|
11435
|
+
"kind": "PropertySignature",
|
|
11436
|
+
"canonicalReference": "@alloy-js/typescript!ParameterDescriptorBase#nullish:member",
|
|
11437
|
+
"docComment": "/**\n * Whether the parameter is can be null or undefined.\n * when optional is true, this will be set to true by default,\n * but explicitly setting this to false will override that.\n */\n",
|
|
11438
|
+
"excerptTokens": [
|
|
11439
|
+
{
|
|
11440
|
+
"kind": "Content",
|
|
11441
|
+
"text": "readonly nullish?: "
|
|
11442
|
+
},
|
|
11443
|
+
{
|
|
11444
|
+
"kind": "Content",
|
|
11445
|
+
"text": "boolean"
|
|
11446
|
+
},
|
|
11447
|
+
{
|
|
11448
|
+
"kind": "Content",
|
|
11449
|
+
"text": ";"
|
|
11450
|
+
}
|
|
11451
|
+
],
|
|
11452
|
+
"isReadonly": true,
|
|
11453
|
+
"isOptional": true,
|
|
11454
|
+
"releaseTag": "Public",
|
|
11455
|
+
"name": "nullish",
|
|
11456
|
+
"propertyTypeTokenRange": {
|
|
11457
|
+
"startIndex": 1,
|
|
11458
|
+
"endIndex": 2
|
|
11459
|
+
}
|
|
11460
|
+
},
|
|
11307
11461
|
{
|
|
11308
11462
|
"kind": "PropertySignature",
|
|
11309
11463
|
"canonicalReference": "@alloy-js/typescript!ParameterDescriptorBase#optional:member",
|
|
@@ -11528,6 +11682,15 @@
|
|
|
11528
11682
|
"text": "Refkey",
|
|
11529
11683
|
"canonicalReference": "@alloy-js/core!Refkey:type"
|
|
11530
11684
|
},
|
|
11685
|
+
{
|
|
11686
|
+
"kind": "Content",
|
|
11687
|
+
"text": ", options?: "
|
|
11688
|
+
},
|
|
11689
|
+
{
|
|
11690
|
+
"kind": "Reference",
|
|
11691
|
+
"text": "RefOptions",
|
|
11692
|
+
"canonicalReference": "@alloy-js/typescript!RefOptions:interface"
|
|
11693
|
+
},
|
|
11531
11694
|
{
|
|
11532
11695
|
"kind": "Content",
|
|
11533
11696
|
"text": "): "
|
|
@@ -11543,8 +11706,8 @@
|
|
|
11543
11706
|
],
|
|
11544
11707
|
"fileUrlPath": "src/symbols/reference.ts",
|
|
11545
11708
|
"returnTypeTokenRange": {
|
|
11546
|
-
"startIndex":
|
|
11547
|
-
"endIndex":
|
|
11709
|
+
"startIndex": 5,
|
|
11710
|
+
"endIndex": 6
|
|
11548
11711
|
},
|
|
11549
11712
|
"releaseTag": "Public",
|
|
11550
11713
|
"overloadIndex": 1,
|
|
@@ -11556,6 +11719,14 @@
|
|
|
11556
11719
|
"endIndex": 2
|
|
11557
11720
|
},
|
|
11558
11721
|
"isOptional": false
|
|
11722
|
+
},
|
|
11723
|
+
{
|
|
11724
|
+
"parameterName": "options",
|
|
11725
|
+
"parameterTypeTokenRange": {
|
|
11726
|
+
"startIndex": 3,
|
|
11727
|
+
"endIndex": 4
|
|
11728
|
+
},
|
|
11729
|
+
"isOptional": true
|
|
11559
11730
|
}
|
|
11560
11731
|
],
|
|
11561
11732
|
"name": "ref"
|
|
@@ -11567,7 +11738,7 @@
|
|
|
11567
11738
|
"excerptTokens": [
|
|
11568
11739
|
{
|
|
11569
11740
|
"kind": "Content",
|
|
11570
|
-
"text": "export declare function Reference({ refkey }: "
|
|
11741
|
+
"text": "export declare function Reference({ refkey, type }: "
|
|
11571
11742
|
},
|
|
11572
11743
|
{
|
|
11573
11744
|
"kind": "Reference",
|
|
@@ -11601,7 +11772,7 @@
|
|
|
11601
11772
|
"overloadIndex": 1,
|
|
11602
11773
|
"parameters": [
|
|
11603
11774
|
{
|
|
11604
|
-
"parameterName": "{ refkey }",
|
|
11775
|
+
"parameterName": "{ refkey, type }",
|
|
11605
11776
|
"parameterTypeTokenRange": {
|
|
11606
11777
|
"startIndex": 1,
|
|
11607
11778
|
"endIndex": 2
|
|
@@ -11653,6 +11824,78 @@
|
|
|
11653
11824
|
"startIndex": 1,
|
|
11654
11825
|
"endIndex": 2
|
|
11655
11826
|
}
|
|
11827
|
+
},
|
|
11828
|
+
{
|
|
11829
|
+
"kind": "PropertySignature",
|
|
11830
|
+
"canonicalReference": "@alloy-js/typescript!ReferenceProps#type:member",
|
|
11831
|
+
"docComment": "/**\n * Whether this is a reference to a type.\n *\n * @remarks\n *\n *\n * This affect things like import where `type` keyword might be used.\n */\n",
|
|
11832
|
+
"excerptTokens": [
|
|
11833
|
+
{
|
|
11834
|
+
"kind": "Content",
|
|
11835
|
+
"text": "type?: "
|
|
11836
|
+
},
|
|
11837
|
+
{
|
|
11838
|
+
"kind": "Content",
|
|
11839
|
+
"text": "boolean"
|
|
11840
|
+
},
|
|
11841
|
+
{
|
|
11842
|
+
"kind": "Content",
|
|
11843
|
+
"text": ";"
|
|
11844
|
+
}
|
|
11845
|
+
],
|
|
11846
|
+
"isReadonly": false,
|
|
11847
|
+
"isOptional": true,
|
|
11848
|
+
"releaseTag": "Public",
|
|
11849
|
+
"name": "type",
|
|
11850
|
+
"propertyTypeTokenRange": {
|
|
11851
|
+
"startIndex": 1,
|
|
11852
|
+
"endIndex": 2
|
|
11853
|
+
}
|
|
11854
|
+
}
|
|
11855
|
+
],
|
|
11856
|
+
"extendsTokenRanges": []
|
|
11857
|
+
},
|
|
11858
|
+
{
|
|
11859
|
+
"kind": "Interface",
|
|
11860
|
+
"canonicalReference": "@alloy-js/typescript!RefOptions:interface",
|
|
11861
|
+
"docComment": "",
|
|
11862
|
+
"excerptTokens": [
|
|
11863
|
+
{
|
|
11864
|
+
"kind": "Content",
|
|
11865
|
+
"text": "export interface RefOptions "
|
|
11866
|
+
}
|
|
11867
|
+
],
|
|
11868
|
+
"fileUrlPath": "src/symbols/reference.ts",
|
|
11869
|
+
"releaseTag": "Public",
|
|
11870
|
+
"name": "RefOptions",
|
|
11871
|
+
"preserveMemberOrder": false,
|
|
11872
|
+
"members": [
|
|
11873
|
+
{
|
|
11874
|
+
"kind": "PropertySignature",
|
|
11875
|
+
"canonicalReference": "@alloy-js/typescript!RefOptions#type:member",
|
|
11876
|
+
"docComment": "",
|
|
11877
|
+
"excerptTokens": [
|
|
11878
|
+
{
|
|
11879
|
+
"kind": "Content",
|
|
11880
|
+
"text": "type?: "
|
|
11881
|
+
},
|
|
11882
|
+
{
|
|
11883
|
+
"kind": "Content",
|
|
11884
|
+
"text": "boolean"
|
|
11885
|
+
},
|
|
11886
|
+
{
|
|
11887
|
+
"kind": "Content",
|
|
11888
|
+
"text": ";"
|
|
11889
|
+
}
|
|
11890
|
+
],
|
|
11891
|
+
"isReadonly": false,
|
|
11892
|
+
"isOptional": true,
|
|
11893
|
+
"releaseTag": "Public",
|
|
11894
|
+
"name": "type",
|
|
11895
|
+
"propertyTypeTokenRange": {
|
|
11896
|
+
"startIndex": 1,
|
|
11897
|
+
"endIndex": 2
|
|
11898
|
+
}
|
|
11656
11899
|
}
|
|
11657
11900
|
],
|
|
11658
11901
|
"extendsTokenRanges": []
|
|
@@ -12511,6 +12754,15 @@
|
|
|
12511
12754
|
"text": "TSModuleScope",
|
|
12512
12755
|
"canonicalReference": "@alloy-js/typescript!TSModuleScope:interface"
|
|
12513
12756
|
},
|
|
12757
|
+
{
|
|
12758
|
+
"kind": "Content",
|
|
12759
|
+
"text": ", options?: "
|
|
12760
|
+
},
|
|
12761
|
+
{
|
|
12762
|
+
"kind": "Reference",
|
|
12763
|
+
"text": "AddImportOptions",
|
|
12764
|
+
"canonicalReference": "@alloy-js/typescript!AddImportOptions:interface"
|
|
12765
|
+
},
|
|
12514
12766
|
{
|
|
12515
12767
|
"kind": "Content",
|
|
12516
12768
|
"text": "): "
|
|
@@ -12527,8 +12779,8 @@
|
|
|
12527
12779
|
],
|
|
12528
12780
|
"isOptional": false,
|
|
12529
12781
|
"returnTypeTokenRange": {
|
|
12530
|
-
"startIndex":
|
|
12531
|
-
"endIndex":
|
|
12782
|
+
"startIndex": 7,
|
|
12783
|
+
"endIndex": 8
|
|
12532
12784
|
},
|
|
12533
12785
|
"releaseTag": "Public",
|
|
12534
12786
|
"overloadIndex": 1,
|
|
@@ -12548,6 +12800,14 @@
|
|
|
12548
12800
|
"endIndex": 4
|
|
12549
12801
|
},
|
|
12550
12802
|
"isOptional": false
|
|
12803
|
+
},
|
|
12804
|
+
{
|
|
12805
|
+
"parameterName": "options",
|
|
12806
|
+
"parameterTypeTokenRange": {
|
|
12807
|
+
"startIndex": 5,
|
|
12808
|
+
"endIndex": 6
|
|
12809
|
+
},
|
|
12810
|
+
"isOptional": true
|
|
12551
12811
|
}
|
|
12552
12812
|
],
|
|
12553
12813
|
"name": "addImport"
|
|
@@ -13639,6 +13899,27 @@
|
|
|
13639
13899
|
"releaseTag": "Public",
|
|
13640
13900
|
"name": "None"
|
|
13641
13901
|
},
|
|
13902
|
+
{
|
|
13903
|
+
"kind": "EnumMember",
|
|
13904
|
+
"canonicalReference": "@alloy-js/typescript!TSSymbolFlags.Nullish:member",
|
|
13905
|
+
"docComment": "",
|
|
13906
|
+
"excerptTokens": [
|
|
13907
|
+
{
|
|
13908
|
+
"kind": "Content",
|
|
13909
|
+
"text": "Nullish = "
|
|
13910
|
+
},
|
|
13911
|
+
{
|
|
13912
|
+
"kind": "Content",
|
|
13913
|
+
"text": "32"
|
|
13914
|
+
}
|
|
13915
|
+
],
|
|
13916
|
+
"initializerTokenRange": {
|
|
13917
|
+
"startIndex": 1,
|
|
13918
|
+
"endIndex": 2
|
|
13919
|
+
},
|
|
13920
|
+
"releaseTag": "Public",
|
|
13921
|
+
"name": "Nullish"
|
|
13922
|
+
},
|
|
13642
13923
|
{
|
|
13643
13924
|
"kind": "EnumMember",
|
|
13644
13925
|
"canonicalReference": "@alloy-js/typescript!TSSymbolFlags.ParameterSymbol:member",
|
|
@@ -13732,7 +14013,7 @@
|
|
|
13732
14013
|
"excerptTokens": [
|
|
13733
14014
|
{
|
|
13734
14015
|
"kind": "Content",
|
|
13735
|
-
"text": "
|
|
14016
|
+
"text": "TypeDeclaration: (props: "
|
|
13736
14017
|
},
|
|
13737
14018
|
{
|
|
13738
14019
|
"kind": "Reference",
|
|
@@ -13741,7 +14022,7 @@
|
|
|
13741
14022
|
},
|
|
13742
14023
|
{
|
|
13743
14024
|
"kind": "Content",
|
|
13744
|
-
"text": ")
|
|
14025
|
+
"text": ") => "
|
|
13745
14026
|
},
|
|
13746
14027
|
{
|
|
13747
14028
|
"kind": "Content",
|
|
@@ -13751,10 +14032,6 @@
|
|
|
13751
14032
|
"kind": "Reference",
|
|
13752
14033
|
"text": "Children",
|
|
13753
14034
|
"canonicalReference": "@alloy-js/core!Children:type"
|
|
13754
|
-
},
|
|
13755
|
-
{
|
|
13756
|
-
"kind": "Content",
|
|
13757
|
-
"text": ";"
|
|
13758
14035
|
}
|
|
13759
14036
|
],
|
|
13760
14037
|
"fileUrlPath": "src/components/TypeDeclaration.tsx",
|
|
@@ -13981,6 +14258,95 @@
|
|
|
13981
14258
|
],
|
|
13982
14259
|
"extendsTokenRanges": []
|
|
13983
14260
|
},
|
|
14261
|
+
{
|
|
14262
|
+
"kind": "Function",
|
|
14263
|
+
"canonicalReference": "@alloy-js/typescript!TypeRefContext:function(1)",
|
|
14264
|
+
"docComment": "/**\n * Set the current context of reference to be type reference.\n *\n * @remarks\n *\n *\n * References used inside the children of this component will be treated as type reference {@link Reference}.\n *\n * Prefer using {@link ensureTypeRefContext} when wrapping the whole component to reduce tree nodes.\n */\n",
|
|
14265
|
+
"excerptTokens": [
|
|
14266
|
+
{
|
|
14267
|
+
"kind": "Content",
|
|
14268
|
+
"text": "TypeRefContext: ({ children }: "
|
|
14269
|
+
},
|
|
14270
|
+
{
|
|
14271
|
+
"kind": "Reference",
|
|
14272
|
+
"text": "TypeRefContextProps",
|
|
14273
|
+
"canonicalReference": "@alloy-js/typescript!TypeRefContextProps:interface"
|
|
14274
|
+
},
|
|
14275
|
+
{
|
|
14276
|
+
"kind": "Content",
|
|
14277
|
+
"text": ") => "
|
|
14278
|
+
},
|
|
14279
|
+
{
|
|
14280
|
+
"kind": "Reference",
|
|
14281
|
+
"text": "Children",
|
|
14282
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
14283
|
+
}
|
|
14284
|
+
],
|
|
14285
|
+
"fileUrlPath": "src/components/TypeRefContext.tsx",
|
|
14286
|
+
"returnTypeTokenRange": {
|
|
14287
|
+
"startIndex": 3,
|
|
14288
|
+
"endIndex": 4
|
|
14289
|
+
},
|
|
14290
|
+
"releaseTag": "Public",
|
|
14291
|
+
"overloadIndex": 1,
|
|
14292
|
+
"parameters": [
|
|
14293
|
+
{
|
|
14294
|
+
"parameterName": "{ children }",
|
|
14295
|
+
"parameterTypeTokenRange": {
|
|
14296
|
+
"startIndex": 1,
|
|
14297
|
+
"endIndex": 2
|
|
14298
|
+
},
|
|
14299
|
+
"isOptional": false
|
|
14300
|
+
}
|
|
14301
|
+
],
|
|
14302
|
+
"name": "TypeRefContext"
|
|
14303
|
+
},
|
|
14304
|
+
{
|
|
14305
|
+
"kind": "Interface",
|
|
14306
|
+
"canonicalReference": "@alloy-js/typescript!TypeRefContextProps:interface",
|
|
14307
|
+
"docComment": "",
|
|
14308
|
+
"excerptTokens": [
|
|
14309
|
+
{
|
|
14310
|
+
"kind": "Content",
|
|
14311
|
+
"text": "export interface TypeRefContextProps "
|
|
14312
|
+
}
|
|
14313
|
+
],
|
|
14314
|
+
"fileUrlPath": "src/components/TypeRefContext.tsx",
|
|
14315
|
+
"releaseTag": "Public",
|
|
14316
|
+
"name": "TypeRefContextProps",
|
|
14317
|
+
"preserveMemberOrder": false,
|
|
14318
|
+
"members": [
|
|
14319
|
+
{
|
|
14320
|
+
"kind": "PropertySignature",
|
|
14321
|
+
"canonicalReference": "@alloy-js/typescript!TypeRefContextProps#children:member",
|
|
14322
|
+
"docComment": "/**\n * Children\n */\n",
|
|
14323
|
+
"excerptTokens": [
|
|
14324
|
+
{
|
|
14325
|
+
"kind": "Content",
|
|
14326
|
+
"text": "children: "
|
|
14327
|
+
},
|
|
14328
|
+
{
|
|
14329
|
+
"kind": "Reference",
|
|
14330
|
+
"text": "Children",
|
|
14331
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
14332
|
+
},
|
|
14333
|
+
{
|
|
14334
|
+
"kind": "Content",
|
|
14335
|
+
"text": ";"
|
|
14336
|
+
}
|
|
14337
|
+
],
|
|
14338
|
+
"isReadonly": false,
|
|
14339
|
+
"isOptional": false,
|
|
14340
|
+
"releaseTag": "Public",
|
|
14341
|
+
"name": "children",
|
|
14342
|
+
"propertyTypeTokenRange": {
|
|
14343
|
+
"startIndex": 1,
|
|
14344
|
+
"endIndex": 2
|
|
14345
|
+
}
|
|
14346
|
+
}
|
|
14347
|
+
],
|
|
14348
|
+
"extendsTokenRanges": []
|
|
14349
|
+
},
|
|
13984
14350
|
{
|
|
13985
14351
|
"kind": "TypeAlias",
|
|
13986
14352
|
"canonicalReference": "@alloy-js/typescript!TypeScriptElements:type",
|
|
@@ -14418,6 +14784,33 @@
|
|
|
14418
14784
|
"endIndex": 2
|
|
14419
14785
|
}
|
|
14420
14786
|
},
|
|
14787
|
+
{
|
|
14788
|
+
"kind": "PropertySignature",
|
|
14789
|
+
"canonicalReference": "@alloy-js/typescript!VarDeclarationProps#nullish:member",
|
|
14790
|
+
"docComment": "",
|
|
14791
|
+
"excerptTokens": [
|
|
14792
|
+
{
|
|
14793
|
+
"kind": "Content",
|
|
14794
|
+
"text": "nullish?: "
|
|
14795
|
+
},
|
|
14796
|
+
{
|
|
14797
|
+
"kind": "Content",
|
|
14798
|
+
"text": "boolean"
|
|
14799
|
+
},
|
|
14800
|
+
{
|
|
14801
|
+
"kind": "Content",
|
|
14802
|
+
"text": ";"
|
|
14803
|
+
}
|
|
14804
|
+
],
|
|
14805
|
+
"isReadonly": false,
|
|
14806
|
+
"isOptional": true,
|
|
14807
|
+
"releaseTag": "Public",
|
|
14808
|
+
"name": "nullish",
|
|
14809
|
+
"propertyTypeTokenRange": {
|
|
14810
|
+
"startIndex": 1,
|
|
14811
|
+
"endIndex": 2
|
|
14812
|
+
}
|
|
14813
|
+
},
|
|
14421
14814
|
{
|
|
14422
14815
|
"kind": "PropertySignature",
|
|
14423
14816
|
"canonicalReference": "@alloy-js/typescript!VarDeclarationProps#type:member",
|