@teambit/schema 1.0.551 → 1.0.553

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.
@@ -706,13 +706,21 @@
706
706
  "signature": "const Array: string[]",
707
707
  "name": "Array",
708
708
  "type": {
709
- "__schema": "InferenceTypeSchema",
709
+ "__schema": "TypeArraySchema",
710
710
  "location": {
711
711
  "filePath": "index.ts",
712
712
  "line": 32,
713
713
  "character": 14
714
714
  },
715
- "type": "string[]"
715
+ "type": {
716
+ "__schema": "InferenceTypeSchema",
717
+ "location": {
718
+ "filePath": "index.ts",
719
+ "line": 32,
720
+ "character": 14
721
+ },
722
+ "type": "string"
723
+ }
716
724
  },
717
725
  "isOptional": false,
718
726
  "defaultValue": "['hi', 'there']"
@@ -1962,13 +1970,46 @@
1962
1970
  "signature": "const gfnc2: <T>(a: T) => void",
1963
1971
  "name": "gfnc2",
1964
1972
  "type": {
1965
- "__schema": "InferenceTypeSchema",
1973
+ "__schema": "FunctionLikeSchema",
1966
1974
  "location": {
1967
1975
  "filePath": "index.ts",
1968
1976
  "line": 133,
1969
1977
  "character": 14
1970
1978
  },
1971
- "type": "<T>(a: T) => void"
1979
+ "signature": "const gfnc2: <T>(a: T) => void",
1980
+ "name": "anonymous",
1981
+ "params": [
1982
+ {
1983
+ "__schema": "ParameterSchema",
1984
+ "location": {
1985
+ "filePath": "index.ts",
1986
+ "line": 133,
1987
+ "character": 14
1988
+ },
1989
+ "name": "a",
1990
+ "type": {
1991
+ "__schema": "InferenceTypeSchema",
1992
+ "location": {
1993
+ "filePath": "index.ts",
1994
+ "line": 133,
1995
+ "character": 14
1996
+ },
1997
+ "type": "T"
1998
+ },
1999
+ "isOptional": false,
2000
+ "isSpread": false
2001
+ }
2002
+ ],
2003
+ "returnType": {
2004
+ "__schema": "InferenceTypeSchema",
2005
+ "location": {
2006
+ "filePath": "index.ts",
2007
+ "line": 133,
2008
+ "character": 14
2009
+ },
2010
+ "type": "void"
2011
+ },
2012
+ "modifiers": []
1972
2013
  },
1973
2014
  "isOptional": false,
1974
2015
  "defaultValue": "genericFunction<string>('')"
@@ -3084,13 +3125,32 @@
3084
3125
  "signature": "const obj: {\n a: number;\n b: number;\n}",
3085
3126
  "name": "obj",
3086
3127
  "type": {
3087
- "__schema": "InferenceTypeSchema",
3128
+ "__schema": "ArrayLiteralExpressionSchema",
3088
3129
  "location": {
3089
3130
  "filePath": "index.ts",
3090
3131
  "line": 59,
3091
3132
  "character": 7
3092
3133
  },
3093
- "type": "{\n a: number;\n b: number;\n}"
3134
+ "members": [
3135
+ {
3136
+ "__schema": "InferenceTypeSchema",
3137
+ "location": {
3138
+ "filePath": "index.ts",
3139
+ "line": 59,
3140
+ "character": 7
3141
+ },
3142
+ "type": "a: number"
3143
+ },
3144
+ {
3145
+ "__schema": "InferenceTypeSchema",
3146
+ "location": {
3147
+ "filePath": "index.ts",
3148
+ "line": 59,
3149
+ "character": 7
3150
+ },
3151
+ "type": "b: number"
3152
+ }
3153
+ ]
3094
3154
  },
3095
3155
  "isOptional": false,
3096
3156
  "defaultValue": "{ a: 1, b: 2 }"
@@ -3614,6 +3674,3402 @@
3614
3674
  }
3615
3675
  ],
3616
3676
  "internals": []
3677
+ },
3678
+ {
3679
+ "__schema": "ModuleSchema",
3680
+ "location": {
3681
+ "filePath": "index.ts",
3682
+ "line": 15,
3683
+ "character": 1
3684
+ },
3685
+ "exports": [
3686
+ {
3687
+ "__schema": "FunctionLikeSchema",
3688
+ "location": {
3689
+ "filePath": "index.ts",
3690
+ "line": 15,
3691
+ "character": 1
3692
+ },
3693
+ "doc": {
3694
+ "__schema": "DocSchema",
3695
+ "location": {
3696
+ "filePath": "index.ts",
3697
+ "line": 8,
3698
+ "character": 1
3699
+ },
3700
+ "raw": "/**\n * General comment of the myFunc\n * @deprecate example of deprecation tag\n * @param a { number } this is A\n * @param b this is B\n * @returns { number } results of adding a to b\n */",
3701
+ "comment": "General comment of the myFunc",
3702
+ "tags": [
3703
+ {
3704
+ "__schema": "TagSchema",
3705
+ "location": {
3706
+ "filePath": "index.ts",
3707
+ "line": 10,
3708
+ "character": 4
3709
+ },
3710
+ "tagName": "deprecate",
3711
+ "comment": "example of deprecation tag"
3712
+ },
3713
+ {
3714
+ "__schema": "PropertyLikeTagSchema",
3715
+ "location": {
3716
+ "filePath": "index.ts",
3717
+ "line": 11,
3718
+ "character": 4
3719
+ },
3720
+ "name": "a",
3721
+ "tagName": "parameter",
3722
+ "comment": "this is A",
3723
+ "type": {
3724
+ "__schema": "KeywordTypeSchema",
3725
+ "location": {
3726
+ "filePath": "index.ts",
3727
+ "line": 11,
3728
+ "character": 15
3729
+ },
3730
+ "name": "number"
3731
+ }
3732
+ },
3733
+ {
3734
+ "__schema": "PropertyLikeTagSchema",
3735
+ "location": {
3736
+ "filePath": "index.ts",
3737
+ "line": 12,
3738
+ "character": 4
3739
+ },
3740
+ "name": "b",
3741
+ "tagName": "parameter",
3742
+ "comment": "this is B"
3743
+ },
3744
+ {
3745
+ "__schema": "ReturnTagSchema",
3746
+ "location": {
3747
+ "filePath": "index.ts",
3748
+ "line": 13,
3749
+ "character": 4
3750
+ },
3751
+ "tagName": "return",
3752
+ "comment": "results of adding a to b",
3753
+ "type": {
3754
+ "__schema": "KeywordTypeSchema",
3755
+ "location": {
3756
+ "filePath": "index.ts",
3757
+ "line": 13,
3758
+ "character": 15
3759
+ },
3760
+ "name": "number"
3761
+ }
3762
+ }
3763
+ ]
3764
+ },
3765
+ "signature": "function myFunc(a?: number, b?: number): number",
3766
+ "name": "myFunc",
3767
+ "params": [
3768
+ {
3769
+ "__schema": "ParameterSchema",
3770
+ "location": {
3771
+ "filePath": "index.ts",
3772
+ "line": 15,
3773
+ "character": 24
3774
+ },
3775
+ "name": "a",
3776
+ "type": {
3777
+ "__schema": "InferenceTypeSchema",
3778
+ "location": {
3779
+ "filePath": "index.ts",
3780
+ "line": 15,
3781
+ "character": 24
3782
+ },
3783
+ "type": "number"
3784
+ },
3785
+ "isOptional": true,
3786
+ "defaultValue": "4",
3787
+ "isSpread": false
3788
+ },
3789
+ {
3790
+ "__schema": "ParameterSchema",
3791
+ "location": {
3792
+ "filePath": "index.ts",
3793
+ "line": 15,
3794
+ "character": 31
3795
+ },
3796
+ "name": "b",
3797
+ "type": {
3798
+ "__schema": "InferenceTypeSchema",
3799
+ "location": {
3800
+ "filePath": "index.ts",
3801
+ "line": 15,
3802
+ "character": 31
3803
+ },
3804
+ "type": "number"
3805
+ },
3806
+ "isOptional": true,
3807
+ "defaultValue": "5",
3808
+ "isSpread": false
3809
+ }
3810
+ ],
3811
+ "returnType": {
3812
+ "__schema": "KeywordTypeSchema",
3813
+ "location": {
3814
+ "filePath": "index.ts",
3815
+ "line": 15,
3816
+ "character": 39
3817
+ },
3818
+ "name": "number"
3819
+ },
3820
+ "modifiers": [
3821
+ "export"
3822
+ ]
3823
+ },
3824
+ {
3825
+ "__schema": "TypeSchema",
3826
+ "location": {
3827
+ "filePath": "button.tsx",
3828
+ "line": 6,
3829
+ "character": 1
3830
+ },
3831
+ "signature": "type ButtonElementType = \"a\" | \"button\"",
3832
+ "name": "ButtonElementType",
3833
+ "type": {
3834
+ "__schema": "TypeUnionSchema",
3835
+ "location": {
3836
+ "filePath": "button.tsx",
3837
+ "line": 6,
3838
+ "character": 33
3839
+ },
3840
+ "types": [
3841
+ {
3842
+ "__schema": "LiteralTypeSchema",
3843
+ "location": {
3844
+ "filePath": "button.tsx",
3845
+ "line": 6,
3846
+ "character": 33
3847
+ },
3848
+ "name": "'a'"
3849
+ },
3850
+ {
3851
+ "__schema": "LiteralTypeSchema",
3852
+ "location": {
3853
+ "filePath": "button.tsx",
3854
+ "line": 6,
3855
+ "character": 39
3856
+ },
3857
+ "name": "'button'"
3858
+ }
3859
+ ]
3860
+ }
3861
+ },
3862
+ {
3863
+ "__schema": "TypeSchema",
3864
+ "location": {
3865
+ "filePath": "button.tsx",
3866
+ "line": 8,
3867
+ "character": 1
3868
+ },
3869
+ "signature": "type ButtonProps = any",
3870
+ "name": "ButtonProps",
3871
+ "type": {
3872
+ "__schema": "TypeIntersectionSchema",
3873
+ "location": {
3874
+ "filePath": "button.tsx",
3875
+ "line": 8,
3876
+ "character": 27
3877
+ },
3878
+ "types": [
3879
+ {
3880
+ "__schema": "TypeLiteralSchema",
3881
+ "location": {
3882
+ "filePath": "button.tsx",
3883
+ "line": 8,
3884
+ "character": 27
3885
+ },
3886
+ "members": [
3887
+ {
3888
+ "__schema": "VariableLikeSchema",
3889
+ "location": {
3890
+ "filePath": "button.tsx",
3891
+ "line": 12,
3892
+ "character": 3
3893
+ },
3894
+ "doc": {
3895
+ "__schema": "DocSchema",
3896
+ "location": {
3897
+ "filePath": "button.tsx",
3898
+ "line": 9,
3899
+ "character": 3
3900
+ },
3901
+ "raw": "/**\n * children of the Button.\n */",
3902
+ "comment": "children of the Button.",
3903
+ "tags": []
3904
+ },
3905
+ "signature": "(property) children: ReactNode",
3906
+ "name": "children",
3907
+ "type": {
3908
+ "__schema": "TypeRefSchema",
3909
+ "location": {
3910
+ "filePath": "button.tsx",
3911
+ "line": 12,
3912
+ "character": 3
3913
+ },
3914
+ "name": "ReactNode",
3915
+ "packageName": "react"
3916
+ },
3917
+ "isOptional": false
3918
+ },
3919
+ {
3920
+ "__schema": "VariableLikeSchema",
3921
+ "location": {
3922
+ "filePath": "button.tsx",
3923
+ "line": 17,
3924
+ "character": 3
3925
+ },
3926
+ "doc": {
3927
+ "__schema": "DocSchema",
3928
+ "location": {
3929
+ "filePath": "button.tsx",
3930
+ "line": 14,
3931
+ "character": 3
3932
+ },
3933
+ "raw": "/**\n * link to target page. once href is used, Button is considered an A tag.\n */",
3934
+ "comment": "link to target page. once href is used, Button is considered an A tag.",
3935
+ "tags": []
3936
+ },
3937
+ "signature": "(property) href?: string | undefined",
3938
+ "name": "href",
3939
+ "type": {
3940
+ "__schema": "KeywordTypeSchema",
3941
+ "location": {
3942
+ "filePath": "button.tsx",
3943
+ "line": 17,
3944
+ "character": 10
3945
+ },
3946
+ "name": "string"
3947
+ },
3948
+ "isOptional": true
3949
+ },
3950
+ {
3951
+ "__schema": "VariableLikeSchema",
3952
+ "location": {
3953
+ "filePath": "button.tsx",
3954
+ "line": 22,
3955
+ "character": 3
3956
+ },
3957
+ "doc": {
3958
+ "__schema": "DocSchema",
3959
+ "location": {
3960
+ "filePath": "button.tsx",
3961
+ "line": 19,
3962
+ "character": 3
3963
+ },
3964
+ "raw": "/**\n * class names to inject.\n */",
3965
+ "comment": "class names to inject.",
3966
+ "tags": []
3967
+ },
3968
+ "signature": "(property) className?: string | undefined",
3969
+ "name": "className",
3970
+ "type": {
3971
+ "__schema": "KeywordTypeSchema",
3972
+ "location": {
3973
+ "filePath": "button.tsx",
3974
+ "line": 22,
3975
+ "character": 15
3976
+ },
3977
+ "name": "string"
3978
+ },
3979
+ "isOptional": true
3980
+ }
3981
+ ]
3982
+ },
3983
+ {
3984
+ "__schema": "TypeRefSchema",
3985
+ "location": {
3986
+ "filePath": "button.tsx",
3987
+ "line": 23,
3988
+ "character": 5
3989
+ },
3990
+ "name": "React.ButtonHTMLAttributes",
3991
+ "typeArgs": [
3992
+ {
3993
+ "__schema": "TypeRefSchema",
3994
+ "location": {
3995
+ "filePath": "button.tsx",
3996
+ "line": 23,
3997
+ "character": 32
3998
+ },
3999
+ "name": "HTMLButtonElement"
4000
+ }
4001
+ ]
4002
+ }
4003
+ ]
4004
+ }
4005
+ },
4006
+ {
4007
+ "__schema": "FunctionLikeSchema",
4008
+ "location": {
4009
+ "filePath": "button.tsx",
4010
+ "line": 25,
4011
+ "character": 1
4012
+ },
4013
+ "signature": "function Button(props: any): any",
4014
+ "name": "Button",
4015
+ "params": [
4016
+ {
4017
+ "__schema": "ParameterSchema",
4018
+ "location": {
4019
+ "filePath": "button.tsx",
4020
+ "line": 25,
4021
+ "character": 24
4022
+ },
4023
+ "name": "props",
4024
+ "type": {
4025
+ "__schema": "TypeRefSchema",
4026
+ "location": {
4027
+ "filePath": "button.tsx",
4028
+ "line": 25,
4029
+ "character": 31
4030
+ },
4031
+ "name": "ButtonProps",
4032
+ "internalFilePath": "button.tsx"
4033
+ },
4034
+ "isOptional": false,
4035
+ "isSpread": false
4036
+ }
4037
+ ],
4038
+ "returnType": {
4039
+ "__schema": "InferenceTypeSchema",
4040
+ "location": {
4041
+ "filePath": "button.tsx",
4042
+ "line": 25,
4043
+ "character": 1
4044
+ },
4045
+ "type": "any"
4046
+ },
4047
+ "modifiers": [
4048
+ "export"
4049
+ ]
4050
+ },
4051
+ {
4052
+ "__schema": "ClassSchema",
4053
+ "location": {
4054
+ "filePath": "button.tsx",
4055
+ "line": 60,
4056
+ "character": 1
4057
+ },
4058
+ "signature": "class Bar",
4059
+ "name": "Bar",
4060
+ "members": [
4061
+ {
4062
+ "__schema": "FunctionLikeSchema",
4063
+ "location": {
4064
+ "filePath": "button.tsx",
4065
+ "line": 61,
4066
+ "character": 3
4067
+ },
4068
+ "signature": "(method) Bar.foo(): void",
4069
+ "name": "foo",
4070
+ "params": [],
4071
+ "returnType": {
4072
+ "__schema": "InferenceTypeSchema",
4073
+ "location": {
4074
+ "filePath": "button.tsx",
4075
+ "line": 61,
4076
+ "character": 3
4077
+ },
4078
+ "type": "void"
4079
+ },
4080
+ "modifiers": []
4081
+ }
4082
+ ],
4083
+ "extendsNodes": [],
4084
+ "implementNodes": []
4085
+ },
4086
+ {
4087
+ "__schema": "FunctionLikeSchema",
4088
+ "location": {
4089
+ "filePath": "index.ts",
4090
+ "line": 21,
4091
+ "character": 1
4092
+ },
4093
+ "signature": "function Hi(): void",
4094
+ "name": "Hi",
4095
+ "params": [],
4096
+ "returnType": {
4097
+ "__schema": "InferenceTypeSchema",
4098
+ "location": {
4099
+ "filePath": "index.ts",
4100
+ "line": 21,
4101
+ "character": 1
4102
+ },
4103
+ "type": "void"
4104
+ },
4105
+ "modifiers": [
4106
+ "export"
4107
+ ]
4108
+ },
4109
+ {
4110
+ "__schema": "VariableLikeSchema",
4111
+ "location": {
4112
+ "filePath": "index.ts",
4113
+ "line": 23,
4114
+ "character": 14
4115
+ },
4116
+ "signature": "const a: 4",
4117
+ "name": "a",
4118
+ "type": {
4119
+ "__schema": "InferenceTypeSchema",
4120
+ "location": {
4121
+ "filePath": "index.ts",
4122
+ "line": 23,
4123
+ "character": 14
4124
+ },
4125
+ "type": "4"
4126
+ },
4127
+ "isOptional": false,
4128
+ "defaultValue": "4"
4129
+ },
4130
+ {
4131
+ "__schema": "VariableLikeSchema",
4132
+ "location": {
4133
+ "filePath": "index.ts",
4134
+ "line": 24,
4135
+ "character": 3
4136
+ },
4137
+ "signature": "const b: 5",
4138
+ "name": "b",
4139
+ "type": {
4140
+ "__schema": "LiteralTypeSchema",
4141
+ "location": {
4142
+ "filePath": "index.ts",
4143
+ "line": 24,
4144
+ "character": 6
4145
+ },
4146
+ "name": "5"
4147
+ },
4148
+ "isOptional": false,
4149
+ "defaultValue": "5"
4150
+ },
4151
+ {
4152
+ "__schema": "ModuleSchema",
4153
+ "location": {
4154
+ "filePath": "button.composition.tsx",
4155
+ "line": 3,
4156
+ "character": 1
4157
+ },
4158
+ "exports": [
4159
+ {
4160
+ "__schema": "FunctionLikeSchema",
4161
+ "location": {
4162
+ "filePath": "button.composition.tsx",
4163
+ "line": 6,
4164
+ "character": 14
4165
+ },
4166
+ "signature": "function(): any",
4167
+ "name": "BasicButton",
4168
+ "params": [],
4169
+ "returnType": {
4170
+ "__schema": "InferenceTypeSchema",
4171
+ "location": {
4172
+ "filePath": "button.composition.tsx",
4173
+ "line": 6,
4174
+ "character": 28
4175
+ },
4176
+ "type": "any"
4177
+ },
4178
+ "modifiers": []
4179
+ },
4180
+ {
4181
+ "__schema": "FunctionLikeSchema",
4182
+ "location": {
4183
+ "filePath": "button.composition.tsx",
4184
+ "line": 14,
4185
+ "character": 1
4186
+ },
4187
+ "doc": {
4188
+ "__schema": "DocSchema",
4189
+ "location": {
4190
+ "filePath": "button.composition.tsx",
4191
+ "line": 10,
4192
+ "character": 1
4193
+ },
4194
+ "raw": "/**\n * example of passing a JSX Element as a parameter\n */",
4195
+ "comment": "example of passing a JSX Element as a parameter",
4196
+ "tags": []
4197
+ },
4198
+ "signature": "function Footer({ children }: {\n children?: any;\n}): any",
4199
+ "name": "Footer",
4200
+ "params": [
4201
+ {
4202
+ "__schema": "ParameterSchema",
4203
+ "location": {
4204
+ "filePath": "button.composition.tsx",
4205
+ "line": 14,
4206
+ "character": 24
4207
+ },
4208
+ "name": "{ children = <BasicButton /> }",
4209
+ "type": {
4210
+ "__schema": "TypeLiteralSchema",
4211
+ "location": {
4212
+ "filePath": "button.composition.tsx",
4213
+ "line": 14,
4214
+ "character": 24
4215
+ },
4216
+ "members": [
4217
+ {
4218
+ "__schema": "InferenceTypeSchema",
4219
+ "location": {
4220
+ "filePath": "button.composition.tsx",
4221
+ "line": 14,
4222
+ "character": 24
4223
+ },
4224
+ "name": "children",
4225
+ "type": "any"
4226
+ }
4227
+ ]
4228
+ },
4229
+ "isOptional": false,
4230
+ "objectBindingNodes": [
4231
+ {
4232
+ "__schema": "InferenceTypeSchema",
4233
+ "location": {
4234
+ "filePath": "button.composition.tsx",
4235
+ "line": 14,
4236
+ "character": 26
4237
+ },
4238
+ "name": "children",
4239
+ "type": "any",
4240
+ "defaultValue": "<BasicButton />",
4241
+ "isSpread": false
4242
+ }
4243
+ ],
4244
+ "isSpread": false
4245
+ }
4246
+ ],
4247
+ "returnType": {
4248
+ "__schema": "InferenceTypeSchema",
4249
+ "location": {
4250
+ "filePath": "button.composition.tsx",
4251
+ "line": 14,
4252
+ "character": 1
4253
+ },
4254
+ "type": "any"
4255
+ },
4256
+ "modifiers": [
4257
+ "export"
4258
+ ]
4259
+ },
4260
+ {
4261
+ "__schema": "FunctionLikeSchema",
4262
+ "location": {
4263
+ "filePath": "button.composition.tsx",
4264
+ "line": 18,
4265
+ "character": 14
4266
+ },
4267
+ "signature": "function(): any",
4268
+ "name": "ButtonWithCustomStyles",
4269
+ "params": [],
4270
+ "returnType": {
4271
+ "__schema": "InferenceTypeSchema",
4272
+ "location": {
4273
+ "filePath": "button.composition.tsx",
4274
+ "line": 18,
4275
+ "character": 39
4276
+ },
4277
+ "type": "any"
4278
+ },
4279
+ "modifiers": []
4280
+ },
4281
+ {
4282
+ "__schema": "FunctionLikeSchema",
4283
+ "location": {
4284
+ "filePath": "button.composition.tsx",
4285
+ "line": 22,
4286
+ "character": 14
4287
+ },
4288
+ "signature": "function(): any",
4289
+ "name": "ButtonWithIcon",
4290
+ "params": [],
4291
+ "returnType": {
4292
+ "__schema": "InferenceTypeSchema",
4293
+ "location": {
4294
+ "filePath": "button.composition.tsx",
4295
+ "line": 22,
4296
+ "character": 31
4297
+ },
4298
+ "type": "any"
4299
+ },
4300
+ "modifiers": []
4301
+ },
4302
+ {
4303
+ "__schema": "FunctionLikeSchema",
4304
+ "location": {
4305
+ "filePath": "button.composition.tsx",
4306
+ "line": 31,
4307
+ "character": 14
4308
+ },
4309
+ "signature": "function(): any",
4310
+ "name": "ButtonAsALink",
4311
+ "params": [],
4312
+ "returnType": {
4313
+ "__schema": "InferenceTypeSchema",
4314
+ "location": {
4315
+ "filePath": "button.composition.tsx",
4316
+ "line": 31,
4317
+ "character": 30
4318
+ },
4319
+ "type": "any"
4320
+ },
4321
+ "modifiers": []
4322
+ }
4323
+ ],
4324
+ "internals": [],
4325
+ "namespace": "Compositions"
4326
+ },
4327
+ {
4328
+ "__schema": "VariableLikeSchema",
4329
+ "location": {
4330
+ "filePath": "index.ts",
4331
+ "line": 28,
4332
+ "character": 14
4333
+ },
4334
+ "signature": "const HiThere: \"HiThere\"",
4335
+ "name": "HiThere",
4336
+ "type": {
4337
+ "__schema": "InferenceTypeSchema",
4338
+ "location": {
4339
+ "filePath": "index.ts",
4340
+ "line": 28,
4341
+ "character": 14
4342
+ },
4343
+ "type": "\"HiThere\""
4344
+ },
4345
+ "isOptional": false,
4346
+ "defaultValue": "'HiThere'"
4347
+ },
4348
+ {
4349
+ "__schema": "FunctionLikeSchema",
4350
+ "location": {
4351
+ "filePath": "index.ts",
4352
+ "line": 30,
4353
+ "character": 14
4354
+ },
4355
+ "signature": "function(): void",
4356
+ "name": "Function",
4357
+ "params": [],
4358
+ "returnType": {
4359
+ "__schema": "InferenceTypeSchema",
4360
+ "location": {
4361
+ "filePath": "index.ts",
4362
+ "line": 30,
4363
+ "character": 25
4364
+ },
4365
+ "type": "void"
4366
+ },
4367
+ "modifiers": []
4368
+ },
4369
+ {
4370
+ "__schema": "VariableLikeSchema",
4371
+ "location": {
4372
+ "filePath": "index.ts",
4373
+ "line": 32,
4374
+ "character": 14
4375
+ },
4376
+ "signature": "const Array: string[]",
4377
+ "name": "Array",
4378
+ "type": {
4379
+ "__schema": "TypeArraySchema",
4380
+ "location": {
4381
+ "filePath": "index.ts",
4382
+ "line": 32,
4383
+ "character": 14
4384
+ },
4385
+ "type": {
4386
+ "__schema": "InferenceTypeSchema",
4387
+ "location": {
4388
+ "filePath": "index.ts",
4389
+ "line": 32,
4390
+ "character": 14
4391
+ },
4392
+ "type": "string"
4393
+ }
4394
+ },
4395
+ "isOptional": false,
4396
+ "defaultValue": "['hi', 'there']"
4397
+ },
4398
+ {
4399
+ "__schema": "ExportSchema",
4400
+ "location": {
4401
+ "filePath": "index.ts",
4402
+ "line": 50,
4403
+ "character": 10
4404
+ },
4405
+ "signature": "class ClassSomething",
4406
+ "name": "ClassSomething",
4407
+ "exportNode": {
4408
+ "__schema": "ClassSchema",
4409
+ "location": {
4410
+ "filePath": "index.ts",
4411
+ "line": 36,
4412
+ "character": 1
4413
+ },
4414
+ "signature": "class ClassSomething",
4415
+ "name": "ClassSomething",
4416
+ "members": [
4417
+ {
4418
+ "__schema": "VariableLikeSchema",
4419
+ "location": {
4420
+ "filePath": "index.ts",
4421
+ "line": 37,
4422
+ "character": 3
4423
+ },
4424
+ "signature": "(property) ClassSomething.app: string",
4425
+ "name": "app",
4426
+ "type": {
4427
+ "__schema": "InferenceTypeSchema",
4428
+ "location": {
4429
+ "filePath": "index.ts",
4430
+ "line": 37,
4431
+ "character": 3
4432
+ },
4433
+ "type": "string"
4434
+ },
4435
+ "isOptional": true,
4436
+ "defaultValue": "''"
4437
+ },
4438
+ {
4439
+ "__schema": "ConstructorSchema",
4440
+ "location": {
4441
+ "filePath": "index.ts",
4442
+ "line": 38,
4443
+ "character": 3
4444
+ },
4445
+ "signature": "constructor ClassSomething(da: \"dsa\"): ClassSomething",
4446
+ "name": "constructor",
4447
+ "params": [
4448
+ {
4449
+ "__schema": "ParameterSchema",
4450
+ "location": {
4451
+ "filePath": "index.ts",
4452
+ "line": 38,
4453
+ "character": 15
4454
+ },
4455
+ "name": "da",
4456
+ "type": {
4457
+ "__schema": "LiteralTypeSchema",
4458
+ "location": {
4459
+ "filePath": "index.ts",
4460
+ "line": 38,
4461
+ "character": 28
4462
+ },
4463
+ "name": "'dsa'"
4464
+ },
4465
+ "isOptional": false,
4466
+ "isSpread": false
4467
+ }
4468
+ ],
4469
+ "returnType": {
4470
+ "__schema": "ThisTypeSchema",
4471
+ "location": {
4472
+ "filePath": "index.ts",
4473
+ "line": 36,
4474
+ "character": 1
4475
+ },
4476
+ "name": "ClassSomething"
4477
+ },
4478
+ "modifiers": []
4479
+ },
4480
+ {
4481
+ "__schema": "FunctionLikeSchema",
4482
+ "location": {
4483
+ "filePath": "index.ts",
4484
+ "line": 40,
4485
+ "character": 3
4486
+ },
4487
+ "signature": "(method) ClassSomething.a(): Foo",
4488
+ "name": "a",
4489
+ "params": [],
4490
+ "returnType": {
4491
+ "__schema": "TypeRefSchema",
4492
+ "location": {
4493
+ "filePath": "index.ts",
4494
+ "line": 40,
4495
+ "character": 3
4496
+ },
4497
+ "name": "Foo",
4498
+ "internalFilePath": "index.ts"
4499
+ },
4500
+ "modifiers": []
4501
+ },
4502
+ {
4503
+ "__schema": "GetAccessorSchema",
4504
+ "location": {
4505
+ "filePath": "index.ts",
4506
+ "line": 43,
4507
+ "character": 3
4508
+ },
4509
+ "signature": "(getter) ClassSomething.getter: string",
4510
+ "name": "getter",
4511
+ "type": {
4512
+ "__schema": "InferenceTypeSchema",
4513
+ "location": {
4514
+ "filePath": "index.ts",
4515
+ "line": 43,
4516
+ "character": 3
4517
+ },
4518
+ "type": "string"
4519
+ }
4520
+ },
4521
+ {
4522
+ "__schema": "SetAccessorSchema",
4523
+ "location": {
4524
+ "filePath": "index.ts",
4525
+ "line": 47,
4526
+ "character": 3
4527
+ },
4528
+ "signature": "(setter) ClassSomething.setter: boolean",
4529
+ "name": "setter",
4530
+ "param": {
4531
+ "__schema": "ParameterSchema",
4532
+ "location": {
4533
+ "filePath": "index.ts",
4534
+ "line": 47,
4535
+ "character": 14
4536
+ },
4537
+ "name": "a",
4538
+ "type": {
4539
+ "__schema": "KeywordTypeSchema",
4540
+ "location": {
4541
+ "filePath": "index.ts",
4542
+ "line": 47,
4543
+ "character": 17
4544
+ },
4545
+ "name": "boolean"
4546
+ },
4547
+ "isOptional": false,
4548
+ "isSpread": false
4549
+ }
4550
+ }
4551
+ ],
4552
+ "extendsNodes": [],
4553
+ "implementNodes": []
4554
+ }
4555
+ },
4556
+ {
4557
+ "__schema": "TypeSchema",
4558
+ "location": {
4559
+ "filePath": "index.ts",
4560
+ "line": 52,
4561
+ "character": 1
4562
+ },
4563
+ "signature": "type IndexSig = {\n [key: string]: boolean;\n}",
4564
+ "name": "IndexSig",
4565
+ "type": {
4566
+ "__schema": "TypeLiteralSchema",
4567
+ "location": {
4568
+ "filePath": "index.ts",
4569
+ "line": 52,
4570
+ "character": 24
4571
+ },
4572
+ "members": [
4573
+ {
4574
+ "__schema": "IndexSignatureSchema",
4575
+ "location": {
4576
+ "filePath": "index.ts",
4577
+ "line": 52,
4578
+ "character": 26
4579
+ },
4580
+ "keyType": {
4581
+ "__schema": "ParameterSchema",
4582
+ "location": {
4583
+ "filePath": "index.ts",
4584
+ "line": 52,
4585
+ "character": 27
4586
+ },
4587
+ "name": "key",
4588
+ "type": {
4589
+ "__schema": "KeywordTypeSchema",
4590
+ "location": {
4591
+ "filePath": "index.ts",
4592
+ "line": 52,
4593
+ "character": 32
4594
+ },
4595
+ "name": "string"
4596
+ },
4597
+ "isOptional": false,
4598
+ "isSpread": false
4599
+ },
4600
+ "valueType": {
4601
+ "__schema": "KeywordTypeSchema",
4602
+ "location": {
4603
+ "filePath": "index.ts",
4604
+ "line": 52,
4605
+ "character": 41
4606
+ },
4607
+ "name": "boolean"
4608
+ }
4609
+ }
4610
+ ]
4611
+ }
4612
+ },
4613
+ {
4614
+ "__schema": "InterfaceSchema",
4615
+ "location": {
4616
+ "filePath": "index.ts",
4617
+ "line": 54,
4618
+ "character": 1
4619
+ },
4620
+ "signature": "interface Hello",
4621
+ "name": "Hello",
4622
+ "members": [
4623
+ {
4624
+ "__schema": "VariableLikeSchema",
4625
+ "location": {
4626
+ "filePath": "index.ts",
4627
+ "line": 55,
4628
+ "character": 3
4629
+ },
4630
+ "signature": "(property) Hello.propertySig: () => void",
4631
+ "name": "propertySig",
4632
+ "type": {
4633
+ "__schema": "FunctionLikeSchema",
4634
+ "location": {
4635
+ "filePath": "index.ts",
4636
+ "line": 55,
4637
+ "character": 16
4638
+ },
4639
+ "signature": "(): void",
4640
+ "name": "",
4641
+ "params": [],
4642
+ "returnType": {
4643
+ "__schema": "KeywordTypeSchema",
4644
+ "location": {
4645
+ "filePath": "index.ts",
4646
+ "line": 55,
4647
+ "character": 22
4648
+ },
4649
+ "name": "void"
4650
+ },
4651
+ "modifiers": []
4652
+ },
4653
+ "isOptional": false
4654
+ },
4655
+ {
4656
+ "__schema": "FunctionLikeSchema",
4657
+ "location": {
4658
+ "filePath": "index.ts",
4659
+ "line": 56,
4660
+ "character": 3
4661
+ },
4662
+ "signature": "(method) Hello.methodSig(): string",
4663
+ "name": "methodSig",
4664
+ "params": [],
4665
+ "returnType": {
4666
+ "__schema": "KeywordTypeSchema",
4667
+ "location": {
4668
+ "filePath": "index.ts",
4669
+ "line": 56,
4670
+ "character": 16
4671
+ },
4672
+ "name": "string"
4673
+ },
4674
+ "modifiers": []
4675
+ }
4676
+ ],
4677
+ "extendsNodes": []
4678
+ },
4679
+ {
4680
+ "__schema": "VariableLikeSchema",
4681
+ "location": {
4682
+ "filePath": "index.ts",
4683
+ "line": 61,
4684
+ "character": 14
4685
+ },
4686
+ "signature": "const a1: {\n a: number;\n b: number;\n}",
4687
+ "name": "a1",
4688
+ "type": {
4689
+ "__schema": "TypeQuerySchema",
4690
+ "location": {
4691
+ "filePath": "index.ts",
4692
+ "line": 61,
4693
+ "character": 18
4694
+ },
4695
+ "signature": "const obj: {\n a: number;\n b: number;\n}",
4696
+ "type": {
4697
+ "__schema": "TypeRefSchema",
4698
+ "location": {
4699
+ "filePath": "index.ts",
4700
+ "line": 61,
4701
+ "character": 25
4702
+ },
4703
+ "name": "obj",
4704
+ "internalFilePath": "index.ts"
4705
+ }
4706
+ },
4707
+ "isOptional": false,
4708
+ "defaultValue": "{ a: 5, b: 9 }"
4709
+ },
4710
+ {
4711
+ "__schema": "TypeSchema",
4712
+ "location": {
4713
+ "filePath": "index.ts",
4714
+ "line": 63,
4715
+ "character": 1
4716
+ },
4717
+ "signature": "type TypeOperator = \"a\" | \"b\"",
4718
+ "name": "TypeOperator",
4719
+ "type": {
4720
+ "__schema": "TypeOperatorSchema",
4721
+ "location": {
4722
+ "filePath": "index.ts",
4723
+ "line": 63,
4724
+ "character": 28
4725
+ },
4726
+ "name": "keyof",
4727
+ "type": {
4728
+ "__schema": "TypeQuerySchema",
4729
+ "location": {
4730
+ "filePath": "index.ts",
4731
+ "line": 63,
4732
+ "character": 34
4733
+ },
4734
+ "signature": "const obj: {\n a: number;\n b: number;\n}",
4735
+ "type": {
4736
+ "__schema": "TypeRefSchema",
4737
+ "location": {
4738
+ "filePath": "index.ts",
4739
+ "line": 63,
4740
+ "character": 41
4741
+ },
4742
+ "name": "obj",
4743
+ "internalFilePath": "index.ts"
4744
+ }
4745
+ }
4746
+ }
4747
+ },
4748
+ {
4749
+ "__schema": "FunctionLikeSchema",
4750
+ "location": {
4751
+ "filePath": "index.ts",
4752
+ "line": 69,
4753
+ "character": 14
4754
+ },
4755
+ "signature": "function(bar: Bar): Bar",
4756
+ "name": "getBar",
4757
+ "params": [
4758
+ {
4759
+ "__schema": "ParameterSchema",
4760
+ "location": {
4761
+ "filePath": "index.ts",
4762
+ "line": 69,
4763
+ "character": 24
4764
+ },
4765
+ "name": "bar",
4766
+ "type": {
4767
+ "__schema": "TypeRefSchema",
4768
+ "location": {
4769
+ "filePath": "index.ts",
4770
+ "line": 69,
4771
+ "character": 29
4772
+ },
4773
+ "name": "Bar",
4774
+ "internalFilePath": "index.ts"
4775
+ },
4776
+ "isOptional": false,
4777
+ "isSpread": false
4778
+ }
4779
+ ],
4780
+ "returnType": {
4781
+ "__schema": "TypeRefSchema",
4782
+ "location": {
4783
+ "filePath": "index.ts",
4784
+ "line": 69,
4785
+ "character": 23
4786
+ },
4787
+ "name": "Bar",
4788
+ "internalFilePath": "index.ts"
4789
+ },
4790
+ "modifiers": []
4791
+ },
4792
+ {
4793
+ "__schema": "FunctionLikeSchema",
4794
+ "location": {
4795
+ "filePath": "index.ts",
4796
+ "line": 71,
4797
+ "character": 14
4798
+ },
4799
+ "signature": "function([a, b, c]: [string, Function, Record<string, any>]): void",
4800
+ "name": "tuple",
4801
+ "params": [
4802
+ {
4803
+ "__schema": "ParameterSchema",
4804
+ "location": {
4805
+ "filePath": "index.ts",
4806
+ "line": 71,
4807
+ "character": 23
4808
+ },
4809
+ "name": "[ a, b, c ]",
4810
+ "type": {
4811
+ "__schema": "TupleTypeSchema",
4812
+ "location": {
4813
+ "filePath": "index.ts",
4814
+ "line": 71,
4815
+ "character": 34
4816
+ },
4817
+ "elements": [
4818
+ {
4819
+ "__schema": "KeywordTypeSchema",
4820
+ "location": {
4821
+ "filePath": "index.ts",
4822
+ "line": 71,
4823
+ "character": 35
4824
+ },
4825
+ "name": "string"
4826
+ },
4827
+ {
4828
+ "__schema": "TypeRefSchema",
4829
+ "location": {
4830
+ "filePath": "index.ts",
4831
+ "line": 71,
4832
+ "character": 43
4833
+ },
4834
+ "name": "Function"
4835
+ },
4836
+ {
4837
+ "__schema": "TypeRefSchema",
4838
+ "location": {
4839
+ "filePath": "index.ts",
4840
+ "line": 71,
4841
+ "character": 53
4842
+ },
4843
+ "name": "Record",
4844
+ "typeArgs": [
4845
+ {
4846
+ "__schema": "KeywordTypeSchema",
4847
+ "location": {
4848
+ "filePath": "index.ts",
4849
+ "line": 71,
4850
+ "character": 60
4851
+ },
4852
+ "name": "string"
4853
+ },
4854
+ {
4855
+ "__schema": "KeywordTypeSchema",
4856
+ "location": {
4857
+ "filePath": "index.ts",
4858
+ "line": 71,
4859
+ "character": 68
4860
+ },
4861
+ "name": "any"
4862
+ }
4863
+ ]
4864
+ }
4865
+ ]
4866
+ },
4867
+ "isOptional": false,
4868
+ "isSpread": false
4869
+ }
4870
+ ],
4871
+ "returnType": {
4872
+ "__schema": "InferenceTypeSchema",
4873
+ "location": {
4874
+ "filePath": "index.ts",
4875
+ "line": 71,
4876
+ "character": 22
4877
+ },
4878
+ "type": "void"
4879
+ },
4880
+ "modifiers": []
4881
+ },
4882
+ {
4883
+ "__schema": "EnumSchema",
4884
+ "location": {
4885
+ "filePath": "index.ts",
4886
+ "line": 73,
4887
+ "character": 1
4888
+ },
4889
+ "signature": "enum Food",
4890
+ "name": "Food",
4891
+ "members": [
4892
+ {
4893
+ "__schema": "EnumMemberSchema",
4894
+ "location": {
4895
+ "filePath": "index.ts",
4896
+ "line": 74,
4897
+ "character": 3
4898
+ },
4899
+ "signature": "(enum member) Food.Falafel = 0",
4900
+ "name": "Falafel"
4901
+ },
4902
+ {
4903
+ "__schema": "EnumMemberSchema",
4904
+ "location": {
4905
+ "filePath": "index.ts",
4906
+ "line": 75,
4907
+ "character": 3
4908
+ },
4909
+ "signature": "(enum member) Food.Hummus = 1",
4910
+ "name": "Hummus"
4911
+ },
4912
+ {
4913
+ "__schema": "EnumMemberSchema",
4914
+ "location": {
4915
+ "filePath": "index.ts",
4916
+ "line": 76,
4917
+ "character": 3
4918
+ },
4919
+ "signature": "(enum member) Food.Tahini = 2",
4920
+ "name": "Tahini"
4921
+ }
4922
+ ]
4923
+ },
4924
+ {
4925
+ "__schema": "FunctionLikeSchema",
4926
+ "location": {
4927
+ "filePath": "index.ts",
4928
+ "line": 79,
4929
+ "character": 1
4930
+ },
4931
+ "signature": "function getPromise(): Promise<string>",
4932
+ "name": "getPromise",
4933
+ "params": [],
4934
+ "returnType": {
4935
+ "__schema": "TypeRefSchema",
4936
+ "location": {
4937
+ "filePath": "index.ts",
4938
+ "line": 79,
4939
+ "character": 37
4940
+ },
4941
+ "name": "Promise",
4942
+ "typeArgs": [
4943
+ {
4944
+ "__schema": "KeywordTypeSchema",
4945
+ "location": {
4946
+ "filePath": "index.ts",
4947
+ "line": 79,
4948
+ "character": 45
4949
+ },
4950
+ "name": "string"
4951
+ }
4952
+ ]
4953
+ },
4954
+ "modifiers": [
4955
+ "export",
4956
+ "async"
4957
+ ]
4958
+ },
4959
+ {
4960
+ "__schema": "TypeSchema",
4961
+ "location": {
4962
+ "filePath": "index.ts",
4963
+ "line": 86,
4964
+ "character": 1
4965
+ },
4966
+ "signature": "type TypeRefWithArgs = T3<T1, T2>",
4967
+ "name": "TypeRefWithArgs",
4968
+ "type": {
4969
+ "__schema": "TypeRefSchema",
4970
+ "location": {
4971
+ "filePath": "index.ts",
4972
+ "line": 86,
4973
+ "character": 31
4974
+ },
4975
+ "name": "T3",
4976
+ "internalFilePath": "index.ts",
4977
+ "typeArgs": [
4978
+ {
4979
+ "__schema": "TypeRefSchema",
4980
+ "location": {
4981
+ "filePath": "index.ts",
4982
+ "line": 86,
4983
+ "character": 34
4984
+ },
4985
+ "name": "T1",
4986
+ "internalFilePath": "index.ts"
4987
+ },
4988
+ {
4989
+ "__schema": "TypeRefSchema",
4990
+ "location": {
4991
+ "filePath": "index.ts",
4992
+ "line": 86,
4993
+ "character": 38
4994
+ },
4995
+ "name": "T2",
4996
+ "internalFilePath": "index.ts"
4997
+ }
4998
+ ]
4999
+ }
5000
+ },
5001
+ {
5002
+ "__schema": "TypeSchema",
5003
+ "location": {
5004
+ "filePath": "index.ts",
5005
+ "line": 88,
5006
+ "character": 1
5007
+ },
5008
+ "signature": "type ParenthesizedType = (T1 | T2)[]",
5009
+ "name": "ParenthesizedType",
5010
+ "type": {
5011
+ "__schema": "TypeArraySchema",
5012
+ "location": {
5013
+ "filePath": "index.ts",
5014
+ "line": 88,
5015
+ "character": 33
5016
+ },
5017
+ "type": {
5018
+ "__schema": "ParenthesizedTypeSchema",
5019
+ "location": {
5020
+ "filePath": "index.ts",
5021
+ "line": 88,
5022
+ "character": 33
5023
+ },
5024
+ "type": {
5025
+ "__schema": "TypeUnionSchema",
5026
+ "location": {
5027
+ "filePath": "index.ts",
5028
+ "line": 88,
5029
+ "character": 34
5030
+ },
5031
+ "types": [
5032
+ {
5033
+ "__schema": "TypeRefSchema",
5034
+ "location": {
5035
+ "filePath": "index.ts",
5036
+ "line": 88,
5037
+ "character": 34
5038
+ },
5039
+ "name": "T1",
5040
+ "internalFilePath": "index.ts"
5041
+ },
5042
+ {
5043
+ "__schema": "TypeRefSchema",
5044
+ "location": {
5045
+ "filePath": "index.ts",
5046
+ "line": 88,
5047
+ "character": 39
5048
+ },
5049
+ "name": "T2",
5050
+ "internalFilePath": "index.ts"
5051
+ }
5052
+ ]
5053
+ }
5054
+ }
5055
+ }
5056
+ },
5057
+ {
5058
+ "__schema": "FunctionLikeSchema",
5059
+ "location": {
5060
+ "filePath": "index.ts",
5061
+ "line": 90,
5062
+ "character": 1
5063
+ },
5064
+ "signature": "function typePredicateFn(str: any): str is string",
5065
+ "name": "typePredicateFn",
5066
+ "params": [
5067
+ {
5068
+ "__schema": "ParameterSchema",
5069
+ "location": {
5070
+ "filePath": "index.ts",
5071
+ "line": 90,
5072
+ "character": 33
5073
+ },
5074
+ "name": "str",
5075
+ "type": {
5076
+ "__schema": "KeywordTypeSchema",
5077
+ "location": {
5078
+ "filePath": "index.ts",
5079
+ "line": 90,
5080
+ "character": 38
5081
+ },
5082
+ "name": "any"
5083
+ },
5084
+ "isOptional": false,
5085
+ "isSpread": false
5086
+ }
5087
+ ],
5088
+ "returnType": {
5089
+ "__schema": "TypePredicateSchema",
5090
+ "location": {
5091
+ "filePath": "index.ts",
5092
+ "line": 90,
5093
+ "character": 44
5094
+ },
5095
+ "name": "str",
5096
+ "type": {
5097
+ "__schema": "KeywordTypeSchema",
5098
+ "location": {
5099
+ "filePath": "index.ts",
5100
+ "line": 90,
5101
+ "character": 51
5102
+ },
5103
+ "name": "string"
5104
+ },
5105
+ "hasAssertsModifier": false
5106
+ },
5107
+ "modifiers": [
5108
+ "export"
5109
+ ]
5110
+ },
5111
+ {
5112
+ "__schema": "FunctionLikeSchema",
5113
+ "location": {
5114
+ "filePath": "index.ts",
5115
+ "line": 94,
5116
+ "character": 1
5117
+ },
5118
+ "signature": "function typePredicateNoTypeFn(condition: any, msg?: string): asserts condition",
5119
+ "name": "typePredicateNoTypeFn",
5120
+ "params": [
5121
+ {
5122
+ "__schema": "ParameterSchema",
5123
+ "location": {
5124
+ "filePath": "index.ts",
5125
+ "line": 94,
5126
+ "character": 39
5127
+ },
5128
+ "name": "condition",
5129
+ "type": {
5130
+ "__schema": "KeywordTypeSchema",
5131
+ "location": {
5132
+ "filePath": "index.ts",
5133
+ "line": 94,
5134
+ "character": 50
5135
+ },
5136
+ "name": "any"
5137
+ },
5138
+ "isOptional": false,
5139
+ "isSpread": false
5140
+ },
5141
+ {
5142
+ "__schema": "ParameterSchema",
5143
+ "location": {
5144
+ "filePath": "index.ts",
5145
+ "line": 94,
5146
+ "character": 55
5147
+ },
5148
+ "name": "msg",
5149
+ "type": {
5150
+ "__schema": "KeywordTypeSchema",
5151
+ "location": {
5152
+ "filePath": "index.ts",
5153
+ "line": 94,
5154
+ "character": 61
5155
+ },
5156
+ "name": "string"
5157
+ },
5158
+ "isOptional": true,
5159
+ "isSpread": false
5160
+ }
5161
+ ],
5162
+ "returnType": {
5163
+ "__schema": "TypePredicateSchema",
5164
+ "location": {
5165
+ "filePath": "index.ts",
5166
+ "line": 94,
5167
+ "character": 70
5168
+ },
5169
+ "name": "condition",
5170
+ "hasAssertsModifier": true
5171
+ },
5172
+ "modifiers": [
5173
+ "export"
5174
+ ]
5175
+ },
5176
+ {
5177
+ "__schema": "FunctionLikeSchema",
5178
+ "location": {
5179
+ "filePath": "index.ts",
5180
+ "line": 96,
5181
+ "character": 1
5182
+ },
5183
+ "signature": "function objectBindingElements({ prop }: {\n prop?: number | undefined;\n}): Promise<number>",
5184
+ "name": "objectBindingElements",
5185
+ "params": [
5186
+ {
5187
+ "__schema": "ParameterSchema",
5188
+ "location": {
5189
+ "filePath": "index.ts",
5190
+ "line": 96,
5191
+ "character": 45
5192
+ },
5193
+ "name": "{ prop = 1 }",
5194
+ "type": {
5195
+ "__schema": "TypeLiteralSchema",
5196
+ "location": {
5197
+ "filePath": "index.ts",
5198
+ "line": 96,
5199
+ "character": 45
5200
+ },
5201
+ "members": [
5202
+ {
5203
+ "__schema": "InferenceTypeSchema",
5204
+ "location": {
5205
+ "filePath": "index.ts",
5206
+ "line": 96,
5207
+ "character": 45
5208
+ },
5209
+ "name": "prop",
5210
+ "type": "number"
5211
+ }
5212
+ ]
5213
+ },
5214
+ "isOptional": false,
5215
+ "objectBindingNodes": [
5216
+ {
5217
+ "__schema": "InferenceTypeSchema",
5218
+ "location": {
5219
+ "filePath": "index.ts",
5220
+ "line": 96,
5221
+ "character": 47
5222
+ },
5223
+ "name": "prop",
5224
+ "type": "number",
5225
+ "defaultValue": "1",
5226
+ "isSpread": false
5227
+ }
5228
+ ],
5229
+ "isSpread": false
5230
+ }
5231
+ ],
5232
+ "returnType": {
5233
+ "__schema": "InferenceTypeSchema",
5234
+ "location": {
5235
+ "filePath": "index.ts",
5236
+ "line": 96,
5237
+ "character": 1
5238
+ },
5239
+ "type": "Promise<number>"
5240
+ },
5241
+ "modifiers": [
5242
+ "export",
5243
+ "async"
5244
+ ]
5245
+ },
5246
+ {
5247
+ "__schema": "FunctionLikeSchema",
5248
+ "location": {
5249
+ "filePath": "index.ts",
5250
+ "line": 99,
5251
+ "character": 1
5252
+ },
5253
+ "signature": "function arrayBindingElements([prop]: [string]): Promise<string>",
5254
+ "name": "arrayBindingElements",
5255
+ "params": [
5256
+ {
5257
+ "__schema": "ParameterSchema",
5258
+ "location": {
5259
+ "filePath": "index.ts",
5260
+ "line": 99,
5261
+ "character": 44
5262
+ },
5263
+ "name": "[ prop ]",
5264
+ "type": {
5265
+ "__schema": "TupleTypeSchema",
5266
+ "location": {
5267
+ "filePath": "index.ts",
5268
+ "line": 99,
5269
+ "character": 52
5270
+ },
5271
+ "elements": [
5272
+ {
5273
+ "__schema": "KeywordTypeSchema",
5274
+ "location": {
5275
+ "filePath": "index.ts",
5276
+ "line": 99,
5277
+ "character": 53
5278
+ },
5279
+ "name": "string"
5280
+ }
5281
+ ]
5282
+ },
5283
+ "isOptional": false,
5284
+ "isSpread": false
5285
+ }
5286
+ ],
5287
+ "returnType": {
5288
+ "__schema": "InferenceTypeSchema",
5289
+ "location": {
5290
+ "filePath": "index.ts",
5291
+ "line": 99,
5292
+ "character": 1
5293
+ },
5294
+ "type": "Promise<string>"
5295
+ },
5296
+ "modifiers": [
5297
+ "export",
5298
+ "async"
5299
+ ]
5300
+ },
5301
+ {
5302
+ "__schema": "TypeSchema",
5303
+ "location": {
5304
+ "filePath": "index.ts",
5305
+ "line": 106,
5306
+ "character": 1
5307
+ },
5308
+ "signature": "type IndexedAccessType = {\n a: string;\n b: boolean;\n}",
5309
+ "name": "IndexedAccessType",
5310
+ "type": {
5311
+ "__schema": "IndexedAccessSchema",
5312
+ "location": {
5313
+ "filePath": "index.ts",
5314
+ "line": 106,
5315
+ "character": 33
5316
+ },
5317
+ "objectType": {
5318
+ "__schema": "TypeRefSchema",
5319
+ "location": {
5320
+ "filePath": "index.ts",
5321
+ "line": 106,
5322
+ "character": 33
5323
+ },
5324
+ "name": "config",
5325
+ "internalFilePath": "index.ts"
5326
+ },
5327
+ "indexType": {
5328
+ "__schema": "LiteralTypeSchema",
5329
+ "location": {
5330
+ "filePath": "index.ts",
5331
+ "line": 106,
5332
+ "character": 40
5333
+ },
5334
+ "name": "'someField'"
5335
+ }
5336
+ }
5337
+ },
5338
+ {
5339
+ "__schema": "InterfaceSchema",
5340
+ "location": {
5341
+ "filePath": "index.ts",
5342
+ "line": 109,
5343
+ "character": 1
5344
+ },
5345
+ "signature": "interface ComputedNameWithType",
5346
+ "name": "ComputedNameWithType",
5347
+ "members": [
5348
+ {
5349
+ "__schema": "VariableLikeSchema",
5350
+ "location": {
5351
+ "filePath": "index.ts",
5352
+ "line": 110,
5353
+ "character": 3
5354
+ },
5355
+ "signature": "[computedName]: boolean;",
5356
+ "name": "[computedName]",
5357
+ "type": {
5358
+ "__schema": "KeywordTypeSchema",
5359
+ "location": {
5360
+ "filePath": "index.ts",
5361
+ "line": 110,
5362
+ "character": 19
5363
+ },
5364
+ "name": "boolean"
5365
+ },
5366
+ "isOptional": false
5367
+ }
5368
+ ],
5369
+ "extendsNodes": []
5370
+ },
5371
+ {
5372
+ "__schema": "InterfaceSchema",
5373
+ "location": {
5374
+ "filePath": "index.ts",
5375
+ "line": 112,
5376
+ "character": 1
5377
+ },
5378
+ "signature": "interface ComputedNameNoType",
5379
+ "name": "ComputedNameNoType",
5380
+ "members": [
5381
+ {
5382
+ "__schema": "VariableLikeSchema",
5383
+ "location": {
5384
+ "filePath": "index.ts",
5385
+ "line": 113,
5386
+ "character": 3
5387
+ },
5388
+ "signature": "[computedName];",
5389
+ "name": "[computedName]",
5390
+ "type": {
5391
+ "__schema": "InferenceTypeSchema",
5392
+ "location": {
5393
+ "filePath": "index.ts",
5394
+ "line": 113,
5395
+ "character": 3
5396
+ },
5397
+ "type": "any"
5398
+ },
5399
+ "isOptional": false
5400
+ }
5401
+ ],
5402
+ "extendsNodes": []
5403
+ },
5404
+ {
5405
+ "__schema": "TypeSchema",
5406
+ "location": {
5407
+ "filePath": "index.ts",
5408
+ "line": 118,
5409
+ "character": 1
5410
+ },
5411
+ "signature": "type templateLiteralType = \"hello world1-a hi world2\" | \"hello world1-b hi world2\"",
5412
+ "name": "templateLiteralType",
5413
+ "type": {
5414
+ "__schema": "TemplateLiteralTypeSchema",
5415
+ "location": {
5416
+ "filePath": "index.ts",
5417
+ "line": 118,
5418
+ "character": 35
5419
+ },
5420
+ "head": "hello ",
5421
+ "templateSpans": [
5422
+ {
5423
+ "__schema": "TemplateLiteralTypeSpanSchema",
5424
+ "location": {
5425
+ "filePath": "index.ts",
5426
+ "line": 118,
5427
+ "character": 44
5428
+ },
5429
+ "literal": " hi ",
5430
+ "type": {
5431
+ "__schema": "TypeRefSchema",
5432
+ "location": {
5433
+ "filePath": "index.ts",
5434
+ "line": 118,
5435
+ "character": 44
5436
+ },
5437
+ "name": "World1",
5438
+ "internalFilePath": "index.ts"
5439
+ }
5440
+ },
5441
+ {
5442
+ "__schema": "TemplateLiteralTypeSpanSchema",
5443
+ "location": {
5444
+ "filePath": "index.ts",
5445
+ "line": 118,
5446
+ "character": 57
5447
+ },
5448
+ "literal": "",
5449
+ "type": {
5450
+ "__schema": "TypeRefSchema",
5451
+ "location": {
5452
+ "filePath": "index.ts",
5453
+ "line": 118,
5454
+ "character": 57
5455
+ },
5456
+ "name": "World2",
5457
+ "internalFilePath": "index.ts"
5458
+ }
5459
+ }
5460
+ ]
5461
+ }
5462
+ },
5463
+ {
5464
+ "__schema": "InterfaceSchema",
5465
+ "location": {
5466
+ "filePath": "index.ts",
5467
+ "line": 120,
5468
+ "character": 1
5469
+ },
5470
+ "signature": "interface CallSignatureWithTypeParams",
5471
+ "name": "CallSignatureWithTypeParams",
5472
+ "members": [
5473
+ {
5474
+ "__schema": "FunctionLikeSchema",
5475
+ "location": {
5476
+ "filePath": "index.ts",
5477
+ "line": 121,
5478
+ "character": 3
5479
+ },
5480
+ "signature": "(a: string): T",
5481
+ "name": "",
5482
+ "params": [
5483
+ {
5484
+ "__schema": "ParameterSchema",
5485
+ "location": {
5486
+ "filePath": "index.ts",
5487
+ "line": 121,
5488
+ "character": 7
5489
+ },
5490
+ "name": "a",
5491
+ "type": {
5492
+ "__schema": "KeywordTypeSchema",
5493
+ "location": {
5494
+ "filePath": "index.ts",
5495
+ "line": 121,
5496
+ "character": 10
5497
+ },
5498
+ "name": "string"
5499
+ },
5500
+ "isOptional": false,
5501
+ "isSpread": false
5502
+ }
5503
+ ],
5504
+ "returnType": {
5505
+ "__schema": "TypeRefSchema",
5506
+ "location": {
5507
+ "filePath": "index.ts",
5508
+ "line": 121,
5509
+ "character": 19
5510
+ },
5511
+ "name": "T"
5512
+ },
5513
+ "modifiers": [],
5514
+ "typeParams": [
5515
+ "T"
5516
+ ]
5517
+ }
5518
+ ],
5519
+ "extendsNodes": []
5520
+ },
5521
+ {
5522
+ "__schema": "TypeSchema",
5523
+ "location": {
5524
+ "filePath": "index.ts",
5525
+ "line": 127,
5526
+ "character": 1
5527
+ },
5528
+ "doc": {
5529
+ "__schema": "DocSchema",
5530
+ "location": {
5531
+ "filePath": "index.ts",
5532
+ "line": 124,
5533
+ "character": 1
5534
+ },
5535
+ "raw": "/**\n * Conditional Generic Type\n */",
5536
+ "comment": "Conditional Generic Type",
5537
+ "tags": []
5538
+ },
5539
+ "signature": "type If<T, U, Y, N> = T extends U ? Y : N",
5540
+ "name": "If",
5541
+ "type": {
5542
+ "__schema": "ConditionalTypeSchema",
5543
+ "location": {
5544
+ "filePath": "index.ts",
5545
+ "line": 127,
5546
+ "character": 30
5547
+ },
5548
+ "checkType": {
5549
+ "__schema": "TypeRefSchema",
5550
+ "location": {
5551
+ "filePath": "index.ts",
5552
+ "line": 127,
5553
+ "character": 30
5554
+ },
5555
+ "name": "T"
5556
+ },
5557
+ "extendsType": {
5558
+ "__schema": "TypeRefSchema",
5559
+ "location": {
5560
+ "filePath": "index.ts",
5561
+ "line": 127,
5562
+ "character": 40
5563
+ },
5564
+ "name": "U"
5565
+ },
5566
+ "trueType": {
5567
+ "__schema": "TypeRefSchema",
5568
+ "location": {
5569
+ "filePath": "index.ts",
5570
+ "line": 127,
5571
+ "character": 44
5572
+ },
5573
+ "name": "Y"
5574
+ },
5575
+ "falseType": {
5576
+ "__schema": "TypeRefSchema",
5577
+ "location": {
5578
+ "filePath": "index.ts",
5579
+ "line": 127,
5580
+ "character": 48
5581
+ },
5582
+ "name": "N"
5583
+ }
5584
+ }
5585
+ },
5586
+ {
5587
+ "__schema": "FunctionLikeSchema",
5588
+ "location": {
5589
+ "filePath": "index.ts",
5590
+ "line": 129,
5591
+ "character": 1
5592
+ },
5593
+ "signature": "function genericFunction<T>(a: T): <T>(a: T) => void",
5594
+ "name": "genericFunction",
5595
+ "params": [
5596
+ {
5597
+ "__schema": "ParameterSchema",
5598
+ "location": {
5599
+ "filePath": "index.ts",
5600
+ "line": 129,
5601
+ "character": 36
5602
+ },
5603
+ "name": "a",
5604
+ "type": {
5605
+ "__schema": "TypeRefSchema",
5606
+ "location": {
5607
+ "filePath": "index.ts",
5608
+ "line": 129,
5609
+ "character": 39
5610
+ },
5611
+ "name": "T"
5612
+ },
5613
+ "isOptional": false,
5614
+ "isSpread": false
5615
+ }
5616
+ ],
5617
+ "returnType": {
5618
+ "__schema": "InferenceTypeSchema",
5619
+ "location": {
5620
+ "filePath": "index.ts",
5621
+ "line": 129,
5622
+ "character": 1
5623
+ },
5624
+ "type": "<T>(a: T) => void"
5625
+ },
5626
+ "modifiers": [
5627
+ "export"
5628
+ ],
5629
+ "typeParams": [
5630
+ "T"
5631
+ ]
5632
+ },
5633
+ {
5634
+ "__schema": "VariableLikeSchema",
5635
+ "location": {
5636
+ "filePath": "index.ts",
5637
+ "line": 133,
5638
+ "character": 14
5639
+ },
5640
+ "signature": "const gfnc2: <T>(a: T) => void",
5641
+ "name": "gfnc2",
5642
+ "type": {
5643
+ "__schema": "FunctionLikeSchema",
5644
+ "location": {
5645
+ "filePath": "index.ts",
5646
+ "line": 133,
5647
+ "character": 14
5648
+ },
5649
+ "signature": "const gfnc2: <T>(a: T) => void",
5650
+ "name": "anonymous",
5651
+ "params": [
5652
+ {
5653
+ "__schema": "ParameterSchema",
5654
+ "location": {
5655
+ "filePath": "index.ts",
5656
+ "line": 133,
5657
+ "character": 14
5658
+ },
5659
+ "name": "a",
5660
+ "type": {
5661
+ "__schema": "InferenceTypeSchema",
5662
+ "location": {
5663
+ "filePath": "index.ts",
5664
+ "line": 133,
5665
+ "character": 14
5666
+ },
5667
+ "type": "T"
5668
+ },
5669
+ "isOptional": false,
5670
+ "isSpread": false
5671
+ }
5672
+ ],
5673
+ "returnType": {
5674
+ "__schema": "InferenceTypeSchema",
5675
+ "location": {
5676
+ "filePath": "index.ts",
5677
+ "line": 133,
5678
+ "character": 14
5679
+ },
5680
+ "type": "void"
5681
+ },
5682
+ "modifiers": []
5683
+ },
5684
+ "isOptional": false,
5685
+ "defaultValue": "genericFunction<string>('')"
5686
+ },
5687
+ {
5688
+ "__schema": "FunctionLikeSchema",
5689
+ "location": {
5690
+ "filePath": "index.ts",
5691
+ "line": 135,
5692
+ "character": 1
5693
+ },
5694
+ "signature": "function LogMethod(message: string): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => void",
5695
+ "name": "LogMethod",
5696
+ "params": [
5697
+ {
5698
+ "__schema": "ParameterSchema",
5699
+ "location": {
5700
+ "filePath": "index.ts",
5701
+ "line": 135,
5702
+ "character": 27
5703
+ },
5704
+ "name": "message",
5705
+ "type": {
5706
+ "__schema": "KeywordTypeSchema",
5707
+ "location": {
5708
+ "filePath": "index.ts",
5709
+ "line": 135,
5710
+ "character": 36
5711
+ },
5712
+ "name": "string"
5713
+ },
5714
+ "isOptional": false,
5715
+ "isSpread": false
5716
+ }
5717
+ ],
5718
+ "returnType": {
5719
+ "__schema": "InferenceTypeSchema",
5720
+ "location": {
5721
+ "filePath": "index.ts",
5722
+ "line": 135,
5723
+ "character": 1
5724
+ },
5725
+ "type": "(target: any, propertyKey: string, descriptor: PropertyDescriptor) => void"
5726
+ },
5727
+ "modifiers": [
5728
+ "export"
5729
+ ]
5730
+ },
5731
+ {
5732
+ "__schema": "FunctionLikeSchema",
5733
+ "location": {
5734
+ "filePath": "index.ts",
5735
+ "line": 145,
5736
+ "character": 1
5737
+ },
5738
+ "signature": "function CustomClassDecorator(config: {\n name: string;\n description: string;\n fn?: () => string;\n class?: ClassSomething;\n arr?: [string, number, boolean, boolean, number | undefined, (a: string) => void, {\n a: string;\n b: number;\n }, ClassSomething];\n}): (target: any) => void",
5739
+ "name": "CustomClassDecorator",
5740
+ "params": [
5741
+ {
5742
+ "__schema": "ParameterSchema",
5743
+ "location": {
5744
+ "filePath": "index.ts",
5745
+ "line": 145,
5746
+ "character": 38
5747
+ },
5748
+ "name": "config",
5749
+ "type": {
5750
+ "__schema": "TypeLiteralSchema",
5751
+ "location": {
5752
+ "filePath": "index.ts",
5753
+ "line": 145,
5754
+ "character": 46
5755
+ },
5756
+ "members": [
5757
+ {
5758
+ "__schema": "VariableLikeSchema",
5759
+ "location": {
5760
+ "filePath": "index.ts",
5761
+ "line": 146,
5762
+ "character": 3
5763
+ },
5764
+ "signature": "(property) name: string",
5765
+ "name": "name",
5766
+ "type": {
5767
+ "__schema": "KeywordTypeSchema",
5768
+ "location": {
5769
+ "filePath": "index.ts",
5770
+ "line": 146,
5771
+ "character": 9
5772
+ },
5773
+ "name": "string"
5774
+ },
5775
+ "isOptional": false
5776
+ },
5777
+ {
5778
+ "__schema": "VariableLikeSchema",
5779
+ "location": {
5780
+ "filePath": "index.ts",
5781
+ "line": 147,
5782
+ "character": 3
5783
+ },
5784
+ "signature": "(property) description: string",
5785
+ "name": "description",
5786
+ "type": {
5787
+ "__schema": "KeywordTypeSchema",
5788
+ "location": {
5789
+ "filePath": "index.ts",
5790
+ "line": 147,
5791
+ "character": 16
5792
+ },
5793
+ "name": "string"
5794
+ },
5795
+ "isOptional": false
5796
+ },
5797
+ {
5798
+ "__schema": "VariableLikeSchema",
5799
+ "location": {
5800
+ "filePath": "index.ts",
5801
+ "line": 148,
5802
+ "character": 3
5803
+ },
5804
+ "signature": "(property) fn?: (() => string) | undefined",
5805
+ "name": "fn",
5806
+ "type": {
5807
+ "__schema": "FunctionLikeSchema",
5808
+ "location": {
5809
+ "filePath": "index.ts",
5810
+ "line": 148,
5811
+ "character": 8
5812
+ },
5813
+ "signature": "(): string",
5814
+ "name": "",
5815
+ "params": [],
5816
+ "returnType": {
5817
+ "__schema": "KeywordTypeSchema",
5818
+ "location": {
5819
+ "filePath": "index.ts",
5820
+ "line": 148,
5821
+ "character": 14
5822
+ },
5823
+ "name": "string"
5824
+ },
5825
+ "modifiers": []
5826
+ },
5827
+ "isOptional": true
5828
+ },
5829
+ {
5830
+ "__schema": "VariableLikeSchema",
5831
+ "location": {
5832
+ "filePath": "index.ts",
5833
+ "line": 149,
5834
+ "character": 3
5835
+ },
5836
+ "signature": "(property) class?: ClassSomething | undefined",
5837
+ "name": "class",
5838
+ "type": {
5839
+ "__schema": "TypeRefSchema",
5840
+ "location": {
5841
+ "filePath": "index.ts",
5842
+ "line": 149,
5843
+ "character": 11
5844
+ },
5845
+ "name": "ClassSomething"
5846
+ },
5847
+ "isOptional": true
5848
+ },
5849
+ {
5850
+ "__schema": "VariableLikeSchema",
5851
+ "location": {
5852
+ "filePath": "index.ts",
5853
+ "line": 150,
5854
+ "character": 3
5855
+ },
5856
+ "signature": "(property) arr?: [string, number, boolean, boolean, number | undefined, (a: string) => void, {\n a: string;\n b: number;\n}, ClassSomething] | undefined",
5857
+ "name": "arr",
5858
+ "type": {
5859
+ "__schema": "TupleTypeSchema",
5860
+ "location": {
5861
+ "filePath": "index.ts",
5862
+ "line": 150,
5863
+ "character": 9
5864
+ },
5865
+ "elements": [
5866
+ {
5867
+ "__schema": "KeywordTypeSchema",
5868
+ "location": {
5869
+ "filePath": "index.ts",
5870
+ "line": 151,
5871
+ "character": 5
5872
+ },
5873
+ "name": "string"
5874
+ },
5875
+ {
5876
+ "__schema": "KeywordTypeSchema",
5877
+ "location": {
5878
+ "filePath": "index.ts",
5879
+ "line": 152,
5880
+ "character": 5
5881
+ },
5882
+ "name": "number"
5883
+ },
5884
+ {
5885
+ "__schema": "KeywordTypeSchema",
5886
+ "location": {
5887
+ "filePath": "index.ts",
5888
+ "line": 153,
5889
+ "character": 5
5890
+ },
5891
+ "name": "boolean"
5892
+ },
5893
+ {
5894
+ "__schema": "KeywordTypeSchema",
5895
+ "location": {
5896
+ "filePath": "index.ts",
5897
+ "line": 154,
5898
+ "character": 5
5899
+ },
5900
+ "name": "boolean"
5901
+ },
5902
+ {
5903
+ "__schema": "TypeUnionSchema",
5904
+ "location": {
5905
+ "filePath": "index.ts",
5906
+ "line": 155,
5907
+ "character": 5
5908
+ },
5909
+ "types": [
5910
+ {
5911
+ "__schema": "KeywordTypeSchema",
5912
+ "location": {
5913
+ "filePath": "index.ts",
5914
+ "line": 155,
5915
+ "character": 5
5916
+ },
5917
+ "name": "number"
5918
+ },
5919
+ {
5920
+ "__schema": "KeywordTypeSchema",
5921
+ "location": {
5922
+ "filePath": "index.ts",
5923
+ "line": 155,
5924
+ "character": 14
5925
+ },
5926
+ "name": "undefined"
5927
+ }
5928
+ ]
5929
+ },
5930
+ {
5931
+ "__schema": "FunctionLikeSchema",
5932
+ "location": {
5933
+ "filePath": "index.ts",
5934
+ "line": 156,
5935
+ "character": 5
5936
+ },
5937
+ "signature": "(a: string): void",
5938
+ "name": "",
5939
+ "params": [
5940
+ {
5941
+ "__schema": "ParameterSchema",
5942
+ "location": {
5943
+ "filePath": "index.ts",
5944
+ "line": 156,
5945
+ "character": 6
5946
+ },
5947
+ "name": "a",
5948
+ "type": {
5949
+ "__schema": "KeywordTypeSchema",
5950
+ "location": {
5951
+ "filePath": "index.ts",
5952
+ "line": 156,
5953
+ "character": 9
5954
+ },
5955
+ "name": "string"
5956
+ },
5957
+ "isOptional": false,
5958
+ "isSpread": false
5959
+ }
5960
+ ],
5961
+ "returnType": {
5962
+ "__schema": "KeywordTypeSchema",
5963
+ "location": {
5964
+ "filePath": "index.ts",
5965
+ "line": 156,
5966
+ "character": 20
5967
+ },
5968
+ "name": "void"
5969
+ },
5970
+ "modifiers": []
5971
+ },
5972
+ {
5973
+ "__schema": "TypeLiteralSchema",
5974
+ "location": {
5975
+ "filePath": "index.ts",
5976
+ "line": 157,
5977
+ "character": 5
5978
+ },
5979
+ "members": [
5980
+ {
5981
+ "__schema": "VariableLikeSchema",
5982
+ "location": {
5983
+ "filePath": "index.ts",
5984
+ "line": 157,
5985
+ "character": 7
5986
+ },
5987
+ "signature": "(property) a: string",
5988
+ "name": "a",
5989
+ "type": {
5990
+ "__schema": "KeywordTypeSchema",
5991
+ "location": {
5992
+ "filePath": "index.ts",
5993
+ "line": 157,
5994
+ "character": 10
5995
+ },
5996
+ "name": "string"
5997
+ },
5998
+ "isOptional": false
5999
+ },
6000
+ {
6001
+ "__schema": "VariableLikeSchema",
6002
+ "location": {
6003
+ "filePath": "index.ts",
6004
+ "line": 157,
6005
+ "character": 18
6006
+ },
6007
+ "signature": "(property) b: number",
6008
+ "name": "b",
6009
+ "type": {
6010
+ "__schema": "KeywordTypeSchema",
6011
+ "location": {
6012
+ "filePath": "index.ts",
6013
+ "line": 157,
6014
+ "character": 21
6015
+ },
6016
+ "name": "number"
6017
+ },
6018
+ "isOptional": false
6019
+ }
6020
+ ]
6021
+ },
6022
+ {
6023
+ "__schema": "TypeRefSchema",
6024
+ "location": {
6025
+ "filePath": "index.ts",
6026
+ "line": 158,
6027
+ "character": 5
6028
+ },
6029
+ "name": "ClassSomething"
6030
+ }
6031
+ ]
6032
+ },
6033
+ "isOptional": true
6034
+ }
6035
+ ]
6036
+ },
6037
+ "isOptional": false,
6038
+ "isSpread": false
6039
+ }
6040
+ ],
6041
+ "returnType": {
6042
+ "__schema": "InferenceTypeSchema",
6043
+ "location": {
6044
+ "filePath": "index.ts",
6045
+ "line": 145,
6046
+ "character": 1
6047
+ },
6048
+ "type": "(target: any) => void"
6049
+ },
6050
+ "modifiers": [
6051
+ "export"
6052
+ ]
6053
+ },
6054
+ {
6055
+ "__schema": "ClassSchema",
6056
+ "location": {
6057
+ "filePath": "index.ts",
6058
+ "line": 166,
6059
+ "character": 1
6060
+ },
6061
+ "signature": "class ExampleDecoratorOne",
6062
+ "name": "ExampleDecoratorOne",
6063
+ "members": [
6064
+ {
6065
+ "__schema": "FunctionLikeSchema",
6066
+ "location": {
6067
+ "filePath": "index.ts",
6068
+ "line": 168,
6069
+ "character": 3
6070
+ },
6071
+ "signature": "(method) ExampleDecoratorOne.exampleMethod(): void",
6072
+ "name": "exampleMethod",
6073
+ "params": [],
6074
+ "returnType": {
6075
+ "__schema": "InferenceTypeSchema",
6076
+ "location": {
6077
+ "filePath": "index.ts",
6078
+ "line": 168,
6079
+ "character": 3
6080
+ },
6081
+ "type": "void"
6082
+ },
6083
+ "modifiers": [],
6084
+ "decorators": [
6085
+ {
6086
+ "__schema": "DecoratorSchema",
6087
+ "location": {
6088
+ "filePath": "index.ts",
6089
+ "line": 168,
6090
+ "character": 3
6091
+ },
6092
+ "name": "LogMethod",
6093
+ "args": [
6094
+ {
6095
+ "__schema": "LiteralValueSchema",
6096
+ "location": {
6097
+ "filePath": "index.ts",
6098
+ "line": 168,
6099
+ "character": 14
6100
+ },
6101
+ "value": "This is a log message"
6102
+ }
6103
+ ]
6104
+ }
6105
+ ]
6106
+ }
6107
+ ],
6108
+ "extendsNodes": [],
6109
+ "implementNodes": [],
6110
+ "decorators": [
6111
+ {
6112
+ "__schema": "DecoratorSchema",
6113
+ "location": {
6114
+ "filePath": "index.ts",
6115
+ "line": 166,
6116
+ "character": 1
6117
+ },
6118
+ "name": "CustomClassDecorator",
6119
+ "args": [
6120
+ {
6121
+ "__schema": "ObjectLiteralExpressionSchema",
6122
+ "location": {
6123
+ "filePath": "index.ts",
6124
+ "line": 166,
6125
+ "character": 23
6126
+ },
6127
+ "members": [
6128
+ {
6129
+ "__schema": "PropertyAssignmentSchema",
6130
+ "location": {
6131
+ "filePath": "index.ts",
6132
+ "line": 166,
6133
+ "character": 25
6134
+ },
6135
+ "name": "name",
6136
+ "value": {
6137
+ "__schema": "LiteralValueSchema",
6138
+ "location": {
6139
+ "filePath": "index.ts",
6140
+ "line": 166,
6141
+ "character": 31
6142
+ },
6143
+ "value": "ExampleClass2"
6144
+ }
6145
+ },
6146
+ {
6147
+ "__schema": "PropertyAssignmentSchema",
6148
+ "location": {
6149
+ "filePath": "index.ts",
6150
+ "line": 166,
6151
+ "character": 48
6152
+ },
6153
+ "name": "description",
6154
+ "value": {
6155
+ "__schema": "LiteralValueSchema",
6156
+ "location": {
6157
+ "filePath": "index.ts",
6158
+ "line": 166,
6159
+ "character": 61
6160
+ },
6161
+ "value": "This is an example class 2"
6162
+ }
6163
+ }
6164
+ ]
6165
+ }
6166
+ ]
6167
+ }
6168
+ ]
6169
+ },
6170
+ {
6171
+ "__schema": "FunctionLikeSchema",
6172
+ "location": {
6173
+ "filePath": "index.ts",
6174
+ "line": 174,
6175
+ "character": 1
6176
+ },
6177
+ "signature": "function ValidateArgs(config: {\n type: string;\n required: boolean;\n}): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => void",
6178
+ "name": "ValidateArgs",
6179
+ "params": [
6180
+ {
6181
+ "__schema": "ParameterSchema",
6182
+ "location": {
6183
+ "filePath": "index.ts",
6184
+ "line": 174,
6185
+ "character": 30
6186
+ },
6187
+ "name": "config",
6188
+ "type": {
6189
+ "__schema": "TypeLiteralSchema",
6190
+ "location": {
6191
+ "filePath": "index.ts",
6192
+ "line": 174,
6193
+ "character": 38
6194
+ },
6195
+ "members": [
6196
+ {
6197
+ "__schema": "VariableLikeSchema",
6198
+ "location": {
6199
+ "filePath": "index.ts",
6200
+ "line": 174,
6201
+ "character": 40
6202
+ },
6203
+ "signature": "(property) type: string",
6204
+ "name": "type",
6205
+ "type": {
6206
+ "__schema": "KeywordTypeSchema",
6207
+ "location": {
6208
+ "filePath": "index.ts",
6209
+ "line": 174,
6210
+ "character": 46
6211
+ },
6212
+ "name": "string"
6213
+ },
6214
+ "isOptional": false
6215
+ },
6216
+ {
6217
+ "__schema": "VariableLikeSchema",
6218
+ "location": {
6219
+ "filePath": "index.ts",
6220
+ "line": 174,
6221
+ "character": 54
6222
+ },
6223
+ "signature": "(property) required: boolean",
6224
+ "name": "required",
6225
+ "type": {
6226
+ "__schema": "KeywordTypeSchema",
6227
+ "location": {
6228
+ "filePath": "index.ts",
6229
+ "line": 174,
6230
+ "character": 64
6231
+ },
6232
+ "name": "boolean"
6233
+ },
6234
+ "isOptional": false
6235
+ }
6236
+ ]
6237
+ },
6238
+ "isOptional": false,
6239
+ "isSpread": false
6240
+ }
6241
+ ],
6242
+ "returnType": {
6243
+ "__schema": "InferenceTypeSchema",
6244
+ "location": {
6245
+ "filePath": "index.ts",
6246
+ "line": 174,
6247
+ "character": 1
6248
+ },
6249
+ "type": "(target: any, propertyKey: string, descriptor: PropertyDescriptor) => void"
6250
+ },
6251
+ "modifiers": [
6252
+ "export"
6253
+ ]
6254
+ },
6255
+ {
6256
+ "__schema": "ClassSchema",
6257
+ "location": {
6258
+ "filePath": "index.ts",
6259
+ "line": 189,
6260
+ "character": 1
6261
+ },
6262
+ "signature": "class ExampleDecoratorTwo",
6263
+ "name": "ExampleDecoratorTwo",
6264
+ "members": [
6265
+ {
6266
+ "__schema": "FunctionLikeSchema",
6267
+ "location": {
6268
+ "filePath": "index.ts",
6269
+ "line": 197,
6270
+ "character": 3
6271
+ },
6272
+ "signature": "(method) ExampleDecoratorTwo.exampleMethod(input: string): void",
6273
+ "name": "exampleMethod",
6274
+ "params": [
6275
+ {
6276
+ "__schema": "ParameterSchema",
6277
+ "location": {
6278
+ "filePath": "index.ts",
6279
+ "line": 198,
6280
+ "character": 17
6281
+ },
6282
+ "name": "input",
6283
+ "type": {
6284
+ "__schema": "KeywordTypeSchema",
6285
+ "location": {
6286
+ "filePath": "index.ts",
6287
+ "line": 198,
6288
+ "character": 24
6289
+ },
6290
+ "name": "string"
6291
+ },
6292
+ "isOptional": false,
6293
+ "isSpread": false
6294
+ }
6295
+ ],
6296
+ "returnType": {
6297
+ "__schema": "InferenceTypeSchema",
6298
+ "location": {
6299
+ "filePath": "index.ts",
6300
+ "line": 197,
6301
+ "character": 3
6302
+ },
6303
+ "type": "void"
6304
+ },
6305
+ "modifiers": [],
6306
+ "decorators": [
6307
+ {
6308
+ "__schema": "DecoratorSchema",
6309
+ "location": {
6310
+ "filePath": "index.ts",
6311
+ "line": 197,
6312
+ "character": 3
6313
+ },
6314
+ "name": "ValidateArgs",
6315
+ "args": [
6316
+ {
6317
+ "__schema": "ObjectLiteralExpressionSchema",
6318
+ "location": {
6319
+ "filePath": "index.ts",
6320
+ "line": 197,
6321
+ "character": 17
6322
+ },
6323
+ "members": [
6324
+ {
6325
+ "__schema": "PropertyAssignmentSchema",
6326
+ "location": {
6327
+ "filePath": "index.ts",
6328
+ "line": 197,
6329
+ "character": 19
6330
+ },
6331
+ "name": "type",
6332
+ "value": {
6333
+ "__schema": "LiteralValueSchema",
6334
+ "location": {
6335
+ "filePath": "index.ts",
6336
+ "line": 197,
6337
+ "character": 25
6338
+ },
6339
+ "value": "string"
6340
+ }
6341
+ },
6342
+ {
6343
+ "__schema": "PropertyAssignmentSchema",
6344
+ "location": {
6345
+ "filePath": "index.ts",
6346
+ "line": 197,
6347
+ "character": 35
6348
+ },
6349
+ "name": "required",
6350
+ "value": {
6351
+ "__schema": "LiteralValueSchema",
6352
+ "location": {
6353
+ "filePath": "index.ts",
6354
+ "line": 197,
6355
+ "character": 45
6356
+ },
6357
+ "value": "true"
6358
+ }
6359
+ }
6360
+ ]
6361
+ }
6362
+ ]
6363
+ }
6364
+ ]
6365
+ }
6366
+ ],
6367
+ "extendsNodes": [],
6368
+ "implementNodes": [],
6369
+ "decorators": [
6370
+ {
6371
+ "__schema": "DecoratorSchema",
6372
+ "location": {
6373
+ "filePath": "index.ts",
6374
+ "line": 189,
6375
+ "character": 1
6376
+ },
6377
+ "name": "CustomClassDecorator",
6378
+ "args": [
6379
+ {
6380
+ "__schema": "ObjectLiteralExpressionSchema",
6381
+ "location": {
6382
+ "filePath": "index.ts",
6383
+ "line": 189,
6384
+ "character": 23
6385
+ },
6386
+ "members": [
6387
+ {
6388
+ "__schema": "PropertyAssignmentSchema",
6389
+ "location": {
6390
+ "filePath": "index.ts",
6391
+ "line": 190,
6392
+ "character": 3
6393
+ },
6394
+ "name": "name",
6395
+ "value": {
6396
+ "__schema": "LiteralValueSchema",
6397
+ "location": {
6398
+ "filePath": "index.ts",
6399
+ "line": 190,
6400
+ "character": 9
6401
+ },
6402
+ "value": "ExampleClass"
6403
+ }
6404
+ },
6405
+ {
6406
+ "__schema": "PropertyAssignmentSchema",
6407
+ "location": {
6408
+ "filePath": "index.ts",
6409
+ "line": 191,
6410
+ "character": 3
6411
+ },
6412
+ "name": "description",
6413
+ "value": {
6414
+ "__schema": "LiteralValueSchema",
6415
+ "location": {
6416
+ "filePath": "index.ts",
6417
+ "line": 191,
6418
+ "character": 16
6419
+ },
6420
+ "value": "This is an example class"
6421
+ }
6422
+ },
6423
+ {
6424
+ "__schema": "PropertyAssignmentSchema",
6425
+ "location": {
6426
+ "filePath": "index.ts",
6427
+ "line": 192,
6428
+ "character": 3
6429
+ },
6430
+ "name": "fn",
6431
+ "value": {
6432
+ "__schema": "FunctionLikeSchema",
6433
+ "location": {
6434
+ "filePath": "index.ts",
6435
+ "line": 192,
6436
+ "character": 7
6437
+ },
6438
+ "signature": "function(): string",
6439
+ "name": "",
6440
+ "params": [],
6441
+ "returnType": {
6442
+ "__schema": "InferenceTypeSchema",
6443
+ "location": {
6444
+ "filePath": "index.ts",
6445
+ "line": 192,
6446
+ "character": 7
6447
+ },
6448
+ "type": "string"
6449
+ },
6450
+ "modifiers": []
6451
+ }
6452
+ },
6453
+ {
6454
+ "__schema": "PropertyAssignmentSchema",
6455
+ "location": {
6456
+ "filePath": "index.ts",
6457
+ "line": 193,
6458
+ "character": 3
6459
+ },
6460
+ "name": "class",
6461
+ "value": {
6462
+ "__schema": "LiteralValueSchema",
6463
+ "location": {
6464
+ "filePath": "index.ts",
6465
+ "line": 193,
6466
+ "character": 10
6467
+ },
6468
+ "value": "new ClassSomething('dsa')"
6469
+ }
6470
+ },
6471
+ {
6472
+ "__schema": "PropertyAssignmentSchema",
6473
+ "location": {
6474
+ "filePath": "index.ts",
6475
+ "line": 194,
6476
+ "character": 3
6477
+ },
6478
+ "name": "arr",
6479
+ "value": {
6480
+ "__schema": "ArrayLiteralExpressionSchema",
6481
+ "location": {
6482
+ "filePath": "index.ts",
6483
+ "line": 194,
6484
+ "character": 8
6485
+ },
6486
+ "members": [
6487
+ {
6488
+ "__schema": "LiteralValueSchema",
6489
+ "location": {
6490
+ "filePath": "index.ts",
6491
+ "line": 194,
6492
+ "character": 9
6493
+ },
6494
+ "value": "hi"
6495
+ },
6496
+ {
6497
+ "__schema": "LiteralValueSchema",
6498
+ "location": {
6499
+ "filePath": "index.ts",
6500
+ "line": 194,
6501
+ "character": 15
6502
+ },
6503
+ "value": "5"
6504
+ },
6505
+ {
6506
+ "__schema": "LiteralValueSchema",
6507
+ "location": {
6508
+ "filePath": "index.ts",
6509
+ "line": 194,
6510
+ "character": 18
6511
+ },
6512
+ "value": "true"
6513
+ },
6514
+ {
6515
+ "__schema": "LiteralValueSchema",
6516
+ "location": {
6517
+ "filePath": "index.ts",
6518
+ "line": 194,
6519
+ "character": 24
6520
+ },
6521
+ "value": "false"
6522
+ },
6523
+ {
6524
+ "__schema": "InferenceTypeSchema",
6525
+ "location": {
6526
+ "filePath": "index.ts",
6527
+ "line": 194,
6528
+ "character": 31
6529
+ },
6530
+ "type": "undefined"
6531
+ },
6532
+ {
6533
+ "__schema": "FunctionLikeSchema",
6534
+ "location": {
6535
+ "filePath": "index.ts",
6536
+ "line": 194,
6537
+ "character": 42
6538
+ },
6539
+ "signature": "function(): void",
6540
+ "name": "",
6541
+ "params": [],
6542
+ "returnType": {
6543
+ "__schema": "InferenceTypeSchema",
6544
+ "location": {
6545
+ "filePath": "index.ts",
6546
+ "line": 194,
6547
+ "character": 42
6548
+ },
6549
+ "type": "void"
6550
+ },
6551
+ "modifiers": []
6552
+ },
6553
+ {
6554
+ "__schema": "ObjectLiteralExpressionSchema",
6555
+ "location": {
6556
+ "filePath": "index.ts",
6557
+ "line": 194,
6558
+ "character": 52
6559
+ },
6560
+ "members": [
6561
+ {
6562
+ "__schema": "PropertyAssignmentSchema",
6563
+ "location": {
6564
+ "filePath": "index.ts",
6565
+ "line": 194,
6566
+ "character": 54
6567
+ },
6568
+ "name": "a",
6569
+ "value": {
6570
+ "__schema": "LiteralValueSchema",
6571
+ "location": {
6572
+ "filePath": "index.ts",
6573
+ "line": 194,
6574
+ "character": 57
6575
+ },
6576
+ "value": "hi"
6577
+ }
6578
+ },
6579
+ {
6580
+ "__schema": "PropertyAssignmentSchema",
6581
+ "location": {
6582
+ "filePath": "index.ts",
6583
+ "line": 194,
6584
+ "character": 63
6585
+ },
6586
+ "name": "b",
6587
+ "value": {
6588
+ "__schema": "LiteralValueSchema",
6589
+ "location": {
6590
+ "filePath": "index.ts",
6591
+ "line": 194,
6592
+ "character": 66
6593
+ },
6594
+ "value": "5"
6595
+ }
6596
+ }
6597
+ ]
6598
+ },
6599
+ {
6600
+ "__schema": "LiteralValueSchema",
6601
+ "location": {
6602
+ "filePath": "index.ts",
6603
+ "line": 194,
6604
+ "character": 71
6605
+ },
6606
+ "value": "new ClassSomething('dsa')"
6607
+ }
6608
+ ]
6609
+ }
6610
+ }
6611
+ ]
6612
+ }
6613
+ ]
6614
+ }
6615
+ ]
6616
+ }
6617
+ ],
6618
+ "internals": [
6619
+ {
6620
+ "__schema": "ClassSchema",
6621
+ "location": {
6622
+ "filePath": "index.ts",
6623
+ "line": 34,
6624
+ "character": 1
6625
+ },
6626
+ "signature": "class Foo",
6627
+ "name": "Foo",
6628
+ "members": [],
6629
+ "extendsNodes": [],
6630
+ "implementNodes": []
6631
+ },
6632
+ {
6633
+ "__schema": "ClassSchema",
6634
+ "location": {
6635
+ "filePath": "index.ts",
6636
+ "line": 36,
6637
+ "character": 1
6638
+ },
6639
+ "signature": "class ClassSomething",
6640
+ "name": "ClassSomething",
6641
+ "members": [
6642
+ {
6643
+ "__schema": "VariableLikeSchema",
6644
+ "location": {
6645
+ "filePath": "index.ts",
6646
+ "line": 37,
6647
+ "character": 3
6648
+ },
6649
+ "signature": "(property) ClassSomething.app: string",
6650
+ "name": "app",
6651
+ "type": {
6652
+ "__schema": "InferenceTypeSchema",
6653
+ "location": {
6654
+ "filePath": "index.ts",
6655
+ "line": 37,
6656
+ "character": 3
6657
+ },
6658
+ "type": "string"
6659
+ },
6660
+ "isOptional": true,
6661
+ "defaultValue": "''"
6662
+ },
6663
+ {
6664
+ "__schema": "ConstructorSchema",
6665
+ "location": {
6666
+ "filePath": "index.ts",
6667
+ "line": 38,
6668
+ "character": 3
6669
+ },
6670
+ "signature": "constructor ClassSomething(da: \"dsa\"): ClassSomething",
6671
+ "name": "constructor",
6672
+ "params": [
6673
+ {
6674
+ "__schema": "ParameterSchema",
6675
+ "location": {
6676
+ "filePath": "index.ts",
6677
+ "line": 38,
6678
+ "character": 15
6679
+ },
6680
+ "name": "da",
6681
+ "type": {
6682
+ "__schema": "LiteralTypeSchema",
6683
+ "location": {
6684
+ "filePath": "index.ts",
6685
+ "line": 38,
6686
+ "character": 28
6687
+ },
6688
+ "name": "'dsa'"
6689
+ },
6690
+ "isOptional": false,
6691
+ "isSpread": false
6692
+ }
6693
+ ],
6694
+ "returnType": {
6695
+ "__schema": "ThisTypeSchema",
6696
+ "location": {
6697
+ "filePath": "index.ts",
6698
+ "line": 36,
6699
+ "character": 1
6700
+ },
6701
+ "name": "ClassSomething"
6702
+ },
6703
+ "modifiers": []
6704
+ },
6705
+ {
6706
+ "__schema": "FunctionLikeSchema",
6707
+ "location": {
6708
+ "filePath": "index.ts",
6709
+ "line": 40,
6710
+ "character": 3
6711
+ },
6712
+ "signature": "(method) ClassSomething.a(): Foo",
6713
+ "name": "a",
6714
+ "params": [],
6715
+ "returnType": {
6716
+ "__schema": "TypeRefSchema",
6717
+ "location": {
6718
+ "filePath": "index.ts",
6719
+ "line": 40,
6720
+ "character": 3
6721
+ },
6722
+ "name": "Foo",
6723
+ "internalFilePath": "index.ts"
6724
+ },
6725
+ "modifiers": []
6726
+ },
6727
+ {
6728
+ "__schema": "GetAccessorSchema",
6729
+ "location": {
6730
+ "filePath": "index.ts",
6731
+ "line": 43,
6732
+ "character": 3
6733
+ },
6734
+ "signature": "(getter) ClassSomething.getter: string",
6735
+ "name": "getter",
6736
+ "type": {
6737
+ "__schema": "InferenceTypeSchema",
6738
+ "location": {
6739
+ "filePath": "index.ts",
6740
+ "line": 43,
6741
+ "character": 3
6742
+ },
6743
+ "type": "string"
6744
+ }
6745
+ },
6746
+ {
6747
+ "__schema": "SetAccessorSchema",
6748
+ "location": {
6749
+ "filePath": "index.ts",
6750
+ "line": 47,
6751
+ "character": 3
6752
+ },
6753
+ "signature": "(setter) ClassSomething.setter: boolean",
6754
+ "name": "setter",
6755
+ "param": {
6756
+ "__schema": "ParameterSchema",
6757
+ "location": {
6758
+ "filePath": "index.ts",
6759
+ "line": 47,
6760
+ "character": 14
6761
+ },
6762
+ "name": "a",
6763
+ "type": {
6764
+ "__schema": "KeywordTypeSchema",
6765
+ "location": {
6766
+ "filePath": "index.ts",
6767
+ "line": 47,
6768
+ "character": 17
6769
+ },
6770
+ "name": "boolean"
6771
+ },
6772
+ "isOptional": false,
6773
+ "isSpread": false
6774
+ }
6775
+ }
6776
+ ],
6777
+ "extendsNodes": [],
6778
+ "implementNodes": []
6779
+ },
6780
+ {
6781
+ "__schema": "ModuleSchema",
6782
+ "location": {
6783
+ "filePath": "index.ts",
6784
+ "line": 59,
6785
+ "character": 1
6786
+ },
6787
+ "exports": [
6788
+ {
6789
+ "__schema": "VariableLikeSchema",
6790
+ "location": {
6791
+ "filePath": "index.ts",
6792
+ "line": 59,
6793
+ "character": 7
6794
+ },
6795
+ "signature": "const obj: {\n a: number;\n b: number;\n}",
6796
+ "name": "obj",
6797
+ "type": {
6798
+ "__schema": "ArrayLiteralExpressionSchema",
6799
+ "location": {
6800
+ "filePath": "index.ts",
6801
+ "line": 59,
6802
+ "character": 7
6803
+ },
6804
+ "members": [
6805
+ {
6806
+ "__schema": "InferenceTypeSchema",
6807
+ "location": {
6808
+ "filePath": "index.ts",
6809
+ "line": 59,
6810
+ "character": 7
6811
+ },
6812
+ "type": "a: number"
6813
+ },
6814
+ {
6815
+ "__schema": "InferenceTypeSchema",
6816
+ "location": {
6817
+ "filePath": "index.ts",
6818
+ "line": 59,
6819
+ "character": 7
6820
+ },
6821
+ "type": "b: number"
6822
+ }
6823
+ ]
6824
+ },
6825
+ "isOptional": false,
6826
+ "defaultValue": "{ a: 1, b: 2 }"
6827
+ }
6828
+ ],
6829
+ "internals": []
6830
+ },
6831
+ {
6832
+ "__schema": "ClassSchema",
6833
+ "location": {
6834
+ "filePath": "index.ts",
6835
+ "line": 66,
6836
+ "character": 1
6837
+ },
6838
+ "signature": "class Bar",
6839
+ "name": "Bar",
6840
+ "members": [
6841
+ {
6842
+ "__schema": "FunctionLikeSchema",
6843
+ "location": {
6844
+ "filePath": "index.ts",
6845
+ "line": 67,
6846
+ "character": 3
6847
+ },
6848
+ "signature": "(method) Bar.foo(): void",
6849
+ "name": "foo",
6850
+ "params": [],
6851
+ "returnType": {
6852
+ "__schema": "InferenceTypeSchema",
6853
+ "location": {
6854
+ "filePath": "index.ts",
6855
+ "line": 67,
6856
+ "character": 3
6857
+ },
6858
+ "type": "void"
6859
+ },
6860
+ "modifiers": []
6861
+ }
6862
+ ],
6863
+ "extendsNodes": [],
6864
+ "implementNodes": []
6865
+ },
6866
+ {
6867
+ "__schema": "ClassSchema",
6868
+ "location": {
6869
+ "filePath": "index.ts",
6870
+ "line": 83,
6871
+ "character": 1
6872
+ },
6873
+ "signature": "class T1",
6874
+ "name": "T1",
6875
+ "members": [],
6876
+ "extendsNodes": [],
6877
+ "implementNodes": []
6878
+ },
6879
+ {
6880
+ "__schema": "ClassSchema",
6881
+ "location": {
6882
+ "filePath": "index.ts",
6883
+ "line": 84,
6884
+ "character": 1
6885
+ },
6886
+ "signature": "class T2",
6887
+ "name": "T2",
6888
+ "members": [],
6889
+ "extendsNodes": [],
6890
+ "implementNodes": []
6891
+ },
6892
+ {
6893
+ "__schema": "ClassSchema",
6894
+ "location": {
6895
+ "filePath": "index.ts",
6896
+ "line": 85,
6897
+ "character": 1
6898
+ },
6899
+ "signature": "class T3<T, K>",
6900
+ "name": "T3",
6901
+ "members": [],
6902
+ "typeParams": [
6903
+ "T",
6904
+ "K"
6905
+ ],
6906
+ "extendsNodes": [],
6907
+ "implementNodes": []
6908
+ },
6909
+ {
6910
+ "__schema": "InterfaceSchema",
6911
+ "location": {
6912
+ "filePath": "index.ts",
6913
+ "line": 103,
6914
+ "character": 1
6915
+ },
6916
+ "signature": "interface config",
6917
+ "name": "config",
6918
+ "members": [
6919
+ {
6920
+ "__schema": "VariableLikeSchema",
6921
+ "location": {
6922
+ "filePath": "index.ts",
6923
+ "line": 104,
6924
+ "character": 3
6925
+ },
6926
+ "signature": "(property) config.someField: {\n a: string;\n b: boolean;\n}",
6927
+ "name": "someField",
6928
+ "type": {
6929
+ "__schema": "TypeLiteralSchema",
6930
+ "location": {
6931
+ "filePath": "index.ts",
6932
+ "line": 104,
6933
+ "character": 14
6934
+ },
6935
+ "members": [
6936
+ {
6937
+ "__schema": "VariableLikeSchema",
6938
+ "location": {
6939
+ "filePath": "index.ts",
6940
+ "line": 104,
6941
+ "character": 16
6942
+ },
6943
+ "signature": "(property) a: string",
6944
+ "name": "a",
6945
+ "type": {
6946
+ "__schema": "KeywordTypeSchema",
6947
+ "location": {
6948
+ "filePath": "index.ts",
6949
+ "line": 104,
6950
+ "character": 19
6951
+ },
6952
+ "name": "string"
6953
+ },
6954
+ "isOptional": false
6955
+ },
6956
+ {
6957
+ "__schema": "VariableLikeSchema",
6958
+ "location": {
6959
+ "filePath": "index.ts",
6960
+ "line": 104,
6961
+ "character": 27
6962
+ },
6963
+ "signature": "(property) b: boolean",
6964
+ "name": "b",
6965
+ "type": {
6966
+ "__schema": "KeywordTypeSchema",
6967
+ "location": {
6968
+ "filePath": "index.ts",
6969
+ "line": 104,
6970
+ "character": 30
6971
+ },
6972
+ "name": "boolean"
6973
+ },
6974
+ "isOptional": false
6975
+ }
6976
+ ]
6977
+ },
6978
+ "isOptional": false
6979
+ }
6980
+ ],
6981
+ "extendsNodes": []
6982
+ },
6983
+ {
6984
+ "__schema": "ModuleSchema",
6985
+ "location": {
6986
+ "filePath": "index.ts",
6987
+ "line": 108,
6988
+ "character": 1
6989
+ },
6990
+ "exports": [
6991
+ {
6992
+ "__schema": "VariableLikeSchema",
6993
+ "location": {
6994
+ "filePath": "index.ts",
6995
+ "line": 108,
6996
+ "character": 7
6997
+ },
6998
+ "signature": "const computedName: \"str\"",
6999
+ "name": "computedName",
7000
+ "type": {
7001
+ "__schema": "InferenceTypeSchema",
7002
+ "location": {
7003
+ "filePath": "index.ts",
7004
+ "line": 108,
7005
+ "character": 7
7006
+ },
7007
+ "type": "\"str\""
7008
+ },
7009
+ "isOptional": false,
7010
+ "defaultValue": "'str'"
7011
+ }
7012
+ ],
7013
+ "internals": []
7014
+ },
7015
+ {
7016
+ "__schema": "TypeSchema",
7017
+ "location": {
7018
+ "filePath": "index.ts",
7019
+ "line": 116,
7020
+ "character": 1
7021
+ },
7022
+ "signature": "type World1 = \"world1-a\" | \"world1-b\"",
7023
+ "name": "World1",
7024
+ "type": {
7025
+ "__schema": "TypeUnionSchema",
7026
+ "location": {
7027
+ "filePath": "index.ts",
7028
+ "line": 116,
7029
+ "character": 15
7030
+ },
7031
+ "types": [
7032
+ {
7033
+ "__schema": "LiteralTypeSchema",
7034
+ "location": {
7035
+ "filePath": "index.ts",
7036
+ "line": 116,
7037
+ "character": 15
7038
+ },
7039
+ "name": "'world1-a'"
7040
+ },
7041
+ {
7042
+ "__schema": "LiteralTypeSchema",
7043
+ "location": {
7044
+ "filePath": "index.ts",
7045
+ "line": 116,
7046
+ "character": 28
7047
+ },
7048
+ "name": "'world1-b'"
7049
+ }
7050
+ ]
7051
+ }
7052
+ },
7053
+ {
7054
+ "__schema": "TypeSchema",
7055
+ "location": {
7056
+ "filePath": "index.ts",
7057
+ "line": 117,
7058
+ "character": 1
7059
+ },
7060
+ "signature": "type World2 = \"world2\"",
7061
+ "name": "World2",
7062
+ "type": {
7063
+ "__schema": "LiteralTypeSchema",
7064
+ "location": {
7065
+ "filePath": "index.ts",
7066
+ "line": 117,
7067
+ "character": 15
7068
+ },
7069
+ "name": "'world2'"
7070
+ }
7071
+ }
7072
+ ]
3617
7073
  }
3618
7074
  ],
3619
7075
  "componentId": {