UNPKG

solidity-docgen

Version:

Documentation generator for Solidity smart contracts.

4 lines 170 B
type IfArray<T> = T extends any[] ? T : never; export declare function ensureArray<T>(x: T | T[]): T[] | IfArray<T>; export {}; //# sourceMappingURL=ensure-array.d.ts.map