File tree Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Original file line number Diff line number Diff 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 */
228228export 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 */
238238export 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.
You can’t perform that action at this time.
0 commit comments