Skip to content

Commit 0235c5d

Browse files
rush build
1 parent 251e31f commit 0235c5d

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

build-tests/api-documenter-test/etc/api-documenter-test.api.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export enum DocEnumNamespaceMerge {
8383

8484
// @public
8585
export namespace DocEnumNamespaceMerge {
86-
export function exampleFunction(): void;
86+
function exampleFunction(): void;
8787
}
8888

8989
// @public
@@ -178,8 +178,8 @@ export interface IDocInterface7 {
178178

179179
// @public
180180
export namespace OuterNamespace {
181-
export namespace InnerNamespace {
182-
export function nestedFunction(x: number): number;
181+
namespace InnerNamespace {
182+
function nestedFunction(x: number): number;
183183
}
184184
let nestedVariable: boolean;
185185
}

build-tests/api-extractor-scenarios/etc/namespaceDeclaration/api-extractor-scenarios.api.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@
175175
{
176176
"kind": "Namespace",
177177
"canonicalReference": "api-extractor-scenarios!AllExportedNS:namespace",
178-
"docComment": "",
178+
"docComment": "/**\n * @public\n */\n",
179179
"excerptTokens": [
180180
{
181181
"kind": "Content",
@@ -225,7 +225,7 @@
225225
{
226226
"kind": "Class",
227227
"canonicalReference": "api-extractor-scenarios!FinalRenamedClass:class",
228-
"docComment": "",
228+
"docComment": "/**\n * @public\n */\n",
229229
"excerptTokens": [
230230
{
231231
"kind": "Content",
@@ -243,7 +243,7 @@
243243
{
244244
"kind": "Namespace",
245245
"canonicalReference": "api-extractor-scenarios!PartalExportedNS:namespace",
246-
"docComment": "",
246+
"docComment": "/**\n * @public\n */\n",
247247
"excerptTokens": [
248248
{
249249
"kind": "Content",
@@ -373,7 +373,7 @@
373373
{
374374
"kind": "Namespace",
375375
"canonicalReference": "api-extractor-scenarios!ReexportNS:namespace",
376-
"docComment": "",
376+
"docComment": "/**\n * @public\n */\n",
377377
"excerptTokens": [
378378
{
379379
"kind": "Content",

build-tests/api-extractor-scenarios/etc/namespaceDeclaration/rollup.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
1+
/** @public */
12
export declare namespace AllExportedNS {
23
class ExportedClass {
34
}
45
interface ExportedInterface {
56
}
67
}
78

9+
/** @public */
810
export declare class FinalRenamedClass {
911
}
1012

13+
/** @public */
1114
export declare namespace PartalExportedNS {
1215
export const var1 = 1, var2 = 2;
1316
interface UnexportedClass {
@@ -18,6 +21,7 @@ export declare namespace PartalExportedNS {
1821
export {};
1922
}
2023

24+
/** @public */
2125
export declare namespace ReexportNS {
2226
export { FinalRenamedClass as RenamedClass };
2327
export { FinalRenamedClass as RenamedClass3 };

0 commit comments

Comments
 (0)