UNPKG

@leancodepl/kratos

Version:

Headless React components library for building Ory Kratos authentication flows

10 lines 415 B
type TypeofToType = { undefined: undefined; string: string; number: number; boolean: boolean; object: object; }; export declare const hasProperetyOfType: <Prop extends string, PropType extends keyof TypeofToType>(obj: object | undefined, propertyName: Prop, propertyType: PropType) => obj is object & { [Key in Prop]: TypeofToType[PropType]; }; export {}; //# sourceMappingURL=assertion.d.ts.map