UNPKG

node-pg-migrate

Version:

PostgreSQL database migration management tool for node.js

7 lines (6 loc) 242 B
/** * If the given value is an array, a copy of it is returned. Otherwise, the value is wrapped in an array. * * @param item The item to eventually wrap in an array. */ export declare function toArray<T>(item: T | ReadonlyArray<T>): T[];