Skip to content

Commit 6c61677

Browse files
authored
Export params package in v1/v2 namespace to improve reference docs. (#1380)
* Export params package in v1/v2 namespace to improve reference docs. * Fix typo.
1 parent c07b7fa commit 6c61677

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/v1/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,6 @@ export * from "./cloud-functions";
5656
export * from "./config";
5757
export * from "./function-builder";
5858
export * from "./function-configuration";
59+
// NOTE: Equivalent to `export * as params from "../params"` but api-extractor doesn't support that syntax.
60+
import * as params from "../params";
61+
export { params };

src/v2/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,6 @@ export {
7070

7171
export { CloudFunction, CloudEvent, ParamsOf } from "./core";
7272
export { Change } from "../common/change";
73+
// NOTE: Equivalent to `export * as params from "../params"` but api-extractor doesn't support that syntax.
74+
import * as params from "../params";
75+
export { params };

0 commit comments

Comments
 (0)