UNPKG

@studiohyperdrive/ngx-auth

Version:

A library of core authentication functionality used with @studiohyperdrive/types-auth.

5 lines (4 loc) 274 B
/** * Converts an single item to an array or returns the array as is. This is to help the guards, directives and pipes in this feature due to the typing in the abstract service */ export declare const convertToArray: <DataType>(item: DataType | DataType[]) => DataType[];