Skip to content

Commit

Permalink
Export params package in v1/v2 namespace to improve reference docs. (#…
Browse files Browse the repository at this point in the history
…1380)

* Export params package in v1/v2 namespace to improve reference docs.

* Fix typo.
  • Loading branch information
taeold authored Apr 19, 2023
1 parent c07b7fa commit 6c61677
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/v1/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,6 @@ export * from "./cloud-functions";
export * from "./config";
export * from "./function-builder";
export * from "./function-configuration";
// NOTE: Equivalent to `export * as params from "../params"` but api-extractor doesn't support that syntax.
import * as params from "../params";
export { params };
3 changes: 3 additions & 0 deletions src/v2/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,6 @@ export {

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

0 comments on commit 6c61677

Please sign in to comment.