Skip to content

Commit 5ced4a4

Browse files
authored
Add missing type annotations (#974)
* adding config options for cors * update changelog * fix changelog * newline
1 parent d46ec61 commit 5ced4a4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Add missing type annotations

src/v2/providers/https.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export interface HttpsOptions extends Omit<options.GlobalOptions, 'region'> {
4040
| options.SupportedRegion
4141
| string
4242
| Array<options.SupportedRegion | string>;
43-
cors?: string | boolean;
43+
cors?: string | boolean | RegExp | (string | RegExp)[];
4444
}
4545

4646
export type HttpsFunction = ((

0 commit comments

Comments
 (0)