angular-archwizard
Version:
An Angular 9+ module containing a wizard component and its supporting components and directives
22 lines (21 loc) • 668 B
TypeScript
/**
* An offset between two steps.
* This offset can be either positive or negative.
* A positive offset means, that the offset step is after the other step, while a negative offset means,
* that the offset step is ahead of the other step.
*
* @author Marc Arndt
*/
export interface StepOffset {
/**
* The offset to the destination step
*/
stepOffset: number;
}
/**
* Checks whether the given `value` implements the interface [[StepOffset]].
*
* @param value The value to be checked
* @returns True if the given value implements [[StepOffset]] and false otherwise
*/
export declare function isStepOffset(value: any): value is StepOffset;