import _ = require("../index"); declare module "../index" { interface LoDashStatic { /** * Computes the maximum value of `array`. If `array` is empty or falsey * `undefined` is returned. * * @category Math * @param array The array to iterate over. * @returns Returns the maximum value. */ max( collection: List | null | undefined ): T | undefined; } interface LoDashImplicitWrapper { /** * @see _.max */ max(this: LoDashImplicitWrapper | null | undefined>): T | undefined; } interface LoDashExplicitWrapper { /** * @see _.max */ max(this: LoDashExplicitWrapper | null | undefined>): LoDashExplicitWrapper; } }