Skip to content

Commit 6067ca9

Browse files
committed
Formatting.
1 parent b1f4d42 commit 6067ca9

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

src/v2/providers/https.ts

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ export interface HttpsOptions extends Omit<GlobalOptions, "region" | "enforceApp
6161

6262
/** HTTP functions can override global options and can specify multiple regions to deploy to. */
6363
region?:
64-
| SupportedRegion
65-
| string
66-
| Array<SupportedRegion | string>
67-
| Expression<string>
68-
| ResetValue;
64+
| SupportedRegion
65+
| string
66+
| Array<SupportedRegion | string>
67+
| Expression<string>
68+
| ResetValue;
6969

7070
/** If true, allows CORS on requests to this function.
7171
* If this is a `string` or `RegExp`, allows requests from domains that match the provided value.
@@ -227,8 +227,8 @@ export interface CallableOptions<T = any> extends HttpsOptions {
227227
*/
228228
export const isSignedIn =
229229
() =>
230-
(auth: AuthData | null): boolean =>
231-
!!auth;
230+
(auth: AuthData | null): boolean =>
231+
!!auth;
232232

233233
/**
234234
* @deprecated
@@ -237,15 +237,15 @@ export const isSignedIn =
237237
*/
238238
export const hasClaim =
239239
(claim: string, value?: string) =>
240-
(auth: AuthData | null): boolean => {
241-
if (!auth) {
242-
return false;
243-
}
244-
if (!(claim in auth.token)) {
245-
return false;
246-
}
247-
return !value || auth.token[claim] === value;
248-
};
240+
(auth: AuthData | null): boolean => {
241+
if (!auth) {
242+
return false;
243+
}
244+
if (!(claim in auth.token)) {
245+
return false;
246+
}
247+
return !value || auth.token[claim] === value;
248+
};
249249

250250
/**
251251
* Handles HTTPS requests.

0 commit comments

Comments
 (0)