Skip to content

Commit 422b7f2

Browse files
committed
fix: export param types from firebase-functions/params
Export SecretParam, JsonSecretParam, StringParam, BooleanParam, IntParam, ListParam, and Param types to allow users to import them for type annotations. Fixes #1777
1 parent 3577d9b commit 422b7f2

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/params/index.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,15 @@ import {
4141

4242
export { BUCKET_PICKER, select, multiSelect } from "./types";
4343
export type { TextInput, SelectInput, SelectOptions, MultiSelectInput } from "./types";
44+
export type {
45+
Param,
46+
SecretParam,
47+
JsonSecretParam,
48+
StringParam,
49+
BooleanParam,
50+
IntParam,
51+
ListParam,
52+
} from "./types";
4453

4554
export { Expression };
4655
export type { ParamOptions };

0 commit comments

Comments
 (0)