Skip to content

Commit 72a0824

Browse files
merlinnotthechenky
authored andcommitted
Specify a type of DeploymentOptions.regions more precisely (firebase#507)
1 parent c78a7e4 commit 72a0824

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/function-configuration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,6 @@ export interface RuntimeOptions {
6464
}
6565

6666
export interface DeploymentOptions extends RuntimeOptions {
67-
regions?: string[];
67+
regions?: Array<typeof SUPPORTED_REGIONS[number]>;
6868
schedule?: Schedule;
6969
}

0 commit comments

Comments
 (0)