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
  • Loading branch information
taeold committed Apr 18, 2023
1 parent 3144d99 commit fcbfc7d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/v1/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,7 @@ 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 };
4 changes: 4 additions & 0 deletions src/v2/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,7 @@ 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 fcbfc7d

Please sign in to comment.