File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 " exportStar2" ,
1717 " exportStar3" ,
1818 " importEquals" ,
19+ " inconsistentReleaseTags" ,
1920 " typeOf"
2021 ]
2122}
Original file line number Diff line number Diff line change 1+ {
2+ "metadata" : {
3+ "toolPackage" : " @microsoft/api-extractor" ,
4+ "toolVersion" : " [test mode]" ,
5+ "schemaVersion" : 1000
6+ },
7+ "kind" : " Package" ,
8+ "canonicalReference" : " api-extractor-scenarios" ,
9+ "docComment" : " " ,
10+ "name" : " api-extractor-scenarios" ,
11+ "members" : [
12+ {
13+ "kind" : " EntryPoint" ,
14+ "canonicalReference" : " " ,
15+ "name" : " " ,
16+ "members" : [
17+ {
18+ "kind" : " Interface" ,
19+ "canonicalReference" : " (IBeta:interface)" ,
20+ "docComment" : " /**\n * @beta\n */\n " ,
21+ "excerptTokens" : [
22+ {
23+ "kind" : " Content" ,
24+ "text" : " export interface "
25+ },
26+ {
27+ "kind" : " Reference" ,
28+ "text" : " IBeta"
29+ },
30+ {
31+ "kind" : " Content" ,
32+ "text" : " "
33+ }
34+ ],
35+ "releaseTag" : " Beta" ,
36+ "name" : " IBeta" ,
37+ "members" : [
38+ {
39+ "kind" : " PropertySignature" ,
40+ "canonicalReference" : " x" ,
41+ "docComment" : " " ,
42+ "excerptTokens" : [
43+ {
44+ "kind" : " Reference" ,
45+ "text" : " x"
46+ },
47+ {
48+ "kind" : " Content" ,
49+ "text" : " : "
50+ },
51+ {
52+ "kind" : " Content" ,
53+ "text" : " number"
54+ },
55+ {
56+ "kind" : " Content" ,
57+ "text" : " ;"
58+ }
59+ ],
60+ "releaseTag" : " Beta" ,
61+ "name" : " x" ,
62+ "propertyTypeTokenRange" : {
63+ "startIndex" : 2 ,
64+ "endIndex" : 3
65+ }
66+ }
67+ ],
68+ "extendsTokenRanges" : []
69+ },
70+ {
71+ "kind" : " Function" ,
72+ "canonicalReference" : " (publicClassReturnsBeta:0)" ,
73+ "docComment" : " /**\n * @public\n */\n " ,
74+ "excerptTokens" : [
75+ {
76+ "kind" : " Content" ,
77+ "text" : " export declare function "
78+ },
79+ {
80+ "kind" : " Reference" ,
81+ "text" : " publicClassReturnsBeta"
82+ },
83+ {
84+ "kind" : " Content" ,
85+ "text" : " (): "
86+ },
87+ {
88+ "kind" : " Reference" ,
89+ "text" : " IBeta"
90+ },
91+ {
92+ "kind" : " Content" ,
93+ "text" : " ;"
94+ }
95+ ],
96+ "returnTypeTokenRange" : {
97+ "startIndex" : 3 ,
98+ "endIndex" : 4
99+ },
100+ "releaseTag" : " Public" ,
101+ "overloadIndex" : 0 ,
102+ "parameters" : [],
103+ "name" : " publicClassReturnsBeta"
104+ }
105+ ]
106+ }
107+ ]
108+ }
Original file line number Diff line number Diff line change 1+ ## API Review File for "api-extractor-scenarios"
2+
3+ > Do not edit this file. It is a report generated by [ API Extractor] ( https://api-extractor.com/ ) .
4+
5+ ``` ts
6+
7+ // @beta (undocumented)
8+ interface IBeta {
9+ // (undocumented)
10+ x: number ;
11+ }
12+
13+ // @public (undocumented)
14+ declare function publicClassReturnsBeta(): IBeta ;
15+
16+
17+ // (No @packageDocumentation comment for this package)
18+
19+ ```
Original file line number Diff line number Diff line change 1+
2+ /** @beta */
3+ export declare interface IBeta {
4+ x : number ;
5+ }
6+
7+ /** @public */
8+ export declare function publicClassReturnsBeta ( ) : IBeta ;
9+
10+ export { }
Original file line number Diff line number Diff line change 1+ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
2+ // See LICENSE in the project root for license information.
3+
4+ /** @beta */
5+ export interface IBeta {
6+ x : number ;
7+ }
8+
9+ /** @public */
10+ export function publicClassReturnsBeta ( ) : IBeta {
11+ return { x : 123 } ;
12+ }
You can’t perform that action at this time.
0 commit comments