I hereby claim:
- I am elcrostatina on github.
- I am elcrostatina (https://keybase.io/elcrostatina) on keybase.
- I have a public key ASCBbkilg34mEc3LCxrt8vFNlTFI9Az8qSKl0Lvg0dFX6Ao
To claim this, I am signing this object:
export interface ClientInfoHeaders { | |
userAgent: string; | |
ipAddress: string; | |
} | |
/** | |
* Decorator for getting client info from request. | |
* | |
* @example | |
* @decorator @Get() | |
* public async myMethod(@ClientInfo() clientInfo: { userAgent: string; ipAddress: string }) |
import firebase from 'firebase/compat'; | |
import { SignInResult } from '@capacitor-firebase/authentication'; | |
import { FirebaseAuthenticationPlugin } from '@capacitor-firebase/authentication/dist/esm/definitions'; | |
export type FirebaseEmailPasswordProvider = | |
FirebaseAuthenticationPlugin['signInWithEmailAndPassword']; | |
export type LoginProviderResponse = | |
| Promise<SignInResult> | |
| FirebaseEmailPasswordProvider |
// type NonFunctionPropertyNames<T> = { | |
// [K in keyof T]: T[K] extends () => void ? never : K; | |
// }[keyof T]; | |
type NonFunctionPropertyNames<O> = { | |
[K in keyof O]: O[K] extends Function ? never : K; | |
}[keyof O]; | |
export type NonFunctionProperties<T> = Pick<T, NonFunctionPropertyNames<T>>; |
I hereby claim:
To claim this, I am signing this object: