-
Notifications
You must be signed in to change notification settings - Fork 683
Expand file tree
/
Copy pathsnapshot.test.ts.snap
More file actions
4736 lines (2996 loc) · 96.2 KB
/
snapshot.test.ts.snap
File metadata and controls
4736 lines (2996 loc) · 96.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
exports[`api-documenter YAML: itemContents 1`] = `
Object {
"/api-documenter-test.yml": "### YamlMime:TSPackage
uid: api-documenter-test!
name: api-documenter-test
type: package
summary: |-
api-extractor-test-05
This project tests various documentation generation scenarios and doc comment syntaxes.
classes:
- api-documenter-test!AbstractClass:class
- api-documenter-test!DecoratorExample:class
- api-documenter-test!DocBaseClass:class
- api-documenter-test!DocClass1:class
- api-documenter-test!DocClassInterfaceMerge:class
- api-documenter-test!Generic:class
- api-documenter-test!SystemEvent:class
interfaces:
- api-documenter-test!Constraint:interface
- api-documenter-test!DefaultType:interface
- api-documenter-test!DocClassInterfaceMerge:interface
- api-documenter-test!IDocInterface1:interface
- api-documenter-test!IDocInterface2:interface
- api-documenter-test!IDocInterface3:interface
- api-documenter-test!IDocInterface4:interface
- api-documenter-test!IDocInterface5:interface
- api-documenter-test!IDocInterface6:interface
- api-documenter-test!IDocInterface7:interface
enums:
- api-documenter-test!DocEnum:enum
- api-documenter-test!DocEnumNamespaceMerge:enum
typeAliases:
- api-documenter-test!ExampleDuplicateTypeAlias:type
- api-documenter-test!ExampleTypeAlias:type
- api-documenter-test!ExampleUnionTypeAlias:type
- api-documenter-test!GenericTypeAlias:type
- api-documenter-test!TypeAlias:type
functions:
- name: exampleFunction(x, y)
uid: api-documenter-test!exampleFunction:function(1)
package: api-documenter-test!
summary: An exported function with hyperlinked parameters and return value.
remarks: ''
example: []
isPreview: false
isDeprecated: false
syntax:
content: 'export declare function exampleFunction(x: ExampleTypeAlias, y: number): IDocInterface1;'
parameters:
- id: x
description: an API item that should get hyperlinked
type: <xref uid=\\"api-documenter-test!ExampleTypeAlias:type\\" />
- id: 'y'
description: a system type that should NOT get hyperlinked
type: number
return:
type: <xref uid=\\"api-documenter-test!IDocInterface1:interface\\" />
description: an interface that should get hyperlinked
- name: yamlReferenceUniquenessTest()
uid: api-documenter-test!yamlReferenceUniquenessTest:function(1)
package: api-documenter-test!
summary: ''
remarks: ''
example: []
isPreview: false
isDeprecated: false
syntax:
content: 'export declare function yamlReferenceUniquenessTest(): IDocInterface1;'
return:
type: <xref uid=\\"api-documenter-test!IDocInterface1:interface\\" />
description: ''
",
"/api-documenter-test/abstractclass.yml": "### YamlMime:TSType
name: AbstractClass
uid: api-documenter-test!AbstractClass:class
package: api-documenter-test!
fullName: AbstractClass
summary: Some abstract class with abstract members.
remarks: ''
example: []
isPreview: false
isDeprecated: false
type: class
properties:
- name: property
uid: api-documenter-test!AbstractClass#property:member
package: api-documenter-test!
fullName: property
summary: Some abstract property.
remarks: ''
example: []
isPreview: false
isDeprecated: false
syntax:
content: 'protected abstract property: number;'
return:
type: number
methods:
- name: method()
uid: api-documenter-test!AbstractClass#method:member(1)
package: api-documenter-test!
fullName: method()
summary: Some abstract method.
remarks: ''
example: []
isPreview: false
isDeprecated: false
syntax:
content: 'abstract method(): void;'
return:
type: void
description: ''
",
"/api-documenter-test/constraint.yml": "### YamlMime:TSType
name: Constraint
uid: api-documenter-test!Constraint:interface
package: api-documenter-test!
fullName: Constraint
summary: Type parameter constraint used by test case below.
remarks: ''
example: []
isPreview: false
isDeprecated: false
type: interface
",
"/api-documenter-test/decoratorexample.yml": "### YamlMime:TSType
name: DecoratorExample
uid: api-documenter-test!DecoratorExample:class
package: api-documenter-test!
fullName: DecoratorExample
summary: ''
remarks: ''
example: []
isPreview: false
isDeprecated: false
type: class
properties:
- name: creationDate
uid: api-documenter-test!DecoratorExample#creationDate:member
package: api-documenter-test!
fullName: creationDate
summary: The date when the record was created.
remarks: Here is a longer description of the property.
example: []
isPreview: false
isDeprecated: false
syntax:
content: 'creationDate: Date;'
return:
type: Date
",
"/api-documenter-test/defaulttype.yml": "### YamlMime:TSType
name: DefaultType
uid: api-documenter-test!DefaultType:interface
package: api-documenter-test!
fullName: DefaultType
summary: Type parameter default type used by test case below.
remarks: ''
example: []
isPreview: false
isDeprecated: false
type: interface
",
"/api-documenter-test/docbaseclass.yml": "### YamlMime:TSType
name: DocBaseClass
uid: api-documenter-test!DocBaseClass:class
package: api-documenter-test!
fullName: DocBaseClass
summary: Example base class
remarks: ''
example: []
isPreview: false
isDeprecated: false
type: class
constructors:
- name: (constructor)()
uid: api-documenter-test!DocBaseClass:constructor(1)
package: api-documenter-test!
fullName: (constructor)()
summary: The simple constructor for \`DocBaseClass\`
remarks: ''
example: []
isPreview: false
isDeprecated: false
syntax:
content: constructor();
- name: (constructor)(x)
uid: api-documenter-test!DocBaseClass:constructor(2)
package: api-documenter-test!
fullName: (constructor)(x)
summary: The overloaded constructor for \`DocBaseClass\`
remarks: ''
example: []
isPreview: false
isDeprecated: false
syntax:
content: 'constructor(x: number);'
parameters:
- id: x
description: ''
type: number
",
"/api-documenter-test/docclass1.yml": "### YamlMime:TSType
name: DocClass1
uid: api-documenter-test!DocClass1:class
package: api-documenter-test!
fullName: DocClass1
summary: This is an example class.
remarks: >-
[Link to overload 1](xref:api-documenter-test!DocClass1%23exampleFunction:member(1))
[Link to overload 2](xref:api-documenter-test!DocClass1%23exampleFunction:member(2))
The constructor for this class is marked as internal. Third-party code should not call the constructor directly or
create subclasses that extend the \`DocClass1\` class.
example: []
isPreview: false
isDeprecated: false
type: class
properties:
- name: multipleModifiersProperty
uid: api-documenter-test!DocClass1.multipleModifiersProperty:member
package: api-documenter-test!
fullName: multipleModifiersProperty
summary: Some property with multiple modifiers.
remarks: ''
example: []
isPreview: false
isDeprecated: false
syntax:
content: 'protected static readonly multipleModifiersProperty: boolean;'
return:
type: boolean
- name: protectedProperty
uid: api-documenter-test!DocClass1#protectedProperty:member
package: api-documenter-test!
fullName: protectedProperty
summary: Some protected property.
remarks: ''
example: []
isPreview: false
isDeprecated: false
syntax:
content: 'protected protectedProperty: string;'
return:
type: string
- name: readonlyProperty
uid: api-documenter-test!DocClass1#readonlyProperty:member
package: api-documenter-test!
fullName: readonlyProperty
summary: ''
remarks: ''
example: []
isPreview: false
isDeprecated: false
syntax:
content: 'get readonlyProperty(): string;'
return:
type: string
- name: regularProperty
uid: api-documenter-test!DocClass1#regularProperty:member
package: api-documenter-test!
fullName: regularProperty
summary: This is a regular property that happens to use the SystemEvent type.
remarks: ''
example: []
isPreview: false
isDeprecated: false
syntax:
content: 'regularProperty: SystemEvent;'
return:
type: <xref uid=\\"api-documenter-test!SystemEvent:class\\" />
- name: writeableProperty
uid: api-documenter-test!DocClass1#writeableProperty:member
package: api-documenter-test!
fullName: writeableProperty
summary: ''
remarks: ''
example: []
isPreview: false
isDeprecated: false
syntax:
content: |-
get writeableProperty(): string;
set writeableProperty(value: string);
return:
type: string
- name: writeonlyProperty
uid: api-documenter-test!DocClass1#writeonlyProperty:member
package: api-documenter-test!
fullName: writeonlyProperty
summary: API Extractor will surface an \`ae-missing-getter\` finding for this property.
remarks: ''
example: []
isPreview: false
isDeprecated: false
syntax:
content: 'set writeonlyProperty(value: string);'
return:
type: string
methods:
- name: deprecatedExample()
uid: api-documenter-test!DocClass1#deprecatedExample:member(1)
package: api-documenter-test!
fullName: deprecatedExample()
summary: ''
remarks: ''
example: []
isPreview: false
isDeprecated: true
customDeprecatedMessage: Use \`otherThing()\` instead.
syntax:
content: 'deprecatedExample(): void;'
return:
type: void
description: ''
- name: exampleFunction(a, b)
uid: api-documenter-test!DocClass1#exampleFunction:member(1)
package: api-documenter-test!
fullName: exampleFunction(a, b)
summary: This is an overloaded function.
remarks: ''
example: []
isPreview: false
isDeprecated: false
syntax:
content: 'exampleFunction(a: string, b: string): string;'
parameters:
- id: a
description: the first string
type: string
- id: b
description: the second string
type: string
return:
type: string
description: ''
- name: exampleFunction(x)
uid: api-documenter-test!DocClass1#exampleFunction:member(2)
package: api-documenter-test!
fullName: exampleFunction(x)
summary: This is also an overloaded function.
remarks: ''
example: []
isPreview: false
isDeprecated: false
syntax:
content: 'exampleFunction(x: number): number;'
parameters:
- id: x
description: the number
type: number
return:
type: number
description: ''
- name: genericWithConstraintAndDefault(x)
uid: api-documenter-test!DocClass1#genericWithConstraintAndDefault:member(1)
package: api-documenter-test!
fullName: genericWithConstraintAndDefault(x)
summary: This is a method with a complex type parameter.
remarks: ''
example: []
isPreview: false
isDeprecated: false
syntax:
content: 'genericWithConstraintAndDefault<T extends Constraint = DefaultType>(x: T): void;'
parameters:
- id: x
description: some generic parameter.
type: T
return:
type: void
description: ''
- name: interestingEdgeCases()
uid: api-documenter-test!DocClass1#interestingEdgeCases:member(1)
package: api-documenter-test!
fullName: interestingEdgeCases()
summary: |-
Example: \\"<!-- -->{ \\\\\\\\<!-- -->\\"maxItemsToShow<!-- -->\\\\\\\\<!-- -->\\": 123 }<!-- -->\\"
The regular expression used to validate the constraints is /^\\\\[a-zA-Z0-9<!-- -->\\\\\\\\<!-- -->-\\\\_\\\\]+$/
remarks: ''
example: []
isPreview: false
isDeprecated: false
syntax:
content: 'interestingEdgeCases(): void;'
return:
type: void
description: ''
- name: optionalParamFunction(x)
uid: api-documenter-test!DocClass1#optionalParamFunction:member(1)
package: api-documenter-test!
fullName: optionalParamFunction(x)
summary: This is a function with an optional parameter.
remarks: ''
example: []
isPreview: false
isDeprecated: false
syntax:
content: 'optionalParamFunction(x?: number): void;'
parameters:
- id: x
description: the number
type: number
return:
type: void
description: ''
- name: sumWithExample(x, y)
uid: api-documenter-test!DocClass1.sumWithExample:member(1)
package: api-documenter-test!
fullName: sumWithExample(x, y)
summary: Returns the sum of two numbers.
remarks: This illustrates usage of the \`@example\` block tag.
example:
- |-
Here's a simple example:
\`\`\`
// Prints \\"2\\":
console.log(DocClass1.sumWithExample(1,1));
\`\`\`
- |-
Here's an example with negative numbers:
\`\`\`
// Prints \\"0\\":
console.log(DocClass1.sumWithExample(1,-1));
\`\`\`
isPreview: false
isDeprecated: false
syntax:
content: 'static sumWithExample(x: number, y: number): number;'
parameters:
- id: x
description: the first number to add
type: number
- id: 'y'
description: the second number to add
type: number
return:
type: number
description: the sum of the two numbers
- name: tableExample()
uid: api-documenter-test!DocClass1#tableExample:member(1)
package: api-documenter-test!
fullName: tableExample()
summary: 'An example with tables:'
remarks: <table> <tr> <td>John</td> <td>Doe</td> </tr> </table>
example: []
isPreview: false
isDeprecated: false
syntax:
content: 'tableExample(): void;'
return:
type: void
description: ''
events:
- name: malformedEvent
uid: api-documenter-test!DocClass1#malformedEvent:member
package: api-documenter-test!
fullName: malformedEvent
summary: This event should have been marked as readonly.
remarks: ''
example: []
isPreview: false
isDeprecated: false
syntax:
content: 'malformedEvent: SystemEvent;'
return:
type: <xref uid=\\"api-documenter-test!SystemEvent:class\\" />
- name: modifiedEvent
uid: api-documenter-test!DocClass1#modifiedEvent:member
package: api-documenter-test!
fullName: modifiedEvent
summary: This event is fired whenever the object is modified.
remarks: ''
example: []
isPreview: false
isDeprecated: false
syntax:
content: 'readonly modifiedEvent: SystemEvent;'
return:
type: <xref uid=\\"api-documenter-test!SystemEvent:class\\" />
extends: <xref uid=\\"api-documenter-test!DocBaseClass:class\\" />
",
"/api-documenter-test/docclassinterfacemerge-class.yml": "### YamlMime:TSType
name: DocClassInterfaceMerge
uid: api-documenter-test!DocClassInterfaceMerge:class
package: api-documenter-test!
fullName: DocClassInterfaceMerge
summary: Class that merges with interface
remarks: |-
[Link to class](xref:api-documenter-test!DocClassInterfaceMerge:class)
[Link to interface](xref:api-documenter-test!DocClassInterfaceMerge:interface)
example: []
isPreview: false
isDeprecated: false
type: class
",
"/api-documenter-test/docclassinterfacemerge-interface.yml": "### YamlMime:TSType
name: DocClassInterfaceMerge
uid: api-documenter-test!DocClassInterfaceMerge:interface
package: api-documenter-test!
fullName: DocClassInterfaceMerge
summary: Interface that merges with class
remarks: ''
example: []
isPreview: false
isDeprecated: false
type: interface
",
"/api-documenter-test/docenum.yml": "### YamlMime:TSEnum
name: DocEnum
uid: api-documenter-test!DocEnum:enum
package: api-documenter-test!
fullName: DocEnum
summary: Docs for DocEnum
remarks: ''
example: []
isPreview: false
isDeprecated: false
fields:
- name: One
uid: api-documenter-test!DocEnum.One:member
package: api-documenter-test!
summary: These are some docs for One
value: '1'
- name: Two
uid: api-documenter-test!DocEnum.Two:member
package: api-documenter-test!
summary: |-
These are some docs for Two.
[DocEnum.One](xref:api-documenter-test!DocEnum.One:member) is a direct link to another enum member.
value: '2'
- name: Zero
uid: api-documenter-test!DocEnum.Zero:member
package: api-documenter-test!
summary: These are some docs for Zero
value: '0'
",
"/api-documenter-test/docenumnamespacemerge-enum.yml": "### YamlMime:TSEnum
name: DocEnumNamespaceMerge
uid: api-documenter-test!DocEnumNamespaceMerge:enum
package: api-documenter-test!
fullName: DocEnumNamespaceMerge
summary: Enum that merges with namespace
remarks: |-
[Link to enum](xref:api-documenter-test!DocEnumNamespaceMerge:enum)
[Link to namespace](xref:api-documenter-test!DocEnumNamespaceMerge:namespace)
[Link to function inside namespace](xref:api-documenter-test!DocEnumNamespaceMerge.exampleFunction:function(1))
example: []
isPreview: false
isDeprecated: false
fields:
- name: Left
uid: api-documenter-test!DocEnumNamespaceMerge.Left:member
package: api-documenter-test!
summary: These are some docs for Left
value: '0'
- name: Right
uid: api-documenter-test!DocEnumNamespaceMerge.Right:member
package: api-documenter-test!
summary: These are some docs for Right
value: '1'
",
"/api-documenter-test/docenumnamespacemerge-namespace.yml": "### YamlMime:UniversalReference
items:
- uid: api-documenter-test!DocEnumNamespaceMerge:namespace
summary: Namespace that merges with enum
name: DocEnumNamespaceMerge
fullName: DocEnumNamespaceMerge
langs:
- typeScript
type: namespace
package: api-documenter-test!
children:
- api-documenter-test!DocEnumNamespaceMerge.exampleFunction:function(1)
- uid: api-documenter-test!DocEnumNamespaceMerge.exampleFunction:function(1)
summary: This is a function inside of a namespace that merges with an enum.
name: exampleFunction()
fullName: DocEnumNamespaceMerge.exampleFunction()
langs:
- typeScript
namespace: api-documenter-test!DocEnumNamespaceMerge:namespace
type: function
syntax:
content: 'function exampleFunction(): void;'
return:
type:
- void
description: ''
",
"/api-documenter-test/ecmasymbols.yml": "### YamlMime:UniversalReference
items:
- uid: api-documenter-test!EcmaSymbols:namespace
summary: A namespace containing an ECMAScript symbol
name: EcmaSymbols
fullName: EcmaSymbols
langs:
- typeScript
type: namespace
package: api-documenter-test!
children:
- api-documenter-test!EcmaSymbols.example:var
- uid: api-documenter-test!EcmaSymbols.example:var
summary: An ECMAScript symbol
name: example
fullName: EcmaSymbols.example
langs:
- typeScript
namespace: api-documenter-test!EcmaSymbols:namespace
type: variable
syntax:
content: 'example: unique symbol'
return:
type:
- unique symbol
",
"/api-documenter-test/exampleduplicatetypealias.yml": "### YamlMime:TSTypeAlias
name: ExampleDuplicateTypeAlias
uid: api-documenter-test!ExampleDuplicateTypeAlias:type
package: api-documenter-test!
fullName: ExampleDuplicateTypeAlias
summary: A type alias that has duplicate references.
remarks: ''
example: []
isPreview: false
isDeprecated: false
syntax: export type ExampleDuplicateTypeAlias = SystemEvent | typeof SystemEvent;
",
"/api-documenter-test/exampletypealias.yml": "### YamlMime:TSTypeAlias
name: ExampleTypeAlias
uid: api-documenter-test!ExampleTypeAlias:type
package: api-documenter-test!
fullName: ExampleTypeAlias
summary: A type alias
remarks: ''
example: []
isPreview: false
isDeprecated: false
syntax: export type ExampleTypeAlias = Promise<boolean>;
",
"/api-documenter-test/exampleuniontypealias.yml": "### YamlMime:TSTypeAlias
name: ExampleUnionTypeAlias
uid: api-documenter-test!ExampleUnionTypeAlias:type
package: api-documenter-test!
fullName: ExampleUnionTypeAlias
summary: A type alias that references multiple other types.
remarks: ''
example: []
isPreview: false
isDeprecated: false
syntax: export type ExampleUnionTypeAlias = IDocInterface1 | IDocInterface3;
",
"/api-documenter-test/generic.yml": "### YamlMime:TSType
name: Generic
uid: api-documenter-test!Generic:class
package: api-documenter-test!
fullName: Generic
summary: Generic class.
remarks: ''
example: []
isPreview: false
isDeprecated: false
type: class
",
"/api-documenter-test/generictypealias.yml": "### YamlMime:TSTypeAlias
name: GenericTypeAlias
uid: api-documenter-test!GenericTypeAlias:type
package: api-documenter-test!
fullName: GenericTypeAlias
summary: ''
remarks: ''
example: []
isPreview: false
isDeprecated: false
syntax: export type GenericTypeAlias<T> = T[];
",
"/api-documenter-test/idocinterface1.yml": "### YamlMime:TSType
name: IDocInterface1
uid: api-documenter-test!IDocInterface1:interface
package: api-documenter-test!
fullName: IDocInterface1
summary: ''
remarks: ''
example: []
isPreview: false
isDeprecated: false
type: interface
properties:
- name: regularProperty
uid: api-documenter-test!IDocInterface1#regularProperty:member
package: api-documenter-test!
fullName: regularProperty
summary: Does something
remarks: ''
example: []
isPreview: false
isDeprecated: false
syntax:
content: 'regularProperty: SystemEvent;'
return:
type: <xref uid=\\"api-documenter-test!SystemEvent:class\\" />
",
"/api-documenter-test/idocinterface2.yml": "### YamlMime:TSType
name: IDocInterface2
uid: api-documenter-test!IDocInterface2:interface
package: api-documenter-test!
fullName: IDocInterface2
summary: ''
remarks: ''
example: []
isPreview: false
isDeprecated: false
type: interface
methods:
- name: deprecatedExample()
uid: api-documenter-test!IDocInterface2#deprecatedExample:member(1)
package: api-documenter-test!
fullName: deprecatedExample()
summary: ''
remarks: ''
example: []
isPreview: false
isDeprecated: true
customDeprecatedMessage: Use \`otherThing()\` instead.
syntax:
content: 'deprecatedExample(): void;'
return:
type: void
description: ''
extends: <xref uid=\\"api-documenter-test!IDocInterface1:interface\\" />
",
"/api-documenter-test/idocinterface3.yml": "### YamlMime:TSType
name: IDocInterface3
uid: api-documenter-test!IDocInterface3:interface
package: api-documenter-test!
fullName: IDocInterface3
summary: Some less common TypeScript declaration kinds.
remarks: ''
example: []
isPreview: false
isDeprecated: false
type: interface
properties:
- name: '\\"[not.a.symbol]\\"'
uid: api-documenter-test!IDocInterface3#\\"[not.a.symbol]\\":member
package: api-documenter-test!
fullName: '\\"[not.a.symbol]\\"'
summary: An identifier that does need quotes. It misleadingly looks like an ECMAScript symbol.
remarks: ''
example: []
isPreview: false
isDeprecated: false
syntax:
content: '\\"[not.a.symbol]\\": string;'
return:
type: string
- name: '[EcmaSymbols.example]'
uid: api-documenter-test!IDocInterface3#[EcmaSymbols.example]:member
package: api-documenter-test!
fullName: '[EcmaSymbols.example]'
summary: ECMAScript symbol
remarks: ''
example: []
isPreview: false
isDeprecated: false
syntax:
content: '[EcmaSymbols.example]: string;'
return:
type: string
- name: redundantQuotes
uid: api-documenter-test!IDocInterface3#redundantQuotes:member
package: api-documenter-test!
fullName: redundantQuotes
summary: A quoted identifier with redundant quotes.
remarks: ''
example: []
isPreview: false
isDeprecated: false
syntax:
content: '\\"redundantQuotes\\": string;'
return:
type: string
",
"/api-documenter-test/idocinterface4.yml": "### YamlMime:TSType
name: IDocInterface4
uid: api-documenter-test!IDocInterface4:interface
package: api-documenter-test!
fullName: IDocInterface4
summary: Type union in an interface.
remarks: ''
example: []
isPreview: false
isDeprecated: false
type: interface
properties:
- name: Context
uid: api-documenter-test!IDocInterface4#Context:member
package: api-documenter-test!
fullName: Context
summary: Test newline rendering when code blocks are used in tables
remarks: ''
example: []
isPreview: false
isDeprecated: false
syntax:
content: |-
Context: ({ children }: {
children: string;
}) => boolean;
return:
type: |-
({ children }: {
children: string;
}) => boolean
- name: generic
uid: api-documenter-test!IDocInterface4#generic:member
package: api-documenter-test!
fullName: generic
summary: make sure html entities are escaped in tables.
remarks: ''
example: []
isPreview: false
isDeprecated: false
syntax:
content: 'generic: Generic<number>;'
return:
type: <xref uid=\\"api-documenter-test!Generic:class\\" /><number>
- name: numberOrFunction
uid: api-documenter-test!IDocInterface4#numberOrFunction:member
package: api-documenter-test!
fullName: numberOrFunction
summary: a union type with a function
remarks: ''
example: []
isPreview: false
isDeprecated: false
syntax:
content: 'numberOrFunction: number | (() => number);'
return:
type: number | (() => number)
- name: stringOrNumber
uid: api-documenter-test!IDocInterface4#stringOrNumber:member
package: api-documenter-test!
fullName: stringOrNumber
summary: a union type
remarks: ''
example: []
isPreview: false
isDeprecated: false
syntax:
content: 'stringOrNumber: string | number;'
return:
type: string | number
",
"/api-documenter-test/idocinterface5.yml": "### YamlMime:TSType
name: IDocInterface5
uid: api-documenter-test!IDocInterface5:interface
package: api-documenter-test!
fullName: IDocInterface5
summary: Interface without inline tag to test custom TOC
remarks: ''
example: []
isPreview: false
isDeprecated: false
type: interface
properties:
- name: regularProperty
uid: api-documenter-test!IDocInterface5#regularProperty:member
package: api-documenter-test!
fullName: regularProperty
summary: Property of type string that does something
remarks: ''
example: []
isPreview: false
isDeprecated: false
syntax:
content: 'regularProperty: string;'
return:
type: string
",
"/api-documenter-test/idocinterface6.yml": "### YamlMime:TSType
name: IDocInterface6
uid: api-documenter-test!IDocInterface6:interface
package: api-documenter-test!
fullName: IDocInterface6
summary: Interface without inline tag to test custom TOC with injection
remarks: ''
example: []
isPreview: false
isDeprecated: false
type: interface
properties:
- name: arrayProperty
uid: api-documenter-test!IDocInterface6#arrayProperty:member
package: api-documenter-test!
fullName: arrayProperty
summary: ''
remarks: ''
example: []
isPreview: false
isDeprecated: false
syntax:
content: 'arrayProperty: IDocInterface1[];'
return:
type: <xref uid=\\"api-documenter-test!IDocInterface1:interface\\" />[]
- name: intersectionProperty
uid: api-documenter-test!IDocInterface6#intersectionProperty:member
package: api-documenter-test!
fullName: intersectionProperty
summary: ''
remarks: ''
example: []
isPreview: false
isDeprecated: false
syntax:
content: 'intersectionProperty: IDocInterface1 & IDocInterface2;'
return:
type: >-
<xref uid=\\"api-documenter-test!IDocInterface1:interface\\" /> & <xref
uid=\\"api-documenter-test!IDocInterface2:interface\\" />
- name: regularProperty
uid: api-documenter-test!IDocInterface6#regularProperty:member
package: api-documenter-test!
fullName: regularProperty
summary: Property of type number that does something
remarks: ''
example: []
isPreview: false
isDeprecated: false
syntax:
content: 'regularProperty: number;'
return:
type: number
- name: tupleProperty
uid: api-documenter-test!IDocInterface6#tupleProperty:member
package: api-documenter-test!
fullName: tupleProperty
summary: ''
remarks: ''
example: []
isPreview: false
isDeprecated: false
syntax:
content: 'tupleProperty: [IDocInterface1, IDocInterface2];'
return:
type: >-
[<xref uid=\\"api-documenter-test!IDocInterface1:interface\\" />, <xref
uid=\\"api-documenter-test!IDocInterface2:interface\\" />]
- name: typeReferenceProperty
uid: api-documenter-test!IDocInterface6#typeReferenceProperty:member
package: api-documenter-test!
fullName: typeReferenceProperty
summary: ''
remarks: ''
example: []
isPreview: false
isDeprecated: false
syntax:
content: 'typeReferenceProperty: Generic<IDocInterface1>;'
return:
type: >-
<xref uid=\\"api-documenter-test!Generic:class\\" /><<xref uid=\\"api-documenter-test!IDocInterface1:interface\\"
/>>
- name: unionProperty
uid: api-documenter-test!IDocInterface6#unionProperty:member
package: api-documenter-test!
fullName: unionProperty
summary: ''
remarks: ''
example: []
isPreview: false
isDeprecated: false
syntax:
content: 'unionProperty: IDocInterface1 | IDocInterface2;'
return:
type: >-
<xref uid=\\"api-documenter-test!IDocInterface1:interface\\" /> | <xref
uid=\\"api-documenter-test!IDocInterface2:interface\\" />
methods:
- name: genericReferenceMethod(x)
uid: api-documenter-test!IDocInterface6#genericReferenceMethod:member(1)
package: api-documenter-test!
fullName: genericReferenceMethod(x)
summary: ''
remarks: ''
example: []