diff --git a/keyserver/flow-typed/npm/@commapp/olm_vx.x.x.js b/keyserver/flow-typed/npm/@commapp/olm_vx.x.x.js deleted file mode 100644 --- a/keyserver/flow-typed/npm/@commapp/olm_vx.x.x.js +++ /dev/null @@ -1,197 +0,0 @@ -// flow-typed signature: 085f002da86534cfd8cee47ffa99dd67 -// flow-typed version: <>/@commapp/olm_v3.2.4/flow_v0.182.0 - -declare module '@commapp/olm' { - -/* -Copyright 2020 The Matrix.org Foundation C.I.C. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - - declare export class Account { - constructor(): void; - free(): void; - create(): void; - identity_keys(): string; - sign(message: string | Uint8Array): string; - one_time_keys(): string; - mark_keys_as_published(): void; - max_number_of_one_time_keys(): number; - generate_one_time_keys(number_of_keys: number): void; - remove_one_time_keys(session: Session): void; - generate_prekey(): void; - prekey(): string; - unpublished_prekey(): ?string; - prekey_signature(): ?string; - forget_old_prekey(): void; - mark_prekey_as_published(): void; - last_prekey_publish_time(): number; - generate_fallback_key(): void; - fallback_key(): string; - unpublished_fallback_key(): string; - forget_old_fallback_key(): void; - pickle(key: string | Uint8Array): string; - unpickle(key: string | Uint8Array, pickle: string): void; - } - - declare export type EncryptResult = { - +type: 0 | 1, // 0: PreKey, 1: Message - +body: string, - }; - declare export class Session { - constructor(): void; - free(): void; - pickle(key: string | Uint8Array): string; - unpickle(key: string | Uint8Array, pickle: string): void; - create_outbound( - account: Account, - their_identity_key: string, - their_signing_key: string, - their_prekey: string, - their_prekey_signature: string, - their_one_time_key: string, - ): void; - create_outbound_without_otk( - account: Account, - their_identity_key: string, - their_signing_key: string, - their_prekey: string, - their_prekey_signature: string - ): void; - create_inbound(account: Account, one_time_key_message: string): void; - create_inbound_from( - account: Account, - identity_key: string, - one_time_key_message: string, - ): void; - session_id(): string; - has_received_message(): boolean; - is_sender_chain_empty(): boolean; - matches_inbound(one_time_key_message: string): boolean; - matches_inbound_from( - identity_key: string, - one_time_key_message: string, - ): boolean; - encrypt(plaintext: string): EncryptResult; - decrypt(message_type: number, message: string): string; - decrypt_sequential(message_type: number, message: string): string; - describe(): string; - } - - declare export class Utility { - constructor(): void; - free(): void; - sha256(input: string | Uint8Array): string; - ed25519_verify( - key: string, - message: string | Uint8Array, - signature: string, - ): void; - } - - declare export type DecryptResult = { - +message_index: string, - +plaintext: string, - }; - - declare export class InboundGroupSession { - constructor(): void; - free(): void; - pickle(key: string | Uint8Array): string; - unpickle(key: string | Uint8Array, pickle: string): void; - create(session_key: string): string; - import_session(session_key: string): string; - decrypt(message: string): DecryptResult; - session_id(): string; - first_known_index(): number; - export_session(message_index: number): string; - } - - declare export class OutboundGroupSession { - constructor(): void; - free(): void; - pickle(key: string | Uint8Array): string; - unpickle(key: string | Uint8Array, pickle: string): void; - create(): void; - encrypt(plaintext: string): string; - session_id(): string; - session_key(): string; - message_index(): number; - } - - declare export type PkEncryptionEncryptResult = { - +ciphertext: string, - +mac: string, - +ephemeral: string, - }; - - declare export class PkEncryption { - constructor(): void; - free(): void; - set_recipient_key(key: string): void; - encrypt(plaintext: string): PkEncryptionEncryptResult; - } - - declare export class PkDecryption { - constructor(): void; - free(): void; - init_with_private_key(key: Uint8Array): string; - generate_key(): string; - get_private_key(): Uint8Array; - pickle(key: string | Uint8Array): string; - unpickle(key: string | Uint8Array, pickle: string): string; - decrypt(ephemeral_key: string, mac: string, ciphertext: string): string; - } - - declare export class PkSigning { - constructor(): void; - free(): void; - init_with_seed(seed: Uint8Array): string; - generate_seed(): Uint8Array; - sign(message: string): string; - } - - declare export class SAS { - constructor(): void; - free(): void; - get_pubkey(): string; - set_their_key(their_key: string): void; - generate_bytes(info: string, length: number): Uint8Array; - calculate_mac(input: string, info: string): string; - calculate_mac_fixed_base64(input: string, info: string): string; - calculate_mac_long_kdf(input: string, info: string): string; - } - - declare export function init(opts?: Object): Promise; - - declare export function get_library_version(): [number, number, number]; - - declare export function get_total_memory(): number; - - declare export function get_used_memory(): number; - - declare export var PRIVATE_KEY_LENGTH: number; - - declare export default { - init: typeof init, - get_library_version: typeof get_library_version, - get_total_memory: typeof get_total_memory, - get_used_memory: typeof get_used_memory, - PRIVATE_KEY_LENGTH: typeof PRIVATE_KEY_LENGTH, - Account: typeof Account, - Utility: typeof Utility, - Session: typeof Session, - }; - -} diff --git a/keyserver/flow-typed/npm/flow-bin_v0.x.x.js b/keyserver/flow-typed/npm/flow-bin_v0.x.x.js deleted file mode 100644 --- a/keyserver/flow-typed/npm/flow-bin_v0.x.x.js +++ /dev/null @@ -1,6 +0,0 @@ -// flow-typed signature: 4e6a5da3290fe9ea49e6bcdced64f358 -// flow-typed version: c6154227d1/flow-bin_v0.x.x/flow_>=v0.25.x <=v0.103.x - -declare module "flow-bin" { - declare module.exports: string; -} diff --git a/keyserver/flow-typed/npm/history_v4.x.x.js b/keyserver/flow-typed/npm/history_v4.x.x.js deleted file mode 100644 --- a/keyserver/flow-typed/npm/history_v4.x.x.js +++ /dev/null @@ -1,109 +0,0 @@ -// flow-typed signature: 58cc95d240510cd0f952113ab5fd1910 -// flow-typed version: 72313e0b69/history_v4.x.x/flow_>=v0.104.x - -declare module 'history' { - declare type Unregister = () => void; - - declare export type Action = 'PUSH' | 'REPLACE' | 'POP'; - - declare export type Location = {| - pathname: string, - search: string, - hash: string, - state: { ... }, - key: string, - |}; - - declare type History = {| - length: number, - location: HistoryLocation, - action: Action, - push: ((path: string, state?: { ... }) => void) & - ((location: Partial) => void), - replace: ((path: string, state?: { ... }) => void) & - ((location: Partial) => void), - go(n: number): void, - goBack(): void, - goForward(): void, - listen((location: HistoryLocation, action: Action) => void): Unregister, - block( - prompt: - | string - | boolean - | ((location: HistoryLocation, action: Action) => string | false | void) - ): Unregister, - createHref(location: Partial): string, - |}; - - declare export type BrowserHistory = History<>; - - declare type BrowserHistoryOpts = {| - basename?: string, - forceRefresh?: boolean, - getUserConfirmation?: ( - message: string, - callback: (willContinue: boolean) => void - ) => void, - keyLength?: number, - |}; - - declare function createBrowserHistory( - opts?: BrowserHistoryOpts - ): BrowserHistory; - - declare export type MemoryHistory = {| - ...History<>, - index: number, - entries: Array, - canGo(n: number): boolean, - |}; - - declare type MemoryHistoryOpts = {| - initialEntries?: Array, - initialIndex?: number, - keyLength?: number, - getUserConfirmation?: ( - message: string, - callback: (willContinue: boolean) => void - ) => void, - |}; - - declare function createMemoryHistory(opts?: MemoryHistoryOpts): MemoryHistory; - - declare export type HashLocation = {| - ...Location, - state: void, - key: void, - |}; - - declare export type HashHistory = History; - - declare type HashHistoryOpts = {| - basename?: string, - hashType: 'slash' | 'noslash' | 'hashbang', - getUserConfirmation?: ( - message: string, - callback: (willContinue: boolean) => void - ) => void, - |}; - - declare function createHashHistory(opts?: HashHistoryOpts): HashHistory; - - // PathUtils - declare function parsePath(path: string): Location; - - declare function createPath(location: Partial): string; - - // LocationUtils - declare function locationsAreEqual( - a: Partial, - b: Partial - ): boolean; - - declare function createLocation( - path: string | Partial, - state?: { ... }, - key?: string, - currentLocation?: Location - ): Location; -} diff --git a/keyserver/flow-typed/npm/invariant_v2.x.x.js b/keyserver/flow-typed/npm/invariant_v2.x.x.js deleted file mode 100644 --- a/keyserver/flow-typed/npm/invariant_v2.x.x.js +++ /dev/null @@ -1,6 +0,0 @@ -// flow-typed signature: b8efdbfe8d3c7df1e968c260529ae86e -// flow-typed version: c6154227d1/invariant_v2.x.x/flow_>=v0.33.x <=v0.103.x - -declare module invariant { - declare module.exports: (condition: boolean, message: string) => void; -} diff --git a/keyserver/flow-typed/npm/jest_v29.x.x.js b/keyserver/flow-typed/npm/jest_v29.x.x.js deleted file mode 100644 --- a/keyserver/flow-typed/npm/jest_v29.x.x.js +++ /dev/null @@ -1,1267 +0,0 @@ -// flow-typed signature: f3f75dec8a0c58e78c2a57e2f81e6f7f -// flow-typed version: 00ecb7849a/jest_v29.x.x/flow_>=v0.201.x - -type JestMockFn, TReturn> = { - (...args: TArguments): TReturn, - /** - * An object for introspecting mock calls - */ - mock: { - /** - * An array that represents all calls that have been made into this mock - * function. Each call is represented by an array of arguments that were - * passed during the call. - */ - calls: Array, - /** - * An array containing the call arguments of the last call that was made - * to this mock function. If the function was not called, it will return - * undefined. - */ - lastCall: TArguments, - /** - * An array that contains all the object instances that have been - * instantiated from this mock function. - */ - instances: Array, - /** - * An array that contains all the object results that have been - * returned by this mock function call - */ - results: Array<{ - isThrow: boolean, - value: TReturn, - ... - }>, - ... - }, - /** - * Resets all information stored in the mockFn.mock.calls and - * mockFn.mock.instances arrays. Often this is useful when you want to clean - * up a mock's usage data between two assertions. - */ - mockClear(): void, - /** - * Resets all information stored in the mock. This is useful when you want to - * completely restore a mock back to its initial state. - */ - mockReset(): void, - /** - * Removes the mock and restores the initial implementation. This is useful - * when you want to mock functions in certain test cases and restore the - * original implementation in others. Beware that mockFn.mockRestore only - * works when mock was created with jest.spyOn. Thus you have to take care of - * restoration yourself when manually assigning jest.fn(). - */ - mockRestore(): void, - /** - * Accepts a function that should be used as the implementation of the mock. - * The mock itself will still record all calls that go into and instances - * that come from itself -- the only difference is that the implementation - * will also be executed when the mock is called. - */ - mockImplementation( - fn: (...args: TArguments) => TReturn - ): JestMockFn, - /** - * Accepts a function that will be used as an implementation of the mock for - * one call to the mocked function. Can be chained so that multiple function - * calls produce different results. - */ - mockImplementationOnce( - fn: (...args: TArguments) => TReturn - ): JestMockFn, - /** - * Accepts a string to use in test result output in place of "jest.fn()" to - * indicate which mock function is being referenced. - */ - mockName(name: string): JestMockFn, - /** - * Just a simple sugar function for returning `this` - */ - mockReturnThis(): void, - /** - * Accepts a value that will be returned whenever the mock function is called. - */ - mockReturnValue(value: TReturn): JestMockFn, - /** - * Sugar for only returning a value once inside your mock - */ - mockReturnValueOnce(value: TReturn): JestMockFn, - /** - * Sugar for jest.fn().mockImplementation(() => Promise.resolve(value)) - */ - mockResolvedValue(value: TReturn): JestMockFn>, - /** - * Sugar for jest.fn().mockImplementationOnce(() => Promise.resolve(value)) - */ - mockResolvedValueOnce( - value: TReturn - ): JestMockFn>, - /** - * Sugar for jest.fn().mockImplementation(() => Promise.reject(value)) - */ - mockRejectedValue(value: TReturn): JestMockFn>, - /** - * Sugar for jest.fn().mockImplementationOnce(() => Promise.reject(value)) - */ - mockRejectedValueOnce(value: TReturn): JestMockFn>, - ... -}; - -type JestAsymmetricEqualityType = { - /** - * A custom Jasmine equality tester - */ - asymmetricMatch(value: mixed): boolean, - ... -}; - -type JestCallsType = { - allArgs(): mixed, - all(): mixed, - any(): boolean, - count(): number, - first(): mixed, - mostRecent(): mixed, - reset(): void, - ... -}; - -type JestClockType = { - install(): void, - mockDate(date: Date): void, - tick(milliseconds?: number): void, - uninstall(): void, - ... -}; - -type JestMatcherResult = { - message?: string | (() => string), - pass: boolean, - ... -}; - -type JestMatcher = ( - received: any, - ...actual: Array -) => JestMatcherResult | Promise; - -type JestPromiseType = { - /** - * Use rejects to unwrap the reason of a rejected promise so any other - * matcher can be chained. If the promise is fulfilled the assertion fails. - */ - rejects: JestExpectType, - /** - * Use resolves to unwrap the value of a fulfilled promise so any other - * matcher can be chained. If the promise is rejected the assertion fails. - */ - resolves: JestExpectType, - ... -}; - -/** - * Jest allows functions and classes to be used as test names in test() and - * describe() - */ -type JestTestName = string | Function; - -type FakeableAPI = - | 'Date' - | 'hrtime' - | 'nextTick' - | 'performance' - | 'queueMicrotask' - | 'requestAnimationFrame' - | 'cancelAnimationFrame' - | 'requestIdleCallback' - | 'cancelIdleCallback' - | 'setImmediate' - | 'clearImmediate' - | 'setInterval' - | 'clearInterval' - | 'setTimeout' - | 'clearTimeout'; - -type FakeTimersConfig = { - advanceTimers?: boolean | number, - doNotFake?: Array, - now?: number | Date, - timerLimit?: number, - legacyFakeTimers?: boolean, - ... -}; - -/** - * Plugin: jest-styled-components - */ - -type JestStyledComponentsMatcherValue = - | string - | JestAsymmetricEqualityType - | RegExp - | typeof undefined; - -type JestStyledComponentsMatcherOptions = { - media?: string, - modifier?: string, - supports?: string, - ... -}; - -type JestStyledComponentsMatchersType = { - toHaveStyleRule( - property: string, - value: JestStyledComponentsMatcherValue, - options?: JestStyledComponentsMatcherOptions - ): void, - ... -}; - -/** - * Plugin: jest-enzyme - */ -type EnzymeMatchersType = { - // 5.x - toBeEmpty(): void, - toBePresent(): void, - // 6.x - toBeChecked(): void, - toBeDisabled(): void, - toBeEmptyRender(): void, - toContainMatchingElement(selector: string): void, - toContainMatchingElements(n: number, selector: string): void, - toContainExactlyOneMatchingElement(selector: string): void, - toContainReact(element: React$Element): void, - toExist(): void, - toHaveClassName(className: string): void, - toHaveHTML(html: string): void, - toHaveProp: ((propKey: string, propValue?: any) => void) & - ((props: { ... }) => void), - toHaveRef(refName: string): void, - toHaveState: ((stateKey: string, stateValue?: any) => void) & - ((state: { ... }) => void), - toHaveStyle: ((styleKey: string, styleValue?: any) => void) & - ((style: { ... }) => void), - toHaveTagName(tagName: string): void, - toHaveText(text: string): void, - toHaveValue(value: any): void, - toIncludeText(text: string): void, - toMatchElement( - element: React$Element, - options?: {| ignoreProps?: boolean, verbose?: boolean |} - ): void, - toMatchSelector(selector: string): void, - // 7.x - toHaveDisplayName(name: string): void, - ... -}; - -// DOM testing library extensions (jest-dom) -// https://github.com/testing-library/jest-dom -type DomTestingLibraryType = { - /** - * @deprecated - */ - toBeInTheDOM(container?: HTMLElement): void, - - // 4.x - toBeInTheDocument(): void, - toBeVisible(): void, - toBeEmpty(): void, - toBeDisabled(): void, - toBeEnabled(): void, - toBeInvalid(): void, - toBeRequired(): void, - toBeValid(): void, - toContainElement(element: HTMLElement | null): void, - toContainHTML(htmlText: string): void, - toHaveAttribute(attr: string, value?: any): void, - toHaveClass(...classNames: string[]): void, - toHaveFocus(): void, - toHaveFormValues(expectedValues: { [name: string]: any, ... }): void, - toHaveStyle(css: string | { [name: string]: any, ... }): void, - toHaveTextContent( - text: string | RegExp, - options?: {| normalizeWhitespace: boolean |} - ): void, - toHaveValue(value?: string | string[] | number): void, - - // 5.x - toHaveDisplayValue(value: string | string[]): void, - toBeChecked(): void, - toBeEmptyDOMElement(): void, - toBePartiallyChecked(): void, - toHaveDescription(text: string | RegExp): void, - ... -}; - -// Jest JQuery Matchers: https://github.com/unindented/custom-jquery-matchers -type JestJQueryMatchersType = { - toExist(): void, - toHaveLength(len: number): void, - toHaveId(id: string): void, - toHaveClass(className: string): void, - toHaveTag(tag: string): void, - toHaveAttr(key: string, val?: any): void, - toHaveProp(key: string, val?: any): void, - toHaveText(text: string | RegExp): void, - toHaveData(key: string, val?: any): void, - toHaveValue(val: any): void, - toHaveCss(css: { [key: string]: any, ... }): void, - toBeChecked(): void, - toBeDisabled(): void, - toBeEmpty(): void, - toBeHidden(): void, - toBeSelected(): void, - toBeVisible(): void, - toBeFocused(): void, - toBeInDom(): void, - toBeMatchedBy(sel: string): void, - toHaveDescendant(sel: string): void, - toHaveDescendantWithText(sel: string, text: string | RegExp): void, - ... -}; - -// Jest Extended Matchers: https://github.com/jest-community/jest-extended -type JestExtendedMatchersType = { - /** - * Note: Currently unimplemented - * Passing assertion - * - * @param {String} message - */ - // pass(message: string): void; - - /** - * Note: Currently unimplemented - * Failing assertion - * - * @param {String} message - */ - // fail(message: string): void; - - /** - * Use .toBeEmpty when checking if a String '', Array [] or Object {} is empty. - */ - toBeEmpty(): void, - /** - * Use .toBeOneOf when checking if a value is a member of a given Array. - * @param {Array.<*>} members - */ - toBeOneOf(members: any[]): void, - /** - * Use `.toBeNil` when checking a value is `null` or `undefined`. - */ - toBeNil(): void, - /** - * Use `.toSatisfy` when you want to use a custom matcher by supplying a predicate function that returns a `Boolean`. - * @param {Function} predicate - */ - toSatisfy(predicate: (n: any) => boolean): void, - /** - * Use `.toBeArray` when checking if a value is an `Array`. - */ - toBeArray(): void, - /** - * Use `.toBeArrayOfSize` when checking if a value is an `Array` of size x. - * @param {Number} x - */ - toBeArrayOfSize(x: number): void, - /** - * Use `.toIncludeAllMembers` when checking if an `Array` contains all of the same members of a given set. - * @param {Array.<*>} members - */ - toIncludeAllMembers(members: any[]): void, - /** - * Use `.toIncludeAnyMembers` when checking if an `Array` contains any of the members of a given set. - * @param {Array.<*>} members - */ - toIncludeAnyMembers(members: any[]): void, - /** - * Use `.toSatisfyAll` when you want to use a custom matcher by supplying a predicate function that returns a `Boolean` for all values in an array. - * @param {Function} predicate - */ - toSatisfyAll(predicate: (n: any) => boolean): void, - /** - * Use `.toBeBoolean` when checking if a value is a `Boolean`. - */ - toBeBoolean(): void, - /** - * Use `.toBeTrue` when checking a value is equal (===) to `true`. - */ - toBeTrue(): void, - /** - * Use `.toBeFalse` when checking a value is equal (===) to `false`. - */ - toBeFalse(): void, - /** - * Use .toBeDate when checking if a value is a Date. - */ - toBeDate(): void, - /** - * Use `.toBeFunction` when checking if a value is a `Function`. - */ - toBeFunction(): void, - /** - * Use `.toHaveBeenCalledBefore` when checking if a `Mock` was called before another `Mock`. - * - * Note: Required Jest version >22 - * Note: Your mock functions will have to be asynchronous to cause the timestamps inside of Jest to occur in a differentJS event loop, otherwise the mock timestamps will all be the same - * - * @param {Mock} mock - */ - toHaveBeenCalledBefore(mock: JestMockFn): void, - /** - * Use `.toBeNumber` when checking if a value is a `Number`. - */ - toBeNumber(): void, - /** - * Use `.toBeNaN` when checking a value is `NaN`. - */ - toBeNaN(): void, - /** - * Use `.toBeFinite` when checking if a value is a `Number`, not `NaN` or `Infinity`. - */ - toBeFinite(): void, - /** - * Use `.toBePositive` when checking if a value is a positive `Number`. - */ - toBePositive(): void, - /** - * Use `.toBeNegative` when checking if a value is a negative `Number`. - */ - toBeNegative(): void, - /** - * Use `.toBeEven` when checking if a value is an even `Number`. - */ - toBeEven(): void, - /** - * Use `.toBeOdd` when checking if a value is an odd `Number`. - */ - toBeOdd(): void, - /** - * Use `.toBeWithin` when checking if a number is in between the given bounds of: start (inclusive) and end (exclusive). - * - * @param {Number} start - * @param {Number} end - */ - toBeWithin(start: number, end: number): void, - /** - * Use `.toBeObject` when checking if a value is an `Object`. - */ - toBeObject(): void, - /** - * Use `.toContainKey` when checking if an object contains the provided key. - * - * @param {String} key - */ - toContainKey(key: string): void, - /** - * Use `.toContainKeys` when checking if an object has all of the provided keys. - * - * @param {Array.} keys - */ - toContainKeys(keys: string[]): void, - /** - * Use `.toContainAllKeys` when checking if an object only contains all of the provided keys. - * - * @param {Array.} keys - */ - toContainAllKeys(keys: string[]): void, - /** - * Use `.toContainAnyKeys` when checking if an object contains at least one of the provided keys. - * - * @param {Array.} keys - */ - toContainAnyKeys(keys: string[]): void, - /** - * Use `.toContainValue` when checking if an object contains the provided value. - * - * @param {*} value - */ - toContainValue(value: any): void, - /** - * Use `.toContainValues` when checking if an object contains all of the provided values. - * - * @param {Array.<*>} values - */ - toContainValues(values: any[]): void, - /** - * Use `.toContainAllValues` when checking if an object only contains all of the provided values. - * - * @param {Array.<*>} values - */ - toContainAllValues(values: any[]): void, - /** - * Use `.toContainAnyValues` when checking if an object contains at least one of the provided values. - * - * @param {Array.<*>} values - */ - toContainAnyValues(values: any[]): void, - /** - * Use `.toContainEntry` when checking if an object contains the provided entry. - * - * @param {Array.} entry - */ - toContainEntry(entry: [string, string]): void, - /** - * Use `.toContainEntries` when checking if an object contains all of the provided entries. - * - * @param {Array.>} entries - */ - toContainEntries(entries: [string, string][]): void, - /** - * Use `.toContainAllEntries` when checking if an object only contains all of the provided entries. - * - * @param {Array.>} entries - */ - toContainAllEntries(entries: [string, string][]): void, - /** - * Use `.toContainAnyEntries` when checking if an object contains at least one of the provided entries. - * - * @param {Array.>} entries - */ - toContainAnyEntries(entries: [string, string][]): void, - /** - * Use `.toBeExtensible` when checking if an object is extensible. - */ - toBeExtensible(): void, - /** - * Use `.toBeFrozen` when checking if an object is frozen. - */ - toBeFrozen(): void, - /** - * Use `.toBeSealed` when checking if an object is sealed. - */ - toBeSealed(): void, - /** - * Use `.toBeString` when checking if a value is a `String`. - */ - toBeString(): void, - /** - * Use `.toEqualCaseInsensitive` when checking if a string is equal (===) to another ignoring the casing of both strings. - * - * @param {String} string - */ - toEqualCaseInsensitive(string: string): void, - /** - * Use `.toStartWith` when checking if a `String` starts with a given `String` prefix. - * - * @param {String} prefix - */ - toStartWith(prefix: string): void, - /** - * Use `.toEndWith` when checking if a `String` ends with a given `String` suffix. - * - * @param {String} suffix - */ - toEndWith(suffix: string): void, - /** - * Use `.toInclude` when checking if a `String` includes the given `String` substring. - * - * @param {String} substring - */ - toInclude(substring: string): void, - /** - * Use `.toIncludeRepeated` when checking if a `String` includes the given `String` substring the correct number of times. - * - * @param {String} substring - * @param {Number} times - */ - toIncludeRepeated(substring: string, times: number): void, - /** - * Use `.toIncludeMultiple` when checking if a `String` includes all of the given substrings. - * - * @param {Array.} substring - */ - toIncludeMultiple(substring: string[]): void, - ... -}; - -// Diffing snapshot utility for Jest (snapshot-diff) -// https://github.com/jest-community/snapshot-diff -type SnapshotDiffType = { - /** - * Compare the difference between the actual in the `expect()` - * vs the object inside `valueB` with some extra options. - */ - toMatchDiffSnapshot( - valueB: any, - options?: {| - expand?: boolean, - colors?: boolean, - contextLines?: number, - stablePatchmarks?: boolean, - aAnnotation?: string, - bAnnotation?: string, - |}, - testName?: string - ): void, - ... -}; - -interface JestExpectType { - not: JestExpectType & - EnzymeMatchersType & - DomTestingLibraryType & - JestJQueryMatchersType & - JestStyledComponentsMatchersType & - JestExtendedMatchersType & - SnapshotDiffType; - /** - * If you have a mock function, you can use .lastCalledWith to test what - * arguments it was last called with. - */ - lastCalledWith(...args: Array): void; - /** - * toBe just checks that a value is what you expect. It uses === to check - * strict equality. - */ - toBe(value: any): void; - /** - * Use .toBeCalledWith to ensure that a mock function was called with - * specific arguments. - */ - toBeCalledWith(...args: Array): void; - /** - * Using exact equality with floating point numbers is a bad idea. Rounding - * means that intuitive things fail. - */ - toBeCloseTo(num: number, delta: any): void; - /** - * Use .toBeDefined to check that a variable is not undefined. - */ - toBeDefined(): void; - /** - * Use .toBeFalsy when you don't care what a value is, you just want to - * ensure a value is false in a boolean context. - */ - toBeFalsy(): void; - /** - * To compare floating point numbers, you can use toBeGreaterThan. - */ - toBeGreaterThan(number: number): void; - /** - * To compare floating point numbers, you can use toBeGreaterThanOrEqual. - */ - toBeGreaterThanOrEqual(number: number): void; - /** - * To compare floating point numbers, you can use toBeLessThan. - */ - toBeLessThan(number: number): void; - /** - * To compare floating point numbers, you can use toBeLessThanOrEqual. - */ - toBeLessThanOrEqual(number: number): void; - /** - * Use .toBeInstanceOf(Class) to check that an object is an instance of a - * class. - */ - toBeInstanceOf(cls: Class): void; - /** - * .toBeNull() is the same as .toBe(null) but the error messages are a bit - * nicer. - */ - toBeNull(): void; - /** - * Use .toBeTruthy when you don't care what a value is, you just want to - * ensure a value is true in a boolean context. - */ - toBeTruthy(): void; - /** - * Use .toBeUndefined to check that a variable is undefined. - */ - toBeUndefined(): void; - /** - * Use .toContain when you want to check that an item is in a list. For - * testing the items in the list, this uses ===, a strict equality check. - */ - toContain(item: any): void; - /** - * Use .toContainEqual when you want to check that an item is in a list. For - * testing the items in the list, this matcher recursively checks the - * equality of all fields, rather than checking for object identity. - */ - toContainEqual(item: any): void; - /** - * Use .toEqual when you want to check that two objects have the same value. - * This matcher recursively checks the equality of all fields, rather than - * checking for object identity. - */ - toEqual(value: any): void; - /** - * Use .toHaveBeenCalled to ensure that a mock function got called. - */ - toHaveBeenCalled(): void; - toBeCalled(): void; - /** - * Use .toHaveBeenCalledTimes to ensure that a mock function got called exact - * number of times. - */ - toHaveBeenCalledTimes(number: number): void; - toBeCalledTimes(number: number): void; - /** - * - */ - toHaveBeenNthCalledWith(nthCall: number, ...args: Array): void; - nthCalledWith(nthCall: number, ...args: Array): void; - /** - * - */ - toHaveReturned(): void; - toReturn(): void; - /** - * - */ - toHaveReturnedTimes(number: number): void; - toReturnTimes(number: number): void; - /** - * - */ - toHaveReturnedWith(value: any): void; - toReturnWith(value: any): void; - /** - * - */ - toHaveLastReturnedWith(value: any): void; - lastReturnedWith(value: any): void; - /** - * - */ - toHaveNthReturnedWith(nthCall: number, value: any): void; - nthReturnedWith(nthCall: number, value: any): void; - /** - * Use .toHaveBeenCalledWith to ensure that a mock function was called with - * specific arguments. - */ - toHaveBeenCalledWith(...args: Array): void; - toBeCalledWith(...args: Array): void; - /** - * Use .toHaveBeenLastCalledWith to ensure that a mock function was last called - * with specific arguments. - */ - toHaveBeenLastCalledWith(...args: Array): void; - lastCalledWith(...args: Array): void; - /** - * Check that an object has a .length property and it is set to a certain - * numeric value. - */ - toHaveLength(number: number): void; - /** - * - */ - toHaveProperty(propPath: string | $ReadOnlyArray, value?: any): void; - /** - * Use .toMatch to check that a string matches a regular expression or string. - */ - toMatch(regexpOrString: RegExp | string): void; - /** - * Use .toMatchObject to check that a javascript object matches a subset of the properties of an object. - */ - toMatchObject(object: Object | Array): void; - /** - * Use .toStrictEqual to check that a javascript object matches a subset of the properties of an object. - */ - toStrictEqual(value: any): void; - /** - * This ensures that an Object matches the most recent snapshot. - */ - toMatchSnapshot(propertyMatchers?: any, name?: string): void; - /** - * This ensures that an Object matches the most recent snapshot. - */ - toMatchSnapshot(name: string): void; - - toMatchInlineSnapshot(snapshot?: string): void; - toMatchInlineSnapshot(propertyMatchers?: any, snapshot?: string): void; - /** - * Use .toThrow to test that a function throws when it is called. - * If you want to test that a specific error gets thrown, you can provide an - * argument to toThrow. The argument can be a string for the error message, - * a class for the error, or a regex that should match the error. - * - * Alias: .toThrowError - */ - toThrow(message?: string | Error | Class | RegExp): void; - toThrowError(message?: string | Error | Class | RegExp): void; - /** - * Use .toThrowErrorMatchingSnapshot to test that a function throws a error - * matching the most recent snapshot when it is called. - */ - toThrowErrorMatchingSnapshot(): void; - toThrowErrorMatchingInlineSnapshot(snapshot?: string): void; -} - -type JestObjectType = { - /** - * Disables automatic mocking in the module loader. - * - * After this method is called, all `require()`s will return the real - * versions of each module (rather than a mocked version). - */ - disableAutomock(): JestObjectType, - /** - * An un-hoisted version of disableAutomock - */ - autoMockOff(): JestObjectType, - /** - * Enables automatic mocking in the module loader. - */ - enableAutomock(): JestObjectType, - /** - * An un-hoisted version of enableAutomock - */ - autoMockOn(): JestObjectType, - /** - * Clears the mock.calls and mock.instances properties of all mocks. - * Equivalent to calling .mockClear() on every mocked function. - */ - clearAllMocks(): JestObjectType, - /** - * Resets the state of all mocks. Equivalent to calling .mockReset() on every - * mocked function. - */ - resetAllMocks(): JestObjectType, - /** - * Restores all mocks back to their original value. - */ - restoreAllMocks(): JestObjectType, - /** - * Removes any pending timers from the timer system. - */ - clearAllTimers(): void, - /** - * Returns the number of fake timers still left to run. - */ - getTimerCount(): number, - /** - * Set the current system time used by fake timers. - * Simulates a user changing the system clock while your program is running. - * It affects the current time but it does not in itself cause - * e.g. timers to fire; they will fire exactly as they would have done - * without the call to jest.setSystemTime(). - */ - setSystemTime(now?: number | Date): void, - /** - * The same as `mock` but not moved to the top of the expectation by - * babel-jest. - */ - doMock(moduleName: string, moduleFactory?: any): JestObjectType, - /** - * The same as `unmock` but not moved to the top of the expectation by - * babel-jest. - */ - dontMock(moduleName: string): JestObjectType, - /** - * Returns a new, unused mock function. Optionally takes a mock - * implementation. - */ - fn, TReturn>( - implementation?: (...args: TArguments) => TReturn - ): JestMockFn, - /** - * Determines if the given function is a mocked function. - */ - isMockFunction(fn: Function): boolean, - /** - * Alias of `createMockFromModule`. - */ - genMockFromModule(moduleName: string): any, - /** - * Given the name of a module, use the automatic mocking system to generate a - * mocked version of the module for you. - */ - createMockFromModule(moduleName: string): any, - /** - * Mocks a module with an auto-mocked version when it is being required. - * - * The second argument can be used to specify an explicit module factory that - * is being run instead of using Jest's automocking feature. - * - * The third argument can be used to create virtual mocks -- mocks of modules - * that don't exist anywhere in the system. - */ - mock( - moduleName: string, - moduleFactory?: any, - options?: Object - ): JestObjectType, - /** - * Returns the actual module instead of a mock, bypassing all checks on - * whether the module should receive a mock implementation or not. - */ - requireActual(m: $Flow$ModuleRef | string): T, - /** - * Returns a mock module instead of the actual module, bypassing all checks - * on whether the module should be required normally or not. - */ - requireMock(moduleName: string): any, - /** - * Resets the module registry - the cache of all required modules. This is - * useful to isolate modules where local state might conflict between tests. - */ - resetModules(): JestObjectType, - /** - * Creates a sandbox registry for the modules that are loaded inside the - * callback function. This is useful to isolate specific modules for every - * test so that local module state doesn't conflict between tests. - */ - isolateModules(fn: () => void): JestObjectType, - /** - * Exhausts the micro-task queue (usually interfaced in node via - * process.nextTick). - */ - runAllTicks(): void, - /** - * Exhausts the macro-task queue (i.e., all tasks queued by setTimeout(), - * setInterval(), and setImmediate()). - */ - runAllTimers(): void, - /** - * Exhausts all tasks queued by setImmediate(). - */ - runAllImmediates(): void, - /** - * Executes only the macro task queue (i.e. all tasks queued by setTimeout() - * or setInterval() and setImmediate()). - */ - advanceTimersByTime(msToRun: number): void, - /** - * Executes only the macro-tasks that are currently pending (i.e., only the - * tasks that have been queued by setTimeout() or setInterval() up to this - * point) - */ - runOnlyPendingTimers(): void, - /** - * Explicitly supplies the mock object that the module system should return - * for the specified module. Note: It is recommended to use jest.mock() - * instead. - */ - setMock(moduleName: string, moduleExports: any): JestObjectType, - /** - * Indicates that the module system should never return a mocked version of - * the specified module from require() (e.g. that it should always return the - * real module). - */ - unmock(moduleName: string): JestObjectType, - /** - * Instructs Jest to use fake versions of the standard timer functions - * (setTimeout, setInterval, clearTimeout, clearInterval, nextTick, - * setImmediate and clearImmediate). - */ - useFakeTimers(fakeTimersConfig?: FakeTimersConfig): JestObjectType, - /** - * Instructs Jest to use the real versions of the standard timer functions. - */ - useRealTimers(): JestObjectType, - /** - * Creates a mock function similar to jest.fn but also tracks calls to - * object[methodName]. - */ - spyOn( - object: Object, - methodName: string, - accessType?: 'get' | 'set' - ): JestMockFn, - /** - * Set the default timeout interval for tests and before/after hooks in milliseconds. - * Note: The default timeout interval is 5 seconds if this method is not called. - */ - setTimeout(timeout: number): JestObjectType, - ... -}; - -type JestSpyType = { calls: JestCallsType, ... }; - -type JestDoneFn = {| - (error?: Error): void, - fail: (error: Error) => void, -|}; - -/** Runs this function after every test inside this context */ -declare function afterEach( - fn: (done: JestDoneFn) => ?Promise, - timeout?: number -): void; -/** Runs this function before every test inside this context */ -declare function beforeEach( - fn: (done: JestDoneFn) => ?Promise, - timeout?: number -): void; -/** Runs this function after all tests have finished inside this context */ -declare function afterAll( - fn: (done: JestDoneFn) => ?Promise, - timeout?: number -): void; -/** Runs this function before any tests have started inside this context */ -declare function beforeAll( - fn: (done: JestDoneFn) => ?Promise, - timeout?: number -): void; - -/** A context for grouping tests together */ -declare var describe: { - /** - * Creates a block that groups together several related tests in one "test suite" - */ - (name: JestTestName, fn: () => void): void, - /** - * Only run this describe block - */ - only(name: JestTestName, fn: () => void): void, - /** - * Skip running this describe block - */ - skip(name: JestTestName, fn: () => void): void, - /** - * each runs this test against array of argument arrays per each run - * - * @param {table} table of Test - */ - each( - ...table: Array | mixed> | [Array, string] - ): ( - name: JestTestName, - fn?: (...args: Array) => ?Promise, - timeout?: number - ) => void, - ... -}; - -/** An individual test unit */ -declare var it: { - /** - * An individual test unit - * - * @param {JestTestName} Name of Test - * @param {Function} Test - * @param {number} Timeout for the test, in milliseconds. - */ - ( - name: JestTestName, - fn?: (done: JestDoneFn) => ?Promise, - timeout?: number - ): void, - /** - * Only run this test - * - * @param {JestTestName} Name of Test - * @param {Function} Test - * @param {number} Timeout for the test, in milliseconds. - */ - only: {| - ( - name: JestTestName, - fn?: (done: JestDoneFn) => ?Promise, - timeout?: number - ): void, - each( - ...table: Array | mixed> | [Array, string] - ): ( - name: JestTestName, - fn?: (...args: Array) => ?Promise, - timeout?: number - ) => void, - |}, - /** - * Skip running this test - * - * @param {JestTestName} Name of Test - * @param {Function} Test - * @param {number} Timeout for the test, in milliseconds. - */ - skip: {| - ( - name: JestTestName, - fn?: (done: JestDoneFn) => ?Promise, - timeout?: number - ): void, - each( - ...table: Array | mixed> | [Array, string] - ): ( - name: JestTestName, - fn?: (...args: Array) => ?Promise, - timeout?: number - ) => void, - |}, - /** - * Highlight planned tests in the summary output - * - * @param {String} Name of Test to do - */ - todo(name: string): void, - /** - * Run the test concurrently - * - * @param {JestTestName} Name of Test - * @param {Function} Test - * @param {number} Timeout for the test, in milliseconds. - */ - concurrent( - name: JestTestName, - fn?: (done: JestDoneFn) => ?Promise, - timeout?: number - ): void, - /** - * each runs this test against array of argument arrays per each run - * - * @param {table} table of Test - */ - each( - ...table: Array | mixed> | [Array, string] - ): ( - name: JestTestName, - fn?: (...args: Array) => ?Promise, - timeout?: number - ) => void, - ... -}; - -declare function fit( - name: JestTestName, - fn: (done: JestDoneFn) => ?Promise, - timeout?: number -): void; -/** An individual test unit */ -declare var test: typeof it; -/** A disabled group of tests */ -declare var xdescribe: typeof describe; -/** A focused group of tests */ -declare var fdescribe: typeof describe; -/** A disabled individual test */ -declare var xit: typeof it; -/** A disabled individual test */ -declare var xtest: typeof it; - -type JestPrettyFormatColors = { - comment: { - close: string, - open: string, - ... - }, - content: { - close: string, - open: string, - ... - }, - prop: { - close: string, - open: string, - ... - }, - tag: { - close: string, - open: string, - ... - }, - value: { - close: string, - open: string, - ... - }, - ... -}; - -type JestPrettyFormatIndent = (string) => string; -type JestPrettyFormatRefs = Array; -type JestPrettyFormatPrint = (any) => string; -type JestPrettyFormatStringOrNull = string | null; - -type JestPrettyFormatOptions = {| - callToJSON: boolean, - edgeSpacing: string, - escapeRegex: boolean, - highlight: boolean, - indent: number, - maxDepth: number, - min: boolean, - plugins: JestPrettyFormatPlugins, - printFunctionName: boolean, - spacing: string, - theme: {| - comment: string, - content: string, - prop: string, - tag: string, - value: string, - |}, -|}; - -type JestPrettyFormatPlugin = { - print: ( - val: any, - serialize: JestPrettyFormatPrint, - indent: JestPrettyFormatIndent, - opts: JestPrettyFormatOptions, - colors: JestPrettyFormatColors - ) => string, - test: (any) => boolean, - ... -}; - -type JestPrettyFormatPlugins = Array; - -/** The expect function is used every time you want to test a value */ -declare var expect: { - /** The object that you want to make assertions against */ - ( - value: any - ): JestExpectType & - JestPromiseType & - EnzymeMatchersType & - DomTestingLibraryType & - JestJQueryMatchersType & - JestStyledComponentsMatchersType & - JestExtendedMatchersType & - SnapshotDiffType, - /** Add additional Jasmine matchers to Jest's roster */ - extend(matchers: { [name: string]: JestMatcher, ... }): void, - /** Add a module that formats application-specific data structures. */ - addSnapshotSerializer(pluginModule: JestPrettyFormatPlugin): void, - assertions(expectedAssertions: number): void, - hasAssertions(): void, - any(value: mixed): JestAsymmetricEqualityType, - anything(): any, - arrayContaining(value: $ReadOnlyArray): Array, - objectContaining(value: { ... }): Object, - /** Matches any received string that contains the exact expected string. */ - stringContaining(value: string): string, - stringMatching(value: string | RegExp): string, - not: { - arrayContaining: (value: $ReadOnlyArray) => Array, - objectContaining: (value: { ... }) => Object, - stringContaining: (value: string) => string, - stringMatching: (value: string | RegExp) => string, - ... - }, - ... -}; - -// TODO handle return type -// http://jasmine.github.io/2.4/introduction.html#section-Spies -declare function spyOn(value: mixed, method: string): Object; - -/** Holds all functions related to manipulating test runner */ -declare var jest: JestObjectType; - -/** - * The global Jasmine object, this is generally not exposed as the public API, - * using features inside here could break in later versions of Jest. - */ -declare var jasmine: { - DEFAULT_TIMEOUT_INTERVAL: number, - any(value: mixed): JestAsymmetricEqualityType, - anything(): any, - arrayContaining(value: Array): Array, - clock(): JestClockType, - createSpy(name: string): JestSpyType, - createSpyObj( - baseName: string, - methodNames: Array - ): { [methodName: string]: JestSpyType, ... }, - objectContaining(value: Object): Object, - stringMatching(value: string): string, - ... -}; diff --git a/keyserver/flow-typed/npm/lodash_v4.x.x.js b/keyserver/flow-typed/npm/lodash_v4.x.x.js deleted file mode 100644 --- a/keyserver/flow-typed/npm/lodash_v4.x.x.js +++ /dev/null @@ -1,6367 +0,0 @@ -// flow-typed signature: 23d2a3641578673e8eb7c9f8b6bcc3af -// flow-typed version: 6912183195/lodash_v4.x.x/flow_>=v0.201.x - -declare function compose(): (a: T) => T; -declare function compose) => mixed>( - f: F, -): F; -declare function compose, R>( - f1: (a: A) => R, - f2: (...T) => A, -): (...T) => R; -declare function compose, R>( - f1: (b: B) => R, - f2: (a: A) => B, - f3: (...T) => A, -): (...T) => R; -declare function compose, R>( - f1: (c: C) => R, - f2: (b: B) => C, - f3: (a: A) => B, - f4: (...T) => A, -): (...T) => R; -declare function compose( - f1: (b: any) => R, - ...funcs: $ReadOnlyArray<(...$ReadOnlyArray) => mixed> -): (...$ReadOnlyArray) => R; -declare function compose( - ...funcs: $ReadOnlyArray<(...$ReadOnlyArray) => mixed> -): (...$ReadOnlyArray) => R; - -declare function composeReverse(): (a: T) => T; -declare function composeReverse) => mixed>(f: F): F; -declare function composeReverse, R>( - f1: (...T) => A, - f2: (a: A) => R, -): (...T) => R; -declare function composeReverse, R>( - f1: (...T) => A, - f2: (a: A) => B, - f3: (b: B) => R, -): (...T) => R; -declare function composeReverse, R>( - f1: (...T) => A, - f2: (a: A) => B, - f3: (b: B) => C, - f4: (c: C) => R, -): (...T) => R; -declare function composeReverse( - ...funcs: $ReadOnlyArray<(...$ReadOnlyArray) => mixed> -): (...$ReadOnlyArray) => R; - -declare module "lodash" { - declare type Path = $ReadOnlyArray | string | number; - declare type __CurriedFunction1 = (...r: [AA]) => R; - declare type CurriedFunction1 = __CurriedFunction1; - - declare type __CurriedFunction2 = (( - ...r: [AA] - ) => CurriedFunction1) & - ((...r: [AA, BB]) => R); - declare type CurriedFunction2 = __CurriedFunction2; - - declare type __CurriedFunction3 = (( - ...r: [AA] - ) => CurriedFunction2) & - ((...r: [AA, BB]) => CurriedFunction1) & - ((...r: [AA, BB, CC]) => R); - declare type CurriedFunction3 = __CurriedFunction3; - - declare type __CurriedFunction4< - A, - B, - C, - D, - R, - AA: A, - BB: B, - CC: C, - DD: D - > = ((...r: [AA]) => CurriedFunction3) & - ((...r: [AA, BB]) => CurriedFunction2) & - ((...r: [AA, BB, CC]) => CurriedFunction1) & - ((...r: [AA, BB, CC, DD]) => R); - declare type CurriedFunction4 = __CurriedFunction4; - - declare type __CurriedFunction5< - A, - B, - C, - D, - E, - R, - AA: A, - BB: B, - CC: C, - DD: D, - EE: E - > = ((...r: [AA]) => CurriedFunction4) & - ((...r: [AA, BB]) => CurriedFunction3) & - ((...r: [AA, BB, CC]) => CurriedFunction2) & - ((...r: [AA, BB, CC, DD]) => CurriedFunction1) & - ((...r: [AA, BB, CC, DD, EE]) => R); - declare type CurriedFunction5 = __CurriedFunction5; - - declare type __CurriedFunction6< - A, - B, - C, - D, - E, - F, - R, - AA: A, - BB: B, - CC: C, - DD: D, - EE: E, - FF: F - > = ((...r: [AA]) => CurriedFunction5) & - ((...r: [AA, BB]) => CurriedFunction4) & - ((...r: [AA, BB, CC]) => CurriedFunction3) & - ((...r: [AA, BB, CC, DD]) => CurriedFunction2) & - ((...r: [AA, BB, CC, DD, EE]) => CurriedFunction1) & - ((...r: [AA, BB, CC, DD, EE, FF]) => R); - declare type CurriedFunction6 = __CurriedFunction6; - - declare type Curry = (((...r: [A]) => R) => CurriedFunction1) & - (((...r: [A, B]) => R) => CurriedFunction2) & - (((...r: [A, B, C]) => R) => CurriedFunction3) & - (( - (...r: [A, B, C, D]) => R - ) => CurriedFunction4) & - (( - (...r: [A, B, C, D, E]) => R - ) => CurriedFunction5) & - (( - (...r: [A, B, C, D, E, F]) => R - ) => CurriedFunction6); - - declare type UnaryFn = (a: A) => R; - - declare type TemplateSettings = { - escape?: RegExp, - evaluate?: RegExp, - imports?: Object, - interpolate?: RegExp, - variable?: string, - ... - }; - - declare type TruncateOptions = { - length?: number, - omission?: string, - separator?: RegExp | string, - ... - }; - - declare type Cancelable = { - cancel: () => void, - flush: () => mixed, - ... - }; - - declare type DebounceOptions = { - leading?: boolean, - maxWait?: number, - trailing?: boolean, - ... - }; - - declare type ThrottleOptions = { - leading?: boolean, - trailing?: boolean, - ... - }; - - // using opaque type for object key is not supported by Flow atm: https://github.com/facebook/flow/issues/5407 - declare type Key = string | number; - declare type IndexerObject = { [key: K]: V, ... }; - declare type ReadOnlyIndexerObject = $ReadOnly>; - declare type NestedArray = Array>; - declare type Collection = $ReadOnlyArray | ReadOnlyIndexerObject; - - declare type matchesIterateeShorthand = { [key: string]: any, ... }; - declare type matchesPropertyIterateeShorthand = [string, any]; - declare type propertyIterateeShorthand = string; - - declare type OPredicate = - | ((value: A, key: string, object: O) => any) - | matchesIterateeShorthand - | matchesPropertyIterateeShorthand - | propertyIterateeShorthand; - - declare type IterateeWithResult = - | ((value: V, key: K, object: O) => R) - | string; - - declare type OIterateeWithResult = - | ReadOnlyIndexerObject - | IterateeWithResult; - declare type OIteratee = OIterateeWithResult; - - declare type AFlatMapIteratee = - | ((item: V, index: number, array: O) => $ReadOnlyArray | R) - | string - declare type OFlatMapIteratee = IterateeWithResult | R>; - - declare type Predicate = - | ((value: T, index: number, array: Array) => any) - | matchesIterateeShorthand - | matchesPropertyIterateeShorthand - | propertyIterateeShorthand; - - declare type _ValueOnlyIteratee = (value: T) => mixed; - declare type ValueOnlyIteratee = _ValueOnlyIteratee | string; - declare type _Iteratee = ( - item: T, - index: number, - array: ?Array - ) => mixed; - declare type Iteratee = _Iteratee | Object | string; - declare type Comparator = (item: T, item2: T) => boolean; - - declare type ReadOnlyMapIterator = - | ((item: T, index: number, array: $ReadOnlyArray) => U) - | propertyIterateeShorthand; - - declare type OMapIterator = - | ((item: T, key: string, object: O) => U) - | propertyIterateeShorthand; - - declare type Lodash = {| - // Array - chunk(array?: ?$ReadOnlyArray, size?: ?number): Array>; - compact(array?: ?$ReadOnlyArray): Array; - concat( - base?: ?$ReadOnlyArray, - ...elements: $ReadOnlyArray - ): Array; - difference( - array?: ?$ReadOnlyArray, - ...values: $ReadOnlyArray> - ): Array; - differenceBy( - array?: ?$ReadOnlyArray, - values?: ?$ReadOnlyArray, - iteratee?: ?ValueOnlyIteratee - ): Array; - differenceWith( - array?: ?$ReadOnlyArray, - values?: ?$ReadOnlyArray, - comparator?: ?(item: T, item2: U) => boolean - ): Array; - drop(array?: ?$ReadOnlyArray, n?: ?number): Array; - dropRight(array?: ?$ReadOnlyArray, n?: ?number): Array; - dropRightWhile(array?: ?$ReadOnlyArray, predicate?: ?Predicate): Array; - dropWhile(array?: ?$ReadOnlyArray, predicate?: ?Predicate): Array; - fill( - array?: ?Array, - value?: ?U, - start?: ?number, - end?: ?number - ): Array; - findIndex: - & (( - array: $ReadOnlyArray, - predicate?: ?Predicate, - fromIndex?: ?number - ) => number) - & (( - array: void | null, - predicate?: ?Predicate, - fromIndex?: ?number - ) => -1); - findLastIndex: - & (( - array: $ReadOnlyArray, - predicate?: ?Predicate, - fromIndex?: ?number - ) => number) - & (( - array: void | null, - predicate?: ?Predicate, - fromIndex?: ?number - ) => -1); - // alias of _.head - first(array: ?$ReadOnlyArray): T; - flatten(array?: ?$ReadOnlyArray<$ReadOnlyArray | X>): Array; - flattenDeep(array?: ?$ReadOnlyArray): Array; - flattenDepth(array?: ?$ReadOnlyArray, depth?: ?number): Array; - fromPairs(pairs?: ?$ReadOnlyArray<[A, B]>): {| [key: A]: B |}; - head(array: ?$ReadOnlyArray): T; - indexOf: - & ((array: $ReadOnlyArray, value: T, fromIndex?: number) => number) - & ((array: void | null, value?: ?T, fromIndex?: ?number) => -1); - initial(array: ?$ReadOnlyArray): Array; - intersection(...arrays?: Array<$ReadOnlyArray>): Array; - //Workaround until (...parameter: T, parameter2: U) works - intersectionBy: - & (( - a1?: ?$ReadOnlyArray, - iteratee?: ?ValueOnlyIteratee - ) => Array) - & (( - a1?: ?$ReadOnlyArray, - a2?: ?$ReadOnlyArray, - iteratee?: ?ValueOnlyIteratee - ) => Array) - & (( - a1?: ?$ReadOnlyArray, - a2?: ?$ReadOnlyArray, - a3?: ?$ReadOnlyArray, - iteratee?: ?ValueOnlyIteratee - ) => Array) - & (( - a1?: ?$ReadOnlyArray, - a2?: ?$ReadOnlyArray, - a3?: ?$ReadOnlyArray, - a4?: ?$ReadOnlyArray, - iteratee?: ?ValueOnlyIteratee - ) => Array); - //Workaround until (...parameter: T, parameter2: U) works - intersectionWith: - & (( - a1?: ?$ReadOnlyArray, - comparator?: ?Comparator - ) => Array) - & (( - a1?: ?$ReadOnlyArray, - a2?: ?$ReadOnlyArray, - comparator?: ?Comparator - ) => Array) - & (( - a1?: ?$ReadOnlyArray, - a2?: ?$ReadOnlyArray, - a3?: ?$ReadOnlyArray, - comparator?: ?Comparator - ) => Array) - & (( - a1?: ?$ReadOnlyArray, - a2?: ?$ReadOnlyArray, - a3?: ?$ReadOnlyArray, - a4?: ?$ReadOnlyArray, - comparator?: ?Comparator - ) => Array); - join: - & ((array: $ReadOnlyArray, separator?: ?string) => string) - & ((array: void | null, separator?: ?string) => ""); - last(array: ?$ReadOnlyArray): T; - lastIndexOf: - & ((array: $ReadOnlyArray, value?: ?T, fromIndex?: ?number) => number) - & ((array: void | null, value?: ?T, fromIndex?: ?number) => -1); - nth: - & ((array: $ReadOnlyArray, n?: ?number) => T) - & ((array: void | null, n?: ?number) => void); - pull: - & ((array: Array, ...values?: $ReadOnlyArray) => Array) - & ((array: T, ...values?: $ReadOnlyArray) => T); - pullAll: - & ((array: Array, values?: ?$ReadOnlyArray) => Array) - & ((array: T, values?: ?$ReadOnlyArray) => T); - pullAllBy: - & (( - array: Array, - values?: ?$ReadOnlyArray, - iteratee?: ?ValueOnlyIteratee - ) => Array) - & (( - array: T, - values?: ?$ReadOnlyArray, - iteratee?: ?ValueOnlyIteratee - ) => T); - pullAllWith: - & (( - array: T, - values?: ?$ReadOnlyArray, - comparator?: ?Function - ) => T) - & ((array: Array, values?: ?($ReadOnlyArray), comparator?: ?Function) => Array); - pullAt: - & ((array?: ?Array, ...indexed?: $ReadOnlyArray) => Array) - & ((array?: ?Array, indexed?: ?$ReadOnlyArray) => Array); - remove(array?: ?Array, predicate?: ?Predicate): Array; - reverse: - & ((array: Array) => Array) - & ((array: T) => T); - slice( - array?: ?$ReadOnlyArray, - start?: ?number, - end?: ?number - ): Array; - sortedIndex: - & ((array: $ReadOnlyArray, value: T) => number) - & ((array: void | null, value: ?T) => 0); - sortedIndexBy: - & (( - array: $ReadOnlyArray, - value?: ?T, - iteratee?: ?ValueOnlyIteratee - ) => number) - & (( - array: void | null, - value?: ?T, - iteratee?: ?ValueOnlyIteratee - ) => 0); - sortedIndexOf: - & ((array: $ReadOnlyArray, value: T) => number) - & ((array: void | null, value?: ?T) => -1); - sortedLastIndex: - & ((array: $ReadOnlyArray, value: T) => number) - & ((array: void | null, value?: ?T) => 0); - sortedLastIndexBy: - & (( - array: $ReadOnlyArray, - value: T, - iteratee?: ValueOnlyIteratee - ) => number) - & (( - array: void | null, - value?: ?T, - iteratee?: ?ValueOnlyIteratee - ) => 0); - sortedLastIndexOf: - & ((array: $ReadOnlyArray, value: T) => number) - & ((array: void | null, value?: ?T) => -1); - sortedUniq(array?: ?$ReadOnlyArray): Array; - sortedUniqBy( - array?: ?$ReadOnlyArray, - iteratee?: ?ValueOnlyIteratee - ): Array; - tail(array?: ?$ReadOnlyArray): Array; - take(array?: ?$ReadOnlyArray, n?: ?number): Array; - takeRight(array?: ?$ReadOnlyArray, n?: ?number): Array; - takeRightWhile(array?: ?$ReadOnlyArray, predicate?: ?Predicate): Array; - takeWhile(array?: ?$ReadOnlyArray, predicate?: ?Predicate): Array; - union: (...arrays?: Array<$ReadOnlyArray>) => Array; - //Workaround until (...parameter: T, parameter2: U) works - unionBy: - & (( - a1?: ?$ReadOnlyArray, - iteratee?: ?ValueOnlyIteratee - ) => Array) - & (( - a1?: ?$ReadOnlyArray, - a2: $ReadOnlyArray, - iteratee?: ValueOnlyIteratee - ) => Array) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - a3: $ReadOnlyArray, - iteratee?: ValueOnlyIteratee - ) => Array) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - a3: $ReadOnlyArray, - a4: $ReadOnlyArray, - iteratee?: ValueOnlyIteratee - ) => Array); - //Workaround until (...parameter: T, parameter2: U) works - unionWith: - & ((a1?: ?$ReadOnlyArray, comparator?: ?Comparator) => Array) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - comparator?: Comparator - ) => Array) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - a3: $ReadOnlyArray, - comparator?: Comparator - ) => Array) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - a3: $ReadOnlyArray, - a4: $ReadOnlyArray, - comparator?: Comparator - ) => Array); - uniq(array?: ?$ReadOnlyArray): Array; - uniqBy(array?: ?$ReadOnlyArray, iteratee?: ?ValueOnlyIteratee): Array; - uniqWith(array?: ?$ReadOnlyArray, comparator?: ?Comparator): Array; - unzip(array?: ?$ReadOnlyArray): Array; - unzipWith(array: ?$ReadOnlyArray, iteratee?: ?Iteratee): Array; - without(array?: ?$ReadOnlyArray, ...values?: Array): Array; - xor(...array: $ReadOnlyArray<$ReadOnlyArray>): Array; - //Workaround until (...parameter: T, parameter2: U) works - xorBy: - & ((a1?: ?$ReadOnlyArray, iteratee?: ?ValueOnlyIteratee) => Array) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - iteratee?: ValueOnlyIteratee - ) => Array) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - a3: $ReadOnlyArray, - iteratee?: ValueOnlyIteratee - ) => Array) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - a3: $ReadOnlyArray, - a4: $ReadOnlyArray, - iteratee?: ValueOnlyIteratee - ) => Array); - //Workaround until (...parameter: T, parameter2: U) works - xorWith: - & ((a1?: ?$ReadOnlyArray, comparator?: ?Comparator) => Array) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - comparator?: Comparator - ) => Array) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - a3: $ReadOnlyArray, - comparator?: Comparator - ) => Array) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - a3: $ReadOnlyArray, - a4: $ReadOnlyArray, - comparator?: Comparator - ) => Array); - zip: - & ((a1?: ?($ReadOnlyArray), a2?: ?($ReadOnlyArray)) => Array<[A, B]>) - & ((a1: $ReadOnlyArray, a2: $ReadOnlyArray, a3: $ReadOnlyArray) => Array<[A, B, C]>) - & ((a1: $ReadOnlyArray, a2: $ReadOnlyArray, a3: $ReadOnlyArray, a4: $ReadOnlyArray) => Array<[A, B, C, D]>) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - a3: $ReadOnlyArray, - a4: $ReadOnlyArray, - a5: $ReadOnlyArray - ) => Array<[A, B, C, D, E]>); - - zipObject: - & ((props: $ReadOnlyArray, values?: ?$ReadOnlyArray) => { [key: K]: V, ... }) - & ((props: void | null, values?: ?$ReadOnlyArray) => {...}); - zipObjectDeep: - & ((props: $ReadOnlyArray, values?: ?any) => Object) - & ((props: void | null, values?: ?any) => {...}); - - zipWith: - & ((a1?: ?$ReadOnlyArray) => Array<[A]>) - & ((a1: $ReadOnlyArray, iteratee: (A) => T) => Array) - & ((a1: $ReadOnlyArray, a2: $ReadOnlyArray) => Array<[A, B]>) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - iteratee: (A, B) => T - ) => Array) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - a3: $ReadOnlyArray - ) => Array<[A, B, C]>) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - a3: $ReadOnlyArray, - iteratee: (A, B, C) => T - ) => Array) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - a3: $ReadOnlyArray, - a4: $ReadOnlyArray - ) => Array<[A, B, C, D]>) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - a3: $ReadOnlyArray, - a4: $ReadOnlyArray, - iteratee: (A, B, C, D) => T - ) => Array); - - // Collection - countBy: - & ((array: $ReadOnlyArray, iteratee?: ?ValueOnlyIteratee) => { [key: string]: number, ... }) - & ((array: void | null, iteratee?: ?ValueOnlyIteratee) => { [key: string]: number, ... }) - & ((string: string, iteratee?: ?ValueOnlyIteratee) => { [key: string]: number, ... }) - & ((object: ReadOnlyIndexerObject, iteratee?: ?ValueOnlyIteratee) => { [key: string]: number, ... }); - // alias of _.forEach - each | $ReadOnlyArray | string | void | null>(collection: T, iteratee?: ?IterateeWithResult): T; - // alias of _.forEachRight - eachRight | $ReadOnlyArray | string | void | null>(collection: T, iteratee?: ?IterateeWithResult): T; - every: - & ((array?: ?$ReadOnlyArray, iteratee?: ?Iteratee) => boolean) - & ((str: string, iteratee?: ?Iteratee) => boolean) - & (>(object: T, iteratee?: OIterateeWithResult) => boolean); - filter: - & ((array?: ?$ReadOnlyArray, predicate?: ?Predicate) => Array) - & (>( - object: T, - predicate?: OPredicate - ) => Array); - find: - & (( - array: $ReadOnlyArray, - predicate?: ?Predicate, - fromIndex?: ?number - ) => T | void) - & (( - array: void | null, - predicate?: ?Predicate, - fromIndex?: ?number - ) => void) - & (>( - object: T, - predicate?: ?OPredicate, - fromIndex?: ?number - ) => R); - findLast: - & (( - array: $ReadOnlyArray, - predicate?: ?Predicate, - fromIndex?: ?number - ) => T | void) - & (( - array: void | null, - predicate?: ?Predicate, - fromIndex?: ?number - ) => void) - & (>( - object: T, - predicate?: ?OPredicate, - fromIndex?: ?number - ) => R); - flatMap: - & ( = Array>( - array: T, - iteratee?: ?AFlatMapIteratee - ) => Array) - & ( | string = IndexerObject>( - object: T, - iteratee?: ?OFlatMapIteratee - ) => Array); - flatMapDeep: - & ( = Array>( - array: T, - iteratee?: ?AFlatMapIteratee - ) => Array) - & ( | string = IndexerObject>( - object: T, - iteratee?: ?OFlatMapIteratee - ) => Array); - flatMapDepth: - & ( = Array>( - array: T, - iteratee?: ?AFlatMapIteratee, - depth?: ?number - ) => Array) - & ( | string = IndexerObject>( - object: T, - iteratee?: ?OFlatMapIteratee, - depth?: ?number - ) => Array); - forEach | $ReadOnlyArray | string | void | null>(collection: T, iteratee?: ?IterateeWithResult): T; - forEachRight | $ReadOnlyArray | string | void | null>(collection: T, iteratee?: ?IterateeWithResult): T; - groupBy: - & (( - array: $ReadOnlyArray, - iteratee?: ?ValueOnlyIteratee - ) => { [key: V]: Array, ... }) - & ((array: void | null, iteratee?: ?ValueOnlyIteratee) => {...}) - & (>( - object: T, - iteratee?: ValueOnlyIteratee - ) => { [key: V]: Array, ... }); - includes: - & (( - array: $ReadOnlyArray, - value: T, - fromIndex?: ?number - ) => boolean) - & ((array: void | null, value?: ?T, fromIndex?: ?number) => false) - & ((object: ReadOnlyIndexerObject, value: A, fromIndex?: number) => boolean) - & ((str: string, value: string, fromIndex?: number) => boolean); - invokeMap: - & (( - array?: ?$ReadOnlyArray, - path?: ?((value: T) => Path) | Path, - ...args?: $ReadOnlyArray - ) => Array) - & (( - object: ReadOnlyIndexerObject, - path: ((value: any) => Path) | Path, - ...args?: $ReadOnlyArray - ) => Array); - keyBy: - & (( - array: $ReadOnlyArray, - iteratee?: ?ValueOnlyIteratee - ) => { [key: V]: T, ... }) - & ((array: void | null, iteratee?: ?ValueOnlyIteratee) => {...}) - & (>( - object: T, - iteratee?: ?ValueOnlyIteratee - ) => { [key: V]: A, ... }); - map: - & (( - array?: ?$ReadOnlyArray, - iteratee?: ?ReadOnlyMapIterator - ) => Array) - & (, U>( - object: ?T, - iteratee?: OMapIterator - ) => Array) - & (( - str: ?string, - iteratee?: (char: string, index: number, str: string) => any - ) => string); - orderBy: - & (( - array: $ReadOnlyArray, - iteratees?: ?$ReadOnlyArray> | ?string, - orders?: ?$ReadOnlyArray<"asc" | "desc"> | ?string - ) => Array) - & (( - array: null | void, - iteratees?: ?$ReadOnlyArray> | ?string, - orders?: ?$ReadOnlyArray<"asc" | "desc"> | ?string - ) => Array) - & (>( - object: T, - iteratees?: $ReadOnlyArray> | string, - orders?: $ReadOnlyArray<"asc" | "desc"> | string - ) => Array); - partition: - & (( - array?: ?$ReadOnlyArray, - predicate?: ?Predicate - ) => [Array, Array]) - & (>( - object: T, - predicate?: OPredicate - ) => [Array, Array]); - reduce: - & (( - array: $ReadOnlyArray, - iteratee?: ( - accumulator: U, - value: T, - index: number, - array: ?Array - ) => U, - accumulator?: U - ) => U) - & (( - array: void | null, - iteratee?: ?( - accumulator: U, - value: T, - index: any, - array: ?Array - ) => U, - accumulator?: U - ) => U) - & (, U>( - object: T, - iteratee?: (accumulator: U, value: any, key: string, object: T) => U, - accumulator?: U - ) => U); - reduceRight: - & (( - array: void | null, - iteratee?: ?( - accumulator: U, - value: T, - index: any, - array: ?Array - ) => U, - accumulator?: U - ) => U) - & (( - array: $ReadOnlyArray, - iteratee?: ?( - accumulator: U, - value: T, - index: number, - array: ?Array - ) => U, - accumulator?: ?U - ) => U) - & (, U>( - object: T, - iteratee?: ?(accumulator: U, value: any, key: string, object: T) => U, - accumulator?: ?U - ) => U); - reject: - & ((array?: ?$ReadOnlyArray, predicate?: ?Predicate) => Array) - & (>( - object?: ?T, - predicate?: ?OPredicate - ) => Array); - sample(collection: ?Collection): T; - sampleSize(collection?: ?Collection, n?: ?number): Array; - shuffle(array?: ?Collection): Array; - size(collection?: ?Collection | string): number; - some: - & ((array: void | null, predicate?: ?Predicate) => false) - & ((array: ?$ReadOnlyArray, predicate?: Predicate) => boolean) - & (>( - object?: ?T, - predicate?: OPredicate - ) => boolean); - sortBy: - & (( - array: ?$ReadOnlyArray, - ...iteratees?: $ReadOnlyArray> - ) => Array) - & (( - array: ?$ReadOnlyArray, - iteratees?: $ReadOnlyArray> - ) => Array) - & (>( - object: T, - ...iteratees?: $ReadOnlyArray> - ) => Array) - & (>( - object: T, - iteratees?: $ReadOnlyArray> - ) => Array); - - // Date - now(): number; - - // Function - after(n: number, fn: Function): Function; - ary(func: Function, n?: number): Function; - before(n: number, fn: Function): Function; - bind) => any>(func: F, thisArg: any, ...partials: $ReadOnlyArray): F; - bindKey(obj?: ?Object, key?: ?string, ...partials?: $ReadOnlyArray): Function; - curry: - & Curry - & ((func: Function, arity?: number) => Function); - curryRight(func: Function, arity?: number): Function; - debounce) => any>( - func: F, - wait?: number, - options?: DebounceOptions - ): F & Cancelable; - defer(func: (...$ReadOnlyArray) => any, ...args?: $ReadOnlyArray): TimeoutID; - delay(func: Function, wait: number, ...args?: $ReadOnlyArray): TimeoutID; - flip(func: (...$ReadOnlyArray) => R): (...Array) => R; - memoize(func: (...A) => R, resolver?: (...A) => any): (...A) => R; - negate(predicate: (...A) => R): (...A) => boolean; - once) => any>(func: F): F; - overArgs: - & ((func?: ?Function, ...transforms?: $ReadOnlyArray) => Function) - & ((func?: ?Function, transforms?: ?$ReadOnlyArray) => Function); - partial(func: (...$ReadOnlyArray) => R, ...partials: $ReadOnlyArray): (...Array) => R; - partialRight: - & ((func: (...$ReadOnlyArray) => R, ...partials: $ReadOnlyArray) => ((...Array) => R)) - & ((func: (...$ReadOnlyArray) => R, partials: $ReadOnlyArray) => ((...Array) => R)); - rearg: - & ((func: Function, ...indexes: $ReadOnlyArray) => Function) - & ((func: Function, indexes: $ReadOnlyArray) => Function); - rest(func: Function, start?: number): Function; - spread(func: Function): Function; - throttle) => any>( - func: F, - wait?: number, - options?: ThrottleOptions - ): F & Cancelable; - unary) => any>(func: F): F; - wrap(value?: any, wrapper?: ?Function): Function; - - // Lang - castArray: - & (() => Array) - & ((value: T) => Array) - & (>(value: T) => T); - clone(value: T): T; - cloneDeep(value: T): T; - cloneDeepWith( - value: T, - customizer?: ?(value: T, key: number | string, object: T, stack: any) => U - ): U; - cloneWith( - value: T, - customizer?: ?(value: T, key: number | string, object: T, stack: any) => U - ): U; - conformsTo>( - source: T, - predicates: T & $ReadOnly<{ [key: string]: (x: any) => boolean, ... }> - ): boolean; - eq(value: any, other: any): boolean; - gt(value: any, other: any): boolean; - gte(value: any, other: any): boolean; - isArguments: - & ((value: void | null) => false) - & ((value: any) => boolean); - isArray: - & ((value: $ReadOnlyArray) => true) - & ((value: any) => false); - isArrayBuffer: - & ((value: ArrayBuffer) => true) - & ((value: any) => false); - isArrayLike: - & ((value: $ReadOnlyArray | string | { length: number, ... }) => true) - & ((value: any) => false); - isArrayLikeObject: - & ((value: { length: number, ... } | $ReadOnlyArray) => true) - & ((value: any) => false); - isBoolean: - & ((value: boolean) => true) - & ((value: any) => false); - isBuffer: - & ((value: void | null) => false) - & ((value: any) => boolean); - isDate: - & ((value: Date) => true) - & ((value: any) => false); - isElement: - & ((value: Element) => true) - & ((value: any) => false); - isEmpty: - & ((value: void | null | "" | {...} | [] | number | boolean) => true) - & ((value: any) => boolean); - isEqual(value: any, other: any): boolean; - isEqualWith( - value?: ?T, - other?: ?U, - customizer?: ?( - objValue: any, - otherValue: any, - key: number | string, - object: T, - other: U, - stack: any - ) => boolean | void - ): boolean; - isError: - & ((value: Error) => true) - & ((value: any) => false); - isFinite: - & ((value: number) => boolean) - & ((value: any) => false); - isFunction(value: any): boolean; - isInteger: - & ((value: number) => boolean) - & ((value: any) => false); - isLength: - & ((value: void | null) => false) - & ((value: any) => boolean); - isMap: - & ((value: Map) => true) - & ((value: any) => false); - isMatch(object?: ?Object, source?: ?Object): boolean; - isMatchWith( - object?: ?T, - source?: ?U, - customizer?: ?( - objValue: any, - srcValue: any, - key: number | string, - object: T, - source: U - ) => boolean | void - ): boolean; - isNaN: - & ((value: number) => boolean) - & ((value: any) => false); - isNative: - & ((value: number | string | void | null | Object) => false) - & ((value: any) => boolean); - isNil: - & ((value: void | null) => true) - & ((value: any) => false); - isNull: - & ((value: null) => true) - & ((value: any) => false); - isNumber: - & ((value: number) => true) - & ((value: any) => false); - isObject: (value: any) => boolean; - isObjectLike: - & ((value: void | null) => false) - & ((value: any) => boolean); - isPlainObject: (value: any) => boolean; - isRegExp: - & ((value: RegExp) => true) - & ((value: any) => false); - isSafeInteger: - & ((value: number) => boolean) - & ((value: any) => false); - isSet: - & ((value: Set) => true) - & ((value: any) => false); - isString: - & ((value: string) => true) - & ((value: any) => false); - isSymbol: - & ((value: Symbol) => true) - & ((value: any) => false); - isTypedArray: - & ((value: $TypedArray) => true) - & ((value: any) => false); - isUndefined: - & ((value: void) => true) - & ((value: any) => false); - isWeakMap: - & ((value: WeakMap) => true) - & ((value: any) => false); - isWeakSet: - & ((value: WeakSet) => true) - & ((value: any) => false); - lt(value: any, other: any): boolean; - lte(value: any, other: any): boolean; - toArray(value: any): Array; - toFinite: - & ((value: void | null) => 0) - & ((value: any) => number); - toInteger: - & ((value: void | null) => 0) - & ((value: any) => number); - toLength: - & ((value: void | null) => 0) - & ((value: any) => number); - toNumber: - & ((value: void | null) => 0) - & ((value: any) => number); - toPlainObject(value: any): Object; - toSafeInteger: - & ((value: void | null) => 0) - & ((value: any) => number); - toString: - & ((value: void | null) => "") - & ((value: any) => string); - - // Math - add(augend: number, addend: number): number; - ceil(number: number, precision?: number): number; - divide(dividend: number, divisor: number): number; - floor(number: number, precision?: number): number; - max(array: ?$ReadOnlyArray): T; - maxBy(array: ?$ReadOnlyArray, iteratee?: Iteratee): T; - mean(array: $ReadOnlyArray): number; - meanBy(array: $ReadOnlyArray, iteratee?: Iteratee): number; - min(array: ?$ReadOnlyArray): T; - minBy(array: ?$ReadOnlyArray, iteratee?: Iteratee): T; - multiply(multiplier: number, multiplicand: number): number; - round(number: number, precision?: number): number; - subtract(minuend: number, subtrahend: number): number; - sum(array: $ReadOnlyArray): number; - sumBy(array: $ReadOnlyArray, iteratee?: Iteratee): number; - - // number - clamp: - & ((number?: number, lower?: ?number, upper?: ?number) => number) - & ((number: ?number, lower?: ?number, upper?: ?number) => 0); - inRange(number: number, start?: number, end: number): boolean; - random(lower?: number, upper?: number, floating?: boolean): number; - - // Object - assign(object?: ?Object, ...sources?: $ReadOnlyArray): Object; - assignIn: - & (() => {...}) - & ((a: A, b: B) => A & B) - & ((a: A, b: B, c: C) => A & B & C) - & ((a: A, b: B, c: C, d: D) => A & B & C & D) - & ((a: A, b: B, c: C, d: D, e: E) => A & B & C & D & E); - assignInWith: - & (() => {...}) - & (( - object: T, - s1: A, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A - ) => any | void - ) => Object) - & (( - object: T, - s1: A, - s2: B, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B - ) => any | void - ) => Object) - & (( - object: T, - s1: A, - s2: B, - s3: C, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B | C - ) => any | void - ) => Object) - & (( - object: T, - s1: A, - s2: B, - s3: C, - s4: D, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B | C | D - ) => any | void - ) => Object); - assignWith: - & (() => {...}) - & (( - object: T, - s1: A, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A - ) => any | void - ) => Object) - & (( - object: T, - s1: A, - s2: B, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B - ) => any | void - ) => Object) - & (( - object: T, - s1: A, - s2: B, - s3: C, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B | C - ) => any | void - ) => Object) - & (( - object: T, - s1: A, - s2: B, - s3: C, - s4: D, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B | C | D - ) => any | void - ) => Object); - at: - & ((object?: ?Object, ...paths: $ReadOnlyArray) => Array) - & ((object?: ?Object, paths: $ReadOnlyArray) => Array); - create: - & ((prototype: void | null, properties: void | null) => {...}) - & ((prototype: T, properties: Object) => T) - & ((prototype: any, properties: void | null) => {...}); - defaults(object?: ?Object, ...sources?: $ReadOnlyArray): Object; - defaultsDeep(object?: ?Object, ...sources?: $ReadOnlyArray): Object; - // alias for _.toPairs - entries(object?: ?Object): Array<[string, any]>; - // alias for _.toPairsIn - entriesIn(object?: ?Object): Array<[string, any]>; - // alias for _.assignIn - extend: - & ((a?: ?A, b?: ?B) => A & B) - & ((a: A, b: B, c: C) => A & B & C) - & ((a: A, b: B, c: C, d: D) => A & B & C & D) - & ((a: A, b: B, c: C, d: D, e: E) => A & B & C & D & E); - // alias for _.assignInWith - extendWith: - & (( - object?: ?T, - s1?: ?A, - customizer?: ?( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A - ) => any | void - ) => Object) - & (( - object: T, - s1: A, - s2: B, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B - ) => any | void - ) => Object) - & (( - object: T, - s1: A, - s2: B, - s3: C, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B | C - ) => any | void - ) => Object) - & (( - object: T, - s1: A, - s2: B, - s3: C, - s4: D, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B | C | D - ) => any | void - ) => Object); - findKey: - & (>( - object: T, - predicate?: ?OPredicate - ) => string | void) - & (>( - object: void | null, - predicate?: ?OPredicate - ) => void); - findLastKey: - & (>( - object: T, - predicate?: ?OPredicate - ) => string | void) - & (>( - object: void | null, - predicate?: ?OPredicate - ) => void); - forIn: - & ((object: Object, iteratee?: ?OIteratee) => Object) - & ((object: void | null, iteratee?: ?OIteratee) => null); - forInRight: - & ((object: Object, iteratee?: ?OIteratee) => Object) - & ((object: void | null, iteratee?: ?OIteratee) => null); - forOwn: - & ((object: Object, iteratee?: ?OIteratee) => Object) - & ((object: void | null, iteratee?: ?OIteratee) => null); - forOwnRight: - & ((object: Object, iteratee?: ?OIteratee) => Object) - & ((object: void | null, iteratee?: ?OIteratee) => null); - functions(object?: ?Object): Array; - functionsIn(object?: ?Object): Array; - get( - object?: ?Object | ?$ReadOnlyArray | void | null, - path?: ?Path, - defaultValue?: any - ): any; - has: - & ((object: Object, path: Path) => boolean) - & ((object: Object, path: void | null) => false) - & ((object: void | null, path?: ?Path) => false); - hasIn: - & ((object: Object, path: Path) => boolean) - & ((object: Object, path: void | null) => false) - & ((object: void | null, path?: ?Path) => false); - invert: - & ((object: Object, multiVal?: ?boolean) => Object) - & ((object: void | null, multiVal?: ?boolean) => {...}); - invertBy: - & ((object: Object, iteratee?: ?Function) => Object) - & ((object: void | null, iteratee?: ?Function) => {...}); - invoke( - object?: ?Object, - path?: ?Path, - ...args?: $ReadOnlyArray - ): any; - keys: - & ((object?: ?ReadOnlyIndexerObject) => Array) - & ((object?: ?Object) => Array); - keysIn(object?: ?Object): Array; - mapKeys: - & ((object: Object, iteratee?: ?OIteratee) => Object) - & ((object: void | null, iteratee?: ?OIteratee) => {...}); - mapValues: - & ((object: Object, iteratee?: ?OIteratee) => Object) - & ((object: void | null, iteratee?: ?OIteratee) => {...}); - merge(object?: ?Object, ...sources?: $ReadOnlyArray): Object; - mergeWith: - & (() => {...}) - & (( - object: T, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A - ) => any | void - ) => Object) - & (( - object: T, - s1: A, - s2: B, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B - ) => any | void - ) => Object) - & (( - object: T, - s1: A, - s2: B, - s3: C, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B | C - ) => any | void - ) => Object) - & (( - object: T, - s1: A, - s2: B, - s3: C, - s4: D, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B | C | D - ) => any | void - ) => Object); - omit: - & ((object?: ?Object, ...props: $ReadOnlyArray) => Object) - & ((object?: ?Object, props: $ReadOnlyArray) => Object); - omitBy: - & (>( - object: $ReadOnly, - predicate?: ?OPredicate - ) => Object) - & ((object: void | null, predicate?: ?OPredicate) => {...}); - pick: - & ((object?: ?Object, ...props: $ReadOnlyArray) => Object) - & ((object?: ?Object, props: $ReadOnlyArray) => Object); - pickBy: - & (>( - object: $ReadOnly, - predicate?: ?OPredicate - ) => Object) - & ((object: void | null, predicate?: ?OPredicate) => {...}); - result( - object?: ?Object, - path?: ?Path, - defaultValue?: any - ): any; - set: - & ((object: Object, path?: ?Path, value: any) => Object) - & (( - object: T, - path?: ?Path, - value?: ?any - ) => T); - setWith: - & (( - object: T, - path?: ?Path, - value: any, - customizer?: (nsValue: any, key: string, nsObject: T) => any - ) => Object) - & (( - object: T, - path?: ?Path, - value?: ?any, - customizer?: ?(nsValue: any, key: string, nsObject: T) => any - ) => T); - toPairs(object?: ?Object | $ReadOnlyArray): Array<[string, any]>; - toPairsIn(object?: ?Object): Array<[string, any]>; - transform: - & (( - collection: Object | $ReadOnlyArray, - iteratee?: ?OIteratee, - accumulator?: any - ) => any) - & (( - collection: void | null, - iteratee?: ?OIteratee, - accumulator?: ?any - ) => {...}); - unset: - & ((object: void | null, path?: ?Path) => true) - & ((object: Object, path?: ?Path) => boolean); - update: - & ((object: Object, path: Path, updater: Function) => Object) - & (( - object: T, - path?: ?Path, - updater?: ?Function - ) => T); - updateWith: - & (( - object: Object, - path?: ?Path, - updater?: ?Function, - customizer?: ?Function - ) => Object) - & (( - object: T, - path?: ?Path, - updater?: ?Function, - customizer?: ?Function - ) => T); - values(object?: ?Object): Array; - valuesIn(object?: ?Object): Array; - - // Seq - // harder to read, but this is _() - (value: any): any; - chain(value: T): any; - tap(value: T, interceptor: (value: T) => any): T; - thru(value: T1, interceptor: (value: T1) => T2): T2; - // TODO: _.prototype.* - - // String - camelCase: - & ((string: string) => string) - & ((string: void | null) => ""); - capitalize: - & ((string: string) => string) - & ((string: void | null) => ""); - deburr: - & ((string: string) => string) - & ((string: void | null) => ""); - endsWith: - & ((string: string, target?: string, position?: ?number) => boolean) - & ((string: void | null, target?: ?string, position?: ?number) => false); - escape: - & ((string: string) => string) - & ((string: void | null) => ""); - escapeRegExp: - & ((string: string) => string) - & ((string: void | null) => ""); - kebabCase: - & ((string: string) => string) - & ((string: void | null) => ""); - lowerCase: - & ((string: string) => string) - & ((string: void | null) => ""); - lowerFirst: - & ((string: string) => string) - & ((string: void | null) => ""); - pad(string?: ?string, length?: ?number, chars?: ?string): string; - padEnd(string?: ?string, length?: ?number, chars?: ?string): string; - padStart(string?: ?string, length?: ?number, chars?: ?string): string; - parseInt(string: string, radix?: ?number): number; - repeat: - & ((string: string, n?: ?number) => string) - & ((string: void | null, n?: ?number) => ""); - replace: - & (( - string: string, - pattern: RegExp | string, - replacement: ((string: string) => string) | string - ) => string) - & (( - string: void | null, - pattern?: ?RegExp | ?string, - replacement: ?((string: string) => string) | ?string - ) => ""); - snakeCase: - & ((string: string) => string) - & ((string: void | null) => ""); - split( - string?: ?string, - separator?: ?RegExp | ?string, - limit?: ?number - ): Array; - startCase: - & ((string: string) => string) - & ((string: void | null) => ""); - startsWith: - & ((string: string, target?: string, position?: number) => boolean) - & (( - string: void | null, - target?: ?string, - position?: ?number - ) => false); - template(string?: ?string, options?: ?TemplateSettings): Function; - toLower: - & ((string: string) => string) - & ((string: void | null) => ""); - toUpper: - & ((string: string) => string) - & ((string: void | null) => ""); - trim: - & ((string: string, chars?: string) => string) - & ((string: void | null, chars?: ?string) => ""); - trimEnd: - & ((string: string, chars?: ?string) => string) - & ((string: void | null, chars?: ?string) => ""); - trimStart: - & ((string: string, chars?: ?string) => string) - & ((string: void | null, chars?: ?string) => ""); - truncate: - & ((string: string, options?: TruncateOptions) => string) - & ((string: void | null, options?: ?TruncateOptions) => ""); - unescape: - & ((string: string) => string) - & ((string: void | null) => ""); - upperCase: - & ((string: string) => string) - & ((string: void | null) => ""); - upperFirst: - & ((string: string) => string) - & ((string: void | null) => ""); - words(string?: ?string, pattern?: ?RegExp | ?string): Array; - - // Util - attempt(func: Function, ...args: $ReadOnlyArray): any; - bindAll: - & ((object: Object, methodNames?: ?$ReadOnlyArray) => Object) - & ((object: T, methodNames?: ?$ReadOnlyArray) => T) - & ((object: Object, ...methodNames: $ReadOnlyArray) => Object); - cond(pairs?: ?NestedArray): Function; - conforms(source?: ?Object): Function; - constant(value: T): () => T; - defaultTo: - & ((value: T1, defaultValue: T2) => T2) - & (( - value: T1, - defaultValue: T2 - ) => T1) - // NaN is a number instead of its own type, otherwise it would behave like null/void - & ((value: T1, defaultValue: T2) => T1 | T2); - flow: ((funcs: $ReadOnlyArray) => Function) & typeof composeReverse; - flowRight: ((funcs: $ReadOnlyArray) => Function) & typeof compose; - identity(value: T): T; - iteratee(func?: any): Function; - matches(source?: ?Object): Function; - matchesProperty(path?: ?Path, srcValue: any): Function; - method(path?: ?Path, ...args?: $ReadOnlyArray): Function; - methodOf(object?: ?Object, ...args?: $ReadOnlyArray): Function; - mixin( - object?: T, - source: Object, - options?: { chain: boolean, ... } - ): T; - noConflict(): Lodash; - noop(...args: $ReadOnlyArray): void; - nthArg(n?: ?number): Function; - over: - & ((...iteratees: $ReadOnlyArray) => Function) - & ((iteratees: $ReadOnlyArray) => Function); - overEvery: - & ((...predicates: $ReadOnlyArray) => Function) - & ((predicates: $ReadOnlyArray) => Function); - overSome: - & ((...predicates: $ReadOnlyArray) => Function) - & ((predicates: $ReadOnlyArray) => Function); - property(path?: ?Path): Function; - propertyOf(object?: ?Object): Function; - range: - & ((start: number, end: number, step?: number) => Array) - & ((end: number, step?: number) => Array); - rangeRight: - & ((start?: ?number, end?: ?number, step?: ?number) => Array) - & (end?: ?number, step?: ?number) => Array; - runInContext(context?: ?Object): Function; - - stubArray(): Array; - stubFalse(): false; - stubObject(): {...}; - stubString(): ""; - stubTrue(): true; - times: - & ((n?: ?number, ...rest?: $ReadOnlyArray) => Array) - & ((n: number, iteratee: (i: number) => T) => Array); - toPath(value: any): Array; - uniqueId(prefix?: ?string): string; - - // Properties - VERSION: string; - templateSettings: TemplateSettings; - |} - - declare module.exports: Lodash; -} - -declare module "lodash/fp" { - declare type Path = $ReadOnlyArray | string | number; - declare type __CurriedFunction1 = (...r: [AA]) => R; - declare type CurriedFunction1 = __CurriedFunction1; - - declare type __CurriedFunction2 = (( - ...r: [AA] - ) => CurriedFunction1) & - ((...r: [AA, BB]) => R); - declare type CurriedFunction2 = __CurriedFunction2; - - declare type __CurriedFunction3 = (( - ...r: [AA] - ) => CurriedFunction2) & - ((...r: [AA, BB]) => CurriedFunction1) & - ((...r: [AA, BB, CC]) => R); - declare type CurriedFunction3 = __CurriedFunction3; - - declare type __CurriedFunction4< - A, - B, - C, - D, - R, - AA: A, - BB: B, - CC: C, - DD: D - > = ((...r: [AA]) => CurriedFunction3) & - ((...r: [AA, BB]) => CurriedFunction2) & - ((...r: [AA, BB, CC]) => CurriedFunction1) & - ((...r: [AA, BB, CC, DD]) => R); - declare type CurriedFunction4 = __CurriedFunction4; - - declare type __CurriedFunction5< - A, - B, - C, - D, - E, - R, - AA: A, - BB: B, - CC: C, - DD: D, - EE: E - > = ((...r: [AA]) => CurriedFunction4) & - ((...r: [AA, BB]) => CurriedFunction3) & - ((...r: [AA, BB, CC]) => CurriedFunction2) & - ((...r: [AA, BB, CC, DD]) => CurriedFunction1) & - ((...r: [AA, BB, CC, DD, EE]) => R); - declare type CurriedFunction5 = __CurriedFunction5; - - declare type __CurriedFunction6< - A, - B, - C, - D, - E, - F, - R, - AA: A, - BB: B, - CC: C, - DD: D, - EE: E, - FF: F - > = ((...r: [AA]) => CurriedFunction5) & - ((...r: [AA, BB]) => CurriedFunction4) & - ((...r: [AA, BB, CC]) => CurriedFunction3) & - ((...r: [AA, BB, CC, DD]) => CurriedFunction2) & - ((...r: [AA, BB, CC, DD, EE]) => CurriedFunction1) & - ((...r: [AA, BB, CC, DD, EE, FF]) => R); - declare type CurriedFunction6 = __CurriedFunction6; - - declare type Curry = (((...r: [A]) => R) => CurriedFunction1) & - (((...r: [A, B]) => R) => CurriedFunction2) & - (((...r: [A, B, C]) => R) => CurriedFunction3) & - (( - (...r: [A, B, C, D]) => R - ) => CurriedFunction4) & - (( - (...r: [A, B, C, D, E]) => R - ) => CurriedFunction5) & - (( - (...r: [A, B, C, D, E, F]) => R - ) => CurriedFunction6); - - declare type UnaryFn = (a: A) => R; - - declare type TemplateSettings = { - escape?: RegExp, - evaluate?: RegExp, - imports?: Object, - interpolate?: RegExp, - variable?: string, - ... - }; - - declare type TruncateOptions = { - length?: number, - omission?: string, - separator?: RegExp | string, - ... - }; - - declare type DebounceOptions = { - leading?: boolean, - maxWait?: number, - trailing?: boolean, - ... - }; - - declare type ThrottleOptions = { - leading?: boolean, - trailing?: boolean, - ... - }; - - declare type Key = string | number; - declare type ReadOnlyIndexerObject = $ReadOnly<{ [id: K]: V, ... }> - declare type NestedArray = Array>; - declare type Collection = $ReadOnlyArray | ReadOnlyIndexerObject; - - declare type matchesIterateeShorthand = { [Key]: any, ... }; - declare type matchesPropertyIterateeShorthand = [string, any]; - declare type propertyIterateeShorthand = string; - - declare type OPredicate = - | ((value: A) => any) - | matchesIterateeShorthand - | matchesPropertyIterateeShorthand - | propertyIterateeShorthand; - - declare type IterateeWithResult = - | ((value: V) => R) - | string; - - declare type OIterateeWithResult = - | ReadOnlyIndexerObject - | IterateeWithResult; - declare type OIteratee = OIterateeWithResult; - - declare type Predicate = - | ((value: T) => any) - | matchesIterateeShorthand - | matchesPropertyIterateeShorthand - | propertyIterateeShorthand; - - declare type _ValueOnlyIteratee = (value: T) => mixed; - declare type ValueOnlyIteratee = _ValueOnlyIteratee | string; - declare type _Iteratee = (item: T) => mixed; - declare type Iteratee = _Iteratee | Object | string; - declare type AFlatMapIteratee = - | ((item: T) => Array) - | string; - declare type OFlatMapIteratee = IterateeWithResult>; - declare type Comparator = (item: T, item2: T) => boolean; - - declare type MapIterator = ((item: T) => U) | propertyIterateeShorthand; - - declare type OMapIterator = - | ((item: T) => U) - | propertyIterateeShorthand; - - declare type Lodash = {| - // Array - chunk: - & ((size: number) => ((array: $ReadOnlyArray) => Array>)) - & ((size: number, array: $ReadOnlyArray) => Array>); - compact(array?: ?$ReadOnlyArray): Array; - concat: - & ( | T, B: Array | U>( - base: A - ) => (elements: B) => Array) - & ( | T, B: Array | U>( - base: A, - elements: B - ) => Array); - difference: - & ((values: $ReadOnlyArray) => ((array: $ReadOnlyArray) => Array)) - & ((values: $ReadOnlyArray, array: $ReadOnlyArray) => Array); - differenceBy: - & (( - iteratee: ValueOnlyIteratee - ) => (((values: $ReadOnlyArray) => (array: $ReadOnlyArray) => Array) & - ((values: $ReadOnlyArray, array: $ReadOnlyArray) => Array))) - & (( - iteratee: ValueOnlyIteratee, - values: $ReadOnlyArray - ) => ((array: $ReadOnlyArray) => Array)) - & (( - iteratee: ValueOnlyIteratee, - values: $ReadOnlyArray, - array: $ReadOnlyArray - ) => Array); - differenceWith: - & (( - comparator: Comparator - ) => (((first: $ReadOnlyArray) => (second: $ReadOnlyArray) => Array) & - ((first: $ReadOnlyArray, second: $ReadOnlyArray) => Array))) - & (( - comparator: Comparator, - first: $ReadOnlyArray - ) => ((second: $ReadOnlyArray) => Array)) - & (( - comparator: Comparator, - first: $ReadOnlyArray, - second: $ReadOnlyArray - ) => Array); - drop: - & ((n: number) => ((array: $ReadOnlyArray) => Array)) - & ((n: number, array: $ReadOnlyArray) => Array); - dropLast: - & ((n: number) => ((array: $ReadOnlyArray) => Array)) - & ((n: number, array: $ReadOnlyArray) => Array); - dropRight: - & ((n: number) => ((array: $ReadOnlyArray) => Array)) - & ((n: number, array: $ReadOnlyArray) => Array); - dropRightWhile: - & ((predicate: Predicate) => (array: $ReadOnlyArray) => Array) - & ((predicate: Predicate, array: $ReadOnlyArray) => Array); - dropWhile: - & ((predicate: Predicate) => ((array: $ReadOnlyArray) => Array)) - & ((predicate: Predicate, array: $ReadOnlyArray) => Array); - dropLastWhile: - & ((predicate: Predicate) => ((array: $ReadOnlyArray) => Array)) - & ((predicate: Predicate, array: $ReadOnlyArray) => Array); - fill: - & (( - start: number - ) => ((( - end: number - ) => ((value: U) => (array: Array) => Array) & - ((value: U, array: Array) => Array)) & - ((end: number, value: U) => (array: Array) => Array) & - ((end: number, value: U, array: Array) => Array))) - & (( - start: number, - end: number - ) => (((value: U) => (array: Array) => Array) & - ((value: U, array: Array) => Array))) - & (( - start: number, - end: number, - value: U - ) => ((array: Array) => Array)) - & (( - start: number, - end: number, - value: U, - array: Array - ) => Array); - findIndex: - & ((predicate: Predicate) => ((array: $ReadOnlyArray) => number)) - & ((predicate: Predicate, array: $ReadOnlyArray) => number); - findIndexFrom: - & (( - predicate: Predicate - ) => (((fromIndex: number) => (array: $ReadOnlyArray) => number) & - ((fromIndex: number, array: $ReadOnlyArray) => number))) - & (( - predicate: Predicate, - fromIndex: number - ) => ((array: $ReadOnlyArray) => number)) - & (( - predicate: Predicate, - fromIndex: number, - array: $ReadOnlyArray - ) => number); - findLastIndex: - & (( - predicate: Predicate - ) => ((array: $ReadOnlyArray) => number)) - & ((predicate: Predicate, array: $ReadOnlyArray) => number); - findLastIndexFrom: - & (( - predicate: Predicate - ) => (((fromIndex: number) => (array: $ReadOnlyArray) => number) & - ((fromIndex: number, array: $ReadOnlyArray) => number))) - & (( - predicate: Predicate, - fromIndex: number - ) => ((array: $ReadOnlyArray) => number)) - & (( - predicate: Predicate, - fromIndex: number, - array: $ReadOnlyArray - ) => number); - // alias of _.head - first(array: $ReadOnlyArray): T; - flatten(array: $ReadOnlyArray<$ReadOnlyArray | X>): Array; - unnest(array: $ReadOnlyArray<$ReadOnlyArray | X>): Array; - flattenDeep(array: $ReadOnlyArray): Array; - flattenDepth: - & ((depth: number) => ((array: $ReadOnlyArray) => Array)) - & ((depth: number, array: $ReadOnlyArray) => Array); - fromPairs(pairs: $ReadOnlyArray<[A, B]>): {| [key: A]: B |}; - head(array: $ReadOnlyArray): T; - indexOf: - & ((value: T) => ((array: $ReadOnlyArray) => number)) - & ((value: T, array: $ReadOnlyArray) => number); - indexOfFrom: - & (( - value: T - ) => (((fromIndex: number) => (array: $ReadOnlyArray) => number) & - ((fromIndex: number, array: $ReadOnlyArray) => number))) - & ((value: T, fromIndex: number) => ((array: $ReadOnlyArray) => number)) - & ((value: T, fromIndex: number, array: $ReadOnlyArray) => number); - initial(array: $ReadOnlyArray): Array; - init(array: $ReadOnlyArray): Array; - intersection: - & ((a1: $ReadOnlyArray) => ((a2: $ReadOnlyArray) => Array)) - & ((a1: $ReadOnlyArray, a2: $ReadOnlyArray) => Array); - intersectionBy: - & (( - iteratee: ValueOnlyIteratee - ) => (((a1: $ReadOnlyArray) => (a2: $ReadOnlyArray) => Array) & - ((a1: $ReadOnlyArray, a2: $ReadOnlyArray) => Array))) - & (( - iteratee: ValueOnlyIteratee, - a1: $ReadOnlyArray - ) => ((a2: $ReadOnlyArray) => Array)) - & (( - iteratee: ValueOnlyIteratee, - a1: $ReadOnlyArray, - a2: $ReadOnlyArray - ) => Array); - intersectionWith: - & (( - comparator: Comparator - ) => ((a1: $ReadOnlyArray) => (a2: $ReadOnlyArray) => Array) & - ((a1: $ReadOnlyArray, a2: $ReadOnlyArray) => Array)) - & (( - comparator: Comparator, - a1: $ReadOnlyArray - ) => ((a2: $ReadOnlyArray) => Array)) - & (( - comparator: Comparator, - a1: $ReadOnlyArray, - a2: $ReadOnlyArray - ) => Array); - join: - & ((separator: string) => ((array: $ReadOnlyArray) => string)) - & ((separator: string, array: $ReadOnlyArray) => string); - last(array: $ReadOnlyArray): T; - lastIndexOf: - & ((value: T) => (array: $ReadOnlyArray) => number) - & ((value: T, array: $ReadOnlyArray) => number); - lastIndexOfFrom: - & (( - value: T - ) => (((fromIndex: number) => (array: $ReadOnlyArray) => number) & - ((fromIndex: number, array: $ReadOnlyArray) => number))) - & (( - value: T, - fromIndex: number - ) => ((array: $ReadOnlyArray) => number)) - & ((value: T, fromIndex: number, array: $ReadOnlyArray) => number); - nth: - & ((n: number) => ((array: $ReadOnlyArray) => T)) - & ((n: number, array: $ReadOnlyArray) => T); - pull: - & ((value: T) => ((array: Array) => Array)) - & ((value: T, array: Array) => Array); - pullAll: - & ((values: $ReadOnlyArray) => ((array: Array) => Array)) - & ((values: $ReadOnlyArray, array: Array) => Array); - pullAllBy: - & (( - iteratee: ValueOnlyIteratee - ) => (((values: $ReadOnlyArray) => (array: Array) => Array) & - ((values: $ReadOnlyArray, array: Array) => Array))) - & (( - iteratee: ValueOnlyIteratee, - values: $ReadOnlyArray - ) => ((array: Array) => Array)) - & (( - iteratee: ValueOnlyIteratee, - values: $ReadOnlyArray, - array: Array - ) => Array); - pullAllWith: - & (( - comparator: Function - ) => (((values: Array) => (array: Array) => Array) & - ((values: Array, array: Array) => Array))) - & ((comparator: Function, values: Array) => ((array: Array) => Array)) - & ((comparator: Function, values: Array, array: Array) => Array); - pullAt: - & ((indexed: Array) => ((array: Array) => Array)) - & ((indexed: Array, array: Array) => Array); - remove: - & ((predicate: Predicate) => ((array: Array) => Array)) - & ((predicate: Predicate, array: Array) => Array); - reverse(array: Array): Array; - slice: - & (( - start: number - ) => (((end: number) => (array: $ReadOnlyArray) => Array) & - ((end: number, array: $ReadOnlyArray) => Array))) - & ((start: number, end: number) => ((array: $ReadOnlyArray) => Array)) - & ((start: number, end: number, array: $ReadOnlyArray) => Array); - sortedIndex: - & ((value: T) => ((array: $ReadOnlyArray) => number)) - & ((value: T, array: $ReadOnlyArray) => number); - sortedIndexBy: - & (( - iteratee: ValueOnlyIteratee - ) => (((value: T) => (array: $ReadOnlyArray) => number) & - ((value: T, array: $ReadOnlyArray) => number))) - & (( - iteratee: ValueOnlyIteratee, - value: T - ) => ((array: $ReadOnlyArray) => number)) - & (( - iteratee: ValueOnlyIteratee, - value: T, - array: $ReadOnlyArray - ) => number); - sortedIndexOf: - & ((value: T) => ((array: $ReadOnlyArray) => number)) - & ((value: T, array: $ReadOnlyArray) => number); - sortedLastIndex: - & ((value: T) => ((array: $ReadOnlyArray) => number)) - & ((value: T, array: $ReadOnlyArray) => number); - sortedLastIndexBy: - & (( - iteratee: ValueOnlyIteratee - ) => (((value: T) => (array: $ReadOnlyArray) => number) & - ((value: T, array: $ReadOnlyArray) => number))) - & (( - iteratee: ValueOnlyIteratee, - value: T - ) => ((array: $ReadOnlyArray) => number)) - & (( - iteratee: ValueOnlyIteratee, - value: T, - array: $ReadOnlyArray - ) => number); - sortedLastIndexOf: - & ((value: T) => ((array: $ReadOnlyArray) => number)) - & ((value: T, array: $ReadOnlyArray) => number); - sortedUniq(array: $ReadOnlyArray): Array; - sortedUniqBy(iteratee: ValueOnlyIteratee, array: $ReadOnlyArray): Array; - tail(array: $ReadOnlyArray): Array; - take: - & ((n: number) => ((array: $ReadOnlyArray) => Array)) - & ((n: number, array: $ReadOnlyArray) => Array); - takeRight: - & ((n: number) => ((array: $ReadOnlyArray) => Array)) - & ((n: number, array: $ReadOnlyArray) => Array); - takeLast: - & ((n: number) => (array: $ReadOnlyArray) => Array) - & ((n: number, array: $ReadOnlyArray) => Array); - takeRightWhile: - & ((predicate: Predicate) => ((array: $ReadOnlyArray) => Array)) - & ((predicate: Predicate, array: $ReadOnlyArray) => Array); - takeLastWhile: - & ((predicate: Predicate) => ((array: $ReadOnlyArray) => Array)) - & ((predicate: Predicate, array: $ReadOnlyArray) => Array); - takeWhile: - & ((predicate: Predicate) => ((array: $ReadOnlyArray) => Array)) - & ((predicate: Predicate, array: $ReadOnlyArray) => Array); - union: - & ((a1: $ReadOnlyArray) => ((a2: $ReadOnlyArray) => Array)) - & ((a1: $ReadOnlyArray, a2: $ReadOnlyArray) => Array); - unionBy: - & (( - iteratee: ValueOnlyIteratee - ) => (((a1: $ReadOnlyArray) => (a2: $ReadOnlyArray) => Array) & - ((a1: $ReadOnlyArray, a2: $ReadOnlyArray) => Array))) - & (( - iteratee: ValueOnlyIteratee, - a1: $ReadOnlyArray - ) => ((a2: $ReadOnlyArray) => Array)) - & (( - iteratee: ValueOnlyIteratee, - a1: $ReadOnlyArray, - a2: $ReadOnlyArray - ) => Array); - unionWith: - & (( - comparator: Comparator - ) => (((a1: $ReadOnlyArray) => (a2: $ReadOnlyArray) => Array) & - ((a1: $ReadOnlyArray, a2: $ReadOnlyArray) => Array))) - & (( - comparator: Comparator, - a1: $ReadOnlyArray - ) => ((a2: $ReadOnlyArray) => Array)) - & (( - comparator: Comparator, - a1: $ReadOnlyArray, - a2: $ReadOnlyArray - ) => Array); - uniq(array: $ReadOnlyArray): Array; - uniqBy: - & ((iteratee: ValueOnlyIteratee) => ((array: $ReadOnlyArray) => Array)) - & ((iteratee: ValueOnlyIteratee, array: $ReadOnlyArray) => Array); - uniqWith: - & ((comparator: Comparator) => ((array: $ReadOnlyArray) => Array)) - & ((comparator: Comparator, array: $ReadOnlyArray) => Array); - unzip(array: $ReadOnlyArray): Array; - unzipWith: - & ((iteratee: Iteratee) => ((array: $ReadOnlyArray) => Array)) - & ((iteratee: Iteratee, array: $ReadOnlyArray) => Array); - without: - & ((values: $ReadOnlyArray) => ((array: $ReadOnlyArray) => Array)) - & ((values: $ReadOnlyArray, array: $ReadOnlyArray) => Array); - xor: - & ((a1: $ReadOnlyArray) => ((a2: $ReadOnlyArray) => Array)) - & ((a1: $ReadOnlyArray, a2: $ReadOnlyArray) => Array); - symmetricDifference: - & ((a1: $ReadOnlyArray) => ((a2: $ReadOnlyArray) => Array)) - & ((a1: $ReadOnlyArray, a2: $ReadOnlyArray) => Array); - xorBy: - & (( - iteratee: ValueOnlyIteratee - ) => (((a1: $ReadOnlyArray) => (a2: $ReadOnlyArray) => Array) & - ((a1: $ReadOnlyArray, a2: $ReadOnlyArray) => Array))) - & (( - iteratee: ValueOnlyIteratee, - a1: $ReadOnlyArray - ) => ((a2: $ReadOnlyArray) => Array)) - & (( - iteratee: ValueOnlyIteratee, - a1: $ReadOnlyArray, - a2: $ReadOnlyArray - ) => Array); - symmetricDifferenceBy: - & (( - iteratee: ValueOnlyIteratee - ) => ((a1: $ReadOnlyArray) => (a2: $ReadOnlyArray) => Array) & - ((a1: $ReadOnlyArray, a2: $ReadOnlyArray) => Array)) - & (( - iteratee: ValueOnlyIteratee, - a1: $ReadOnlyArray - ) => (a2: $ReadOnlyArray) => Array) - & (( - iteratee: ValueOnlyIteratee, - a1: $ReadOnlyArray, - a2: $ReadOnlyArray - ) => Array); - xorWith: - & (( - comparator: Comparator - ) => (((a1: $ReadOnlyArray) => (a2: $ReadOnlyArray) => Array) & - ((a1: $ReadOnlyArray, a2: $ReadOnlyArray) => Array))) - & (( - comparator: Comparator, - a1: $ReadOnlyArray - ) => ((a2: $ReadOnlyArray) => Array)) - & ((comparator: Comparator, a1: $ReadOnlyArray, a2: $ReadOnlyArray) => Array); - symmetricDifferenceWith: - & (( - comparator: Comparator - ) => (((a1: $ReadOnlyArray) => (a2: $ReadOnlyArray) => Array) & - ((a1: $ReadOnlyArray, a2: $ReadOnlyArray) => Array))) - & (( - comparator: Comparator, - a1: $ReadOnlyArray - ) => ((a2: $ReadOnlyArray) => Array)) - & (( - comparator: Comparator, - a1: $ReadOnlyArray, - a2: $ReadOnlyArray - ) => Array); - zip: - & ((a1: $ReadOnlyArray) => ((a2: $ReadOnlyArray) => Array<[A, B]>)) - & ((a1: $ReadOnlyArray, a2: $ReadOnlyArray) => Array<[A, B]>); - zipAll(arrays: $ReadOnlyArray<$ReadOnlyArray>): Array; - zipObject: - & ((props?: $ReadOnlyArray) => ((values?: $ReadOnlyArray) => { [key: K]: V, ... })) - & ((props?: $ReadOnlyArray, values?: $ReadOnlyArray) => { [key: K]: V, ... }); - zipObj: - & ((props: $ReadOnlyArray) => ((values: $ReadOnlyArray) => Object)) - & ((props: $ReadOnlyArray, values: $ReadOnlyArray) => Object); - zipObjectDeep: - & ((props: $ReadOnlyArray) => ((values: any) => Object)) - & ((props: $ReadOnlyArray, values: any) => Object); - zipWith: - & (( - iteratee: Iteratee - ) => (((a1: NestedArray) => (a2: NestedArray) => Array) & - ((a1: NestedArray, a2: NestedArray) => Array))) - & (( - iteratee: Iteratee, - a1: NestedArray - ) => ((a2: NestedArray) => Array)) - & (( - iteratee: Iteratee, - a1: NestedArray, - a2: NestedArray - ) => Array); - - // Collection - countBy: - & (( - iteratee: ValueOnlyIteratee - ) => ((collection: Collection) => { [string]: number, ... })) - & (( - iteratee: ValueOnlyIteratee, - collection: Collection - ) => { [string]: number, ... }); - // alias of _.forEach - each: - & (( - iteratee: Iteratee | OIteratee - ) => ((collection: Collection) => Array)) - & (( - iteratee: Iteratee | OIteratee, - collection: Collection - ) => Array); - // alias of _.forEachRight - eachRight: - & (( - iteratee: Iteratee | OIteratee - ) => ((collection: Collection) => Array)) - & (( - iteratee: Iteratee | OIteratee, - collection: Collection - ) => Array); - every: - & (( - iteratee: Iteratee | OIteratee - ) => ((collection: Collection) => boolean)) - & (( - iteratee: Iteratee | OIteratee, - collection: Collection - ) => boolean); - all: - & (( - iteratee: Iteratee | OIteratee - ) => ((collection: Collection) => boolean)) - & (( - iteratee: Iteratee | OIteratee, - collection: Collection - ) => boolean); - filter: - & (( - predicate: Predicate | OPredicate - ) => ((collection: Collection) => Array)) - & (( - predicate: Predicate | OPredicate, - collection: Collection - ) => Array); - find: - & (( - predicate: Predicate | OPredicate - ) => ((collection: Collection) => T | void)) - & (( - predicate: Predicate | OPredicate, - collection: Collection - ) => (T | void)); - findFrom: - & (( - predicate: Predicate | OPredicate - ) => ((( - fromIndex: number - ) => (collection: Collection) => T | void) & - (( - fromIndex: number, - collection: Collection - ) => T | void))) - & (( - predicate: Predicate | OPredicate, - fromIndex: number - ) => ((collection: Collection) => T | void)) - & (( - predicate: Predicate | OPredicate, - fromIndex: number, - collection: Collection - ) => (T | void)); - findLast: - & (( - predicate: Predicate | OPredicate - ) => ((collection: Collection) => T | void)) - & (( - predicate: Predicate | OPredicate, - collection: Collection - ) => (T | void)); - findLastFrom: - & (( - predicate: Predicate | OPredicate - ) => ((( - fromIndex: number - ) => (collection: Collection) => T | void) & - (( - fromIndex: number, - collection: Collection - ) => T | void))) - & (( - predicate: Predicate | OPredicate, - fromIndex: number - ) => ((collection: Collection) => T | void)) - & (( - predicate: Predicate | OPredicate, - fromIndex: number, - collection: Collection - ) => T | void); - flatMap: - & (( - iteratee: AFlatMapIteratee | OFlatMapIteratee - ) => ((collection: Collection) => Array)) - & (( - iteratee: AFlatMapIteratee | OFlatMapIteratee, - collection: Collection - ) => Array); - flatMapDeep: - & (( - iteratee: AFlatMapIteratee | OFlatMapIteratee - ) => ((collection: Collection) => Array)) - & (( - iteratee: AFlatMapIteratee | OFlatMapIteratee, - collection: Collection - ) => Array); - flatMapDepth: - & (( - iteratee: AFlatMapIteratee | OFlatMapIteratee - ) => ((( - depth: number - ) => (collection: Collection) => Array) & - ((depth: number, collection: Collection) => Array))) - & (( - iteratee: AFlatMapIteratee | OFlatMapIteratee, - depth: number - ) => ((collection: Collection) => Array)) - & (( - iteratee: AFlatMapIteratee | OFlatMapIteratee, - depth: number, - collection: Collection - ) => Array); - forEach: - & (( - iteratee: Iteratee | OIteratee - ) => ((collection: Collection) => Array)) - & (( - iteratee: Iteratee | OIteratee, - collection: Collection - ) => Array); - forEachRight: - & (( - iteratee: Iteratee | OIteratee - ) => ((collection: Collection) => Array)) - & (( - iteratee: Iteratee | OIteratee, - collection: Collection - ) => Array); - groupBy: - & (( - iteratee: ValueOnlyIteratee - ) => (( - collection: Collection - ) => { [key: V]: Array, ... })) - & (( - iteratee: ValueOnlyIteratee, - collection: Collection - ) => { [key: V]: Array, ... }); - includes: - & ((value: T) => ((collection: Collection) => boolean)) - & ((value: T, collection: Collection) => boolean) - & ((value: string) => ((str: string) => boolean)) - & ((value: string, str: string) => boolean); - contains: - & ((value: string) => ((str: string) => boolean)) - & ((value: string, str: string) => boolean) - & ((value: T) => ((collection: Collection) => boolean)) - & ((value: T, collection: Collection) => boolean); - includesFrom: - & (( - value: string - ) => (((fromIndex: number) => (str: string) => boolean) & - ((fromIndex: number, str: string) => boolean))) - & ((value: string, fromIndex: number) => ((str: string) => boolean)) - & ((value: string, fromIndex: number, str: string) => boolean) - & (( - value: T - ) => (((fromIndex: number) => (collection: $ReadOnlyArray) => boolean) & - ((fromIndex: number, collection: $ReadOnlyArray) => boolean))) - & (( - value: T, - fromIndex: number - ) => ((collection: $ReadOnlyArray) => boolean)) - & ((value: T, fromIndex: number, collection: $ReadOnlyArray) => boolean); - invokeMap: - & (( - path: ((value: T) => Path) | Path - ) => ((collection: Collection) => Array)) - & (( - path: ((value: T) => Path) | Path, - collection: Collection - ) => Array); - invokeArgsMap: - & (( - path: ((value: T) => Path) | Path - ) => ((( - collection: Collection - ) => (args: $ReadOnlyArray) => Array) & - (( - collection: Collection, - args: $ReadOnlyArray - ) => Array))) - & (( - path: ((value: T) => Path) | Path, - collection: Collection - ) => ((args: $ReadOnlyArray) => Array)) - & (( - path: ((value: T) => Path) | Path, - collection: Collection, - args: $ReadOnlyArray - ) => Array); - keyBy: - & (( - iteratee: ValueOnlyIteratee - ) => ((collection: Collection) => { [key: V]: T, ... })) - & (( - iteratee: ValueOnlyIteratee, - collection: Collection - ) => { [key: V]: T, ... }); - indexBy: - & (( - iteratee: ValueOnlyIteratee - ) => ((collection: Collection) => { [key: V]: T, ... })) - & (( - iteratee: ValueOnlyIteratee, - collection: Collection - ) => { [key: V]: T, ... }); - map: - & (( - iteratee: MapIterator | OMapIterator - ) => ((collection: Collection) => Array)) - & (( - iteratee: MapIterator | OMapIterator, - collection: Collection - ) => Array) - & ((iteratee: (char: string) => any) => ((str: string) => string)) - & ((iteratee: (char: string) => any, str: string) => string); - pluck: - & (( - iteratee: MapIterator | OMapIterator - ) => ((collection: Collection) => Array)) - & (( - iteratee: MapIterator | OMapIterator, - collection: Collection - ) => Array) - & ((iteratee: (char: string) => any) => ((str: string) => string)) - & ((iteratee: (char: string) => any, str: string) => string); - orderBy: - & (( - iteratees: $ReadOnlyArray | OIteratee> | string - ) => ((( - orders: $ReadOnlyArray<"asc" | "desc"> | string - ) => (collection: Collection) => Array) & - (( - orders: $ReadOnlyArray<"asc" | "desc"> | string, - collection: Collection - ) => Array))) - & (( - iteratees: $ReadOnlyArray | OIteratee> | string, - orders: $ReadOnlyArray<"asc" | "desc"> | string - ) => ((collection: Collection) => Array)) - & ( - iteratees: $ReadOnlyArray | OIteratee> | string, - orders: $ReadOnlyArray<"asc" | "desc"> | string, - collection: Collection - ) => Array; - partition: - & (( - predicate: Predicate | OPredicate - ) => ((collection: Collection) => [Array, Array])) - & (( - predicate: Predicate | OPredicate, - collection: Collection - ) => [Array, Array]); - reduce: - & (( - iteratee: (accumulator: U, value: T) => U - ) => (((accumulator: U) => (collection: Collection) => U) & - ((accumulator: U, collection: Collection) => U))) - & (( - iteratee: (accumulator: U, value: T) => U, - accumulator: U - ) => ((collection: Collection) => U)) - & (( - iteratee: (accumulator: U, value: T) => U, - accumulator: U, - collection: Collection - ) => U); - reduceRight: - & (( - iteratee: (value: T, accumulator: U) => U - ) => ((accumulator: U) => (collection: Collection) => U) & - ((accumulator: U, collection: Collection) => U)) - & (( - iteratee: (value: T, accumulator: U) => U, - accumulator: U - ) => (collection: Collection) => U) - & (( - iteratee: (value: T, accumulator: U) => U, - accumulator: U, - collection: Collection - ) => U); - reject: - & (( - predicate: Predicate | OPredicate - ) => ((collection: Collection) => Array)) - & (( - predicate: Predicate | OPredicate, - collection: Collection - ) => Array); - sample(collection: Collection): T; - sampleSize: - & (( - n: number - ) => ((collection: Collection) => Array)) - & ((n: number, collection: Collection) => Array); - shuffle(collection: Collection): Array; - size(collection: $ReadOnlyArray | Object | string): number; - some: - & (( - predicate: Predicate | OPredicate - ) => (collection: Collection) => boolean) - & (( - predicate: Predicate | OPredicate, - collection: Collection - ) => boolean); - any: - & (( - predicate: Predicate | OPredicate - ) => ((collection: Collection) => boolean)) - & (( - predicate: Predicate | OPredicate, - collection: Collection - ) => boolean); - sortBy: - & (( - iteratees: - | $ReadOnlyArray | OIteratee> - | Iteratee - | OIteratee - ) => ((collection: Collection) => Array)) - & (( - iteratees: - | $ReadOnlyArray | OIteratee> - | Iteratee - | OIteratee, - collection: Collection - ) => Array); - - // Date - now(): number; - - // Function - after: - & ((fn: Function) => ((n: number) => Function)) - & ((fn: Function, n: number) => Function); - ary(func: Function): Function; - nAry: - & ((n: number) => ((func: Function) => Function)) - & ((n: number, func: Function) => Function); - before: - & ((fn: Function) => ((n: number) => Function)) - & ((fn: Function, n: number) => Function); - bind: - & ((func: Function) => ((thisArg: any) => Function)) - & ((func: Function, thisArg: any) => Function); - bindKey: - & ((obj: Object) => (key: string) => Function) - & ((obj: Object, key: string) => Function); - curry: Curry; - curryN: - & ((arity: number) => ((func: Function) => Function)) - & ((arity: number, func: Function) => Function); - curryRight(func: Function): Function; - curryRightN: - & ((arity: number) => ((func: Function) => Function)) - & ((arity: number, func: Function) => Function); - debounce: - & ((wait: number) => ((func: (...A) => R) => (...A) => R)) - & ((wait: number, func: (...A) => R) => ((...A) => R)); - defer(func: (...$ReadOnlyArray) => any): TimeoutID; - delay: - & ((wait: number) => ((func: Function) => TimeoutID)) - & ((wait: number, func: Function) => TimeoutID); - flip(func: Function): Function; - memoize(func: F): F; - negate(predicate: (...A) => R): (...A) => boolean; - complement(predicate: Function): Function; - once(func: Function): Function; - overArgs: - & ((func: Function) => ((transforms: $ReadOnlyArray) => Function)) - & ((func: Function, transforms: $ReadOnlyArray) => Function); - useWith: - & ((func: Function) => ((transforms: $ReadOnlyArray) => Function)) - & ((func: Function, transforms: $ReadOnlyArray) => Function); - partial: - & ((func: Function) => ((partials: $ReadOnlyArray) => Function)) - & ((func: Function, partials: $ReadOnlyArray) => Function); - partialRight: - & ((func: Function) => (partials: $ReadOnlyArray) => Function) - & ((func: Function, partials: $ReadOnlyArray) => Function); - rearg: - & ((indexes: $ReadOnlyArray) => ((func: Function) => Function)) - & ((indexes: $ReadOnlyArray, func: Function) => Function); - rest(func: Function): Function; - unapply(func: Function): Function; - restFrom: - & ((start: number) => ((func: Function) => Function)) - & ((start: number, func: Function) => Function); - spread(func: Function): Function; - apply(func: Function): Function; - spreadFrom: - & ((start: number) => ((func: Function) => Function)) - & ((start: number, func: Function) => Function); - throttle: - & ((wait: number) => ((func: (...A) => R) => (...A) => R)) - & ((wait: number, func: (...A) => R) => ((...A) => R)); - unary(func: (T, ...$ReadOnlyArray) => R): (T) => R; - wrap: - & ((wrapper: Function) => ((value: any) => Function)) - & ((wrapper: Function, value: any) => Function); - - // Lang - castArray: - & (() => Array) - & ((value: T) => Array) - & (>(value: T) => T); - clone(value: T): T; - cloneDeep(value: T): T; - cloneDeepWith: - & (( - customizer: (value: T, key: number | string, object: T, stack: any) => U - ) => ((value: T) => U)) - & (( - customizer: (value: T, key: number | string, object: T, stack: any) => U, - value: T - ) => U); - cloneWith: - & (( - customizer: (value: T, key: number | string, object: T, stack: any) => U - ) => ((value: T) => U)) - & (( - customizer: (value: T, key: number | string, object: T, stack: any) => U, - value: T - ) => U); - conformsTo: - & (>( - predicates: T & $ReadOnly<{ [key: string]: (x: any) => boolean, ... }> - ) => ((source: T) => boolean)) - & (>( - predicates: T & $ReadOnly<{ [key: string]: (x: any) => boolean, ... }>, - source: T - ) => boolean); - where: - & (>( - predicates: T & $ReadOnly<{ [key: string]: (x: any) => boolean, ... }> - ) => ((source: T) => boolean)) - & (>( - predicates: T & $ReadOnly<{ [key: string]: (x: any) => boolean, ... }>, - source: T - ) => boolean); - conforms: - & (>( - predicates: T & $ReadOnly<{ [key: string]: (x: any) => boolean, ... }> - ) => ((source: T) => boolean)) - & (>( - predicates: T & $ReadOnly<{ [key: string]: (x: any) => boolean, ... }>, - source: T - ) => boolean); - eq: - & ((value: any) => ((other: any) => boolean)) - & ((value: any, other: any) => boolean); - identical: - & ((value: any) => ((other: any) => boolean)) - & ((value: any, other: any) => boolean); - gt: - & ((value: any) => (other: any) => boolean) - & ((value: any, other: any) => boolean); - gte: - & ((value: any) => ((other: any) => boolean)) - & ((value: any, other: any) => boolean); - isArguments(value: any): boolean; - isArray(value: any): boolean; - isArrayBuffer(value: any): boolean; - isArrayLike(value: any): boolean; - isArrayLikeObject(value: any): boolean; - isBoolean(value: any): boolean; - isBuffer(value: any): boolean; - isDate(value: any): boolean; - isElement(value: any): boolean; - isEmpty(value: any): boolean; - isEqual: - & ((value: any) => ((other: any) => boolean)) - & ((value: any, other: any) => boolean); - equals: - & ((value: any) => (other: any) => boolean) - & ((value: any, other: any) => boolean); - isEqualWith: - & (( - customizer: ( - objValue: any, - otherValue: any, - key: number | string, - object: T, - other: U, - stack: any - ) => boolean | void - ) => (((value: T) => (other: U) => boolean) & - ((value: T, other: U) => boolean))) - & (( - customizer: ( - objValue: any, - otherValue: any, - key: number | string, - object: T, - other: U, - stack: any - ) => boolean | void, - value: T - ) => ((other: U) => boolean)) - & (( - customizer: ( - objValue: any, - otherValue: any, - key: number | string, - object: T, - other: U, - stack: any - ) => boolean | void, - value: T, - other: U - ) => boolean); - isError(value: any): boolean; - isFinite(value: any): boolean; - isFunction(value: any): boolean; - isInteger(value: any): boolean; - isLength(value: any): boolean; - isMap(value: any): boolean; - isMatch: - & ((source: Object) => (object: Object) => boolean) - & ((source: Object, object: Object) => boolean); - whereEq: - & ((source: Object) => (object: Object) => boolean) - & ((source: Object, object: Object) => boolean); - isMatchWith: - & (( - customizer: ( - objValue: any, - srcValue: any, - key: number | string, - object: T, - source: U - ) => boolean | void - ) => (((source: U) => (object: T) => boolean) & - ((source: U, object: T) => boolean))) - & (( - customizer: ( - objValue: any, - srcValue: any, - key: number | string, - object: T, - source: U - ) => boolean | void, - source: U - ) => ((object: T) => boolean)) - & (( - customizer: ( - objValue: any, - srcValue: any, - key: number | string, - object: T, - source: U - ) => boolean | void, - source: U, - object: T - ) => boolean); - isNaN(value: any): boolean; - isNative(value: any): boolean; - isNil(value: any): boolean; - isNull(value: any): boolean; - isNumber(value: any): boolean; - isObject(value: any): boolean; - isObjectLike(value: any): boolean; - isPlainObject(value: any): boolean; - isRegExp(value: any): boolean; - isSafeInteger(value: any): boolean; - isSet(value: any): boolean; - isString: - & ((value: string) => true) - & ((value: any) => false); - isSymbol(value: any): boolean; - isTypedArray(value: any): boolean; - isUndefined(value: any): boolean; - isWeakMap(value: any): boolean; - isWeakSet(value: any): boolean; - lt: - & ((value: any) => ((other: any) => boolean)) - & ((value: any, other: any) => boolean); - lte: - & ((value: any) => ((other: any) => boolean)) - & ((value: any, other: any) => boolean); - toArray(value: any): Array; - toFinite(value: any): number; - toInteger(value: any): number; - toLength(value: any): number; - toNumber(value: any): number; - toPlainObject(value: any): Object; - toSafeInteger(value: any): number; - toString(value: any): string; - - // Math - add(augend: number): (addend: number) => number; - add(augend: number, addend: number): number; - ceil(number: number): number; - divide(dividend: number): (divisor: number) => number; - divide(dividend: number, divisor: number): number; - floor(number: number): number; - max(array: $ReadOnlyArray): T; - maxBy(iteratee: Iteratee): (array: $ReadOnlyArray) => T; - maxBy(iteratee: Iteratee, array: $ReadOnlyArray): T; - mean(array: $ReadOnlyArray): number; - meanBy(iteratee: Iteratee): (array: $ReadOnlyArray) => number; - meanBy(iteratee: Iteratee, array: $ReadOnlyArray): number; - min(array: $ReadOnlyArray): T; - minBy(iteratee: Iteratee): (array: $ReadOnlyArray) => T; - minBy(iteratee: Iteratee, array: $ReadOnlyArray): T; - multiply(multiplier: number): (multiplicand: number) => number; - multiply(multiplier: number, multiplicand: number): number; - round(number: number): number; - subtract(minuend: number): (subtrahend: number) => number; - subtract(minuend: number, subtrahend: number): number; - sum(array: $ReadOnlyArray): number; - sumBy(iteratee: Iteratee): (array: $ReadOnlyArray) => number; - sumBy(iteratee: Iteratee, array: $ReadOnlyArray): number; - - // number - clamp: - & (( - lower: number - ) => (((upper: number) => (number: number) => number) & - ((upper: number, number: number) => number))) - & ((lower: number, upper: number) => ((number: number) => number)) - & ((lower: number, upper: number, number: number) => number); - inRange: - & (( - start: number - ) => (((end: number) => (number: number) => boolean) & - ((end: number, number: number) => boolean))) - & ((start: number, end: number) => ((number: number) => boolean)) - & ((start: number, end: number, number: number) => boolean); - random: - & ((lower: number) => ((upper: number) => number)) - & ((lower: number, upper: number) => number); - - // Object - assign: - & ((object: Object) => ((source: Object) => Object)) - & ((object: Object, source: Object) => Object); - assignAll(objects: Array): Object; - assignInAll(objects: Array): Object; - extendAll(objects: Array): Object; - assignIn: - & ((a: A) => ((b: B) => A & B)) - & ((a: A, b: B) => A & B); - assignInWith: - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A - ) => any | void - ) => (((object: T) => (s1: A) => Object) & ((object: T, s1: A) => Object))) - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A - ) => any | void, - object: T - ) => ((s1: A) => Object)) - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A - ) => any | void, - object: T, - s1: A - ) => Object); - assignWith: - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A - ) => any | void - ) => (((object: T) => (s1: A) => Object) & ((object: T, s1: A) => Object))) - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A - ) => any | void, - object: T - ) => ((s1: A) => Object)) - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A - ) => any | void, - object: T, - s1: A - ) => Object); - assignInAllWith: - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: Object, - source: Object - ) => any | void - ) => ((objects: Array) => Object)) - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: Object, - source: Object - ) => any | void, - objects: Array - ) => Object); - extendAllWith: - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: Object, - source: Object - ) => any | void - ) => ((objects: Array) => Object)) - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: Object, - source: Object - ) => any | void, - objects: Array - ) => Object); - assignAllWith: - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: Object, - source: Object - ) => any | void - ) => ((objects: Array) => Object)) - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: Object, - source: Object - ) => any | void, - objects: Array - ) => Object); - at: - & ((paths: $ReadOnlyArray) => ((object: Object) => Array)) - & ((paths: $ReadOnlyArray, object: Object) => Array); - props: - & ((paths: $ReadOnlyArray) => ((object: Object) => Array)) - & ((paths: $ReadOnlyArray, object: Object) => Array); - paths: - & ((paths: $ReadOnlyArray) => ((object: Object) => Array)) - & ((paths: $ReadOnlyArray, object: Object) => Array); - create(prototype: T): T; - defaults: - & ((source: Object) => ((object: Object) => Object)) - & ((source: Object, object: Object) => Object); - defaultsAll(objects: Array): Object; - defaultsDeep: - & ((source: Object) => ((object: Object) => Object)) - & ((source: Object, object: Object) => Object); - defaultsDeepAll(objects: Array): Object; - // alias for _.toPairs - entries(object: Object): Array<[string, any]>; - // alias for _.toPairsIn - entriesIn(object: Object): Array<[string, any]>; - // alias for _.assignIn - extend: - & ((a: A) => ((b: B) => A & B)) - & ((a: A, b: B) => A & B); - // alias for _.assignInWith - extendWith: - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A - ) => any | void - ) => (((object: T) => (s1: A) => Object) & ((object: T, s1: A) => Object))) - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A - ) => any | void, - object: T - ) => ((s1: A) => Object)) - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A - ) => any | void, - object: T, - s1: A - ) => Object); - findKey: - & (>( - predicate: OPredicate - ) => ((object: T) => string | void)) - & (>( - predicate: OPredicate, - object: T - ) => string | void); - findLastKey: - & (>( - predicate: OPredicate - ) => ((object: T) => string | void)) - & (>( - predicate: OPredicate, - object: T - ) => string | void); - forIn: - & ((iteratee: OIteratee) => ((object: Object) => Object)) - & ((iteratee: OIteratee, object: Object) => Object); - forInRight: - & ((iteratee: OIteratee) => ((object: Object) => Object)) - & ((iteratee: OIteratee, object: Object) => Object); - forOwn: - & ((iteratee: OIteratee) => ((object: Object) => Object)) - & ((iteratee: OIteratee, object: Object) => Object); - forOwnRight: - & ((iteratee: OIteratee) => ((object: Object) => Object)) - & ((iteratee: OIteratee, object: Object) => Object); - functions(object: Object): Array; - functionsIn(object: Object): Array; - get: - & (( - path: Path - ) => ((object: Object | $ReadOnlyArray | void | null) => any)) - & (( - path: Path, - object: Object | $ReadOnlyArray | void | null - ) => any); - prop: - & ((path: Path) => ((object: Object | $ReadOnlyArray) => any)) - & ((path: Path, object: Object | $ReadOnlyArray) => any); - path: - & ((path: Path) => ((object: Object | $ReadOnlyArray) => any)) - & ((path: Path, object: Object | $ReadOnlyArray) => any); - getOr: - & (( - defaultValue: any - ) => ((( - path: Path - ) => (object: Object | $ReadOnlyArray) => any) & - (( - path: Path, - object: Object | $ReadOnlyArray | void | null - ) => any))) - & (( - defaultValue: any, - path: Path - ) => ((object: Object | $ReadOnlyArray | void | null) => any)) - & (( - defaultValue: any, - path: Path, - object: Object | $ReadOnlyArray | void | null - ) => any); - propOr: - & (( - defaultValue: any - ) => ((( - path: Path - ) => (object: Object | $ReadOnlyArray) => any) & - ((path: Path, object: Object | $ReadOnlyArray) => any))) - & (( - defaultValue: any, - path: Path - ) => ((object: Object | $ReadOnlyArray) => any)) - & (( - defaultValue: any, - path: Path, - object: Object | $ReadOnlyArray - ) => any); - pathOr: - & (( - defaultValue: any - ) => ((( - path: Path - ) => (object: Object | $ReadOnlyArray) => any) & - ((path: Path, object: Object | $ReadOnlyArray) => any))) - & (( - defaultValue: any, - path: Path - ) => ((object: Object | $ReadOnlyArray) => any)) - & (( - defaultValue: any, - path: Path, - object: Object | $ReadOnlyArray - ) => any); - has: - & ((path: Path) => ((object: Object) => boolean)) - & ((path: Path, object: Object) => boolean); - hasIn: - & ((path: Path) => ((object: Object) => boolean)) - & ((path: Path, object: Object) => boolean); - invert(object: Object): Object; - invertObj(object: Object): Object; - invertBy: - & ((iteratee: Function) => ((object: Object) => Object)) - & ((iteratee: Function, object: Object) => Object); - invoke: - & ((path: Path) => ((object: Object) => any)) - & ((path: Path, object: Object) => any); - invokeArgs: - & (( - path: Path - ) => (((object: Object) => (args: Array) => any) & - ((object: Object, args: Array) => any))) - & (( - path: Path, - object: Object - ) => ((args: Array) => any)) - & ( - path: Path, - object: Object, - args: Array - ) => any; - keys: - & ((object: ReadOnlyIndexerObject) => Array) - & ((object: Object) => Array); - keysIn(object: Object): Array; - mapKeys: - & ((iteratee: OIteratee) => ((object: Object) => Object)) - & ((iteratee: OIteratee, object: Object) => Object); - mapValues: - & ((iteratee: OIteratee) => ((object: Object) => Object)) - & ((iteratee: OIteratee, object: Object) => Object); - merge: - & ((object: Object) => ((source: Object) => Object)) - & ((object: Object, source: Object) => Object); - mergeAll(objects: $ReadOnlyArray): Object; - mergeWith: - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B - ) => any | void - ) => (((object: T) => (s1: A) => Object) & ((object: T, s1: A) => Object))) - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B - ) => any | void, - object: T - ) => ((s1: A) => Object)) - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B - ) => any | void, - object: T, - s1: A - ) => Object); - mergeAllWith: - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: Object, - source: Object - ) => any | void - ) => ((objects: $ReadOnlyArray) => Object)) - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: Object, - source: Object - ) => any | void, - objects: $ReadOnlyArray - ) => Object); - omit: - & ((props: $ReadOnlyArray) => ((object: Object) => Object)) - & ((props: $ReadOnlyArray, object: Object) => Object); - omitAll: - & ((props: $ReadOnlyArray) => ((object: Object) => Object)) - & ((props: $ReadOnlyArray, object: Object) => Object); - omitBy: - & (>( - predicate: OPredicate - ) => ((object: T) => Object)) - & (>(predicate: OPredicate, object: T) => Object); - pick: - & ((...props: $ReadOnlyArray) => Object) - & ((props: $ReadOnlyArray, object: Object) => Object) - & ((...props: $ReadOnlyArray) => ((object: Object) => Object)) - & ((props: $ReadOnlyArray) => ((object: Object) => Object)); - pickAll: - & ((props: $ReadOnlyArray) => ((object: Object) => Object)) - & ((props: $ReadOnlyArray, object: Object) => Object); - pickBy: - & (>( - predicate: OPredicate - ) => ((object: T) => Object)) - & (>(predicate: OPredicate, object: T) => Object); - result: - & ((path: Path) => ((object: Object) => any)) - & ((path: Path, object: Object) => any); - set: - & (( - path: Path - ) => (((value: any) => (object: Object) => Object) & - ((value: any, object: Object) => Object))) - & ((path: Path, value: any) => ((object: Object) => Object)) - & ((path: Path, value: any, object: Object) => Object); - assoc: - & (( - path: Path - ) => (((value: any) => (object: Object) => Object) & - ((value: any, object: Object) => Object))) - & ((path: Path, value: any) => ((object: Object) => Object)) - & ((path: Path, value: any, object: Object) => Object); - assocPath: - & (( - path: Path - ) => (((value: any) => (object: Object) => Object) & - ((value: any, object: Object) => Object))) - & (( - path: Path, - value: any - ) => ((object: Object) => Object)) - & ((path: Path, value: any, object: Object) => Object); - setWith: - & (( - customizer: (nsValue: any, key: string, nsObject: T) => any - ) => ((( - path: Path - ) => ((value: any) => (object: T) => Object) & - ((value: any, object: T) => Object)) & - ((path: Path, value: any) => (object: T) => Object) & - ((path: Path, value: any, object: T) => Object))) - & (( - customizer: (nsValue: any, key: string, nsObject: T) => any, - path: Path - ) => (((value: any) => (object: T) => Object) & - ((value: any, object: T) => Object))) - & (( - customizer: (nsValue: any, key: string, nsObject: T) => any, - path: Path, - value: any - ) => ((object: T) => Object)) - & (( - customizer: (nsValue: any, key: string, nsObject: T) => any, - path: Path, - value: any, - object: T - ) => Object); - toPairs(object: Object | $ReadOnlyArray): Array<[string, any]>; - toPairsIn(object: Object): Array<[string, any]>; - transform: - & (( - iteratee: OIteratee - ) => ((( - accumulator: any - ) => (collection: Object | $ReadOnlyArray) => any) & - ((accumulator: any, collection: Object | $ReadOnlyArray) => any))) - & (( - iteratee: OIteratee, - accumulator: any - ) => ((collection: Object | $ReadOnlyArray) => any)) - & (( - iteratee: OIteratee, - accumulator: any, - collection: Object | $ReadOnlyArray - ) => any); - unset: - & ((path: Path) => ((object: Object) => Object)) - & ((path: Path, object: Object) => Object); - update: - & (( - path: Path - ) => (((updater: Function) => (object: Object) => Object) & - ((updater: Function, object: Object) => Object))) - & (( - path: Path, - updater: Function - ) => ((object: Object) => Object)) - & ((path: Path, updater: Function, object: Object) => Object); - updateWith: - & (( - customizer: Function - ) => ((( - path: Path - ) => ((updater: Function) => (object: Object) => Object) & - ((updater: Function, object: Object) => Object)) & - (( - path: Path, - updater: Function - ) => (object: Object) => Object) & - ((path: Path, updater: Function, object: Object) => Object))) - & (( - customizer: Function, - path: Path - ) => (((updater: Function) => (object: Object) => Object) & - ((updater: Function, object: Object) => Object))) - & (( - customizer: Function, - path: Path, - updater: Function - ) => ((object: Object) => Object)) - & (( - customizer: Function, - path: Path, - updater: Function, - object: Object - ) => Object); - values(object: Object): Array; - valuesIn(object: Object): Array; - - tap: - & ((interceptor: (value: T) => any) => ((value: T) => T)) - & ((interceptor: (value: T) => any, value: T) => T); - thru: - & ((interceptor: (value: T1) => T2) => ((value: T1) => T2)) - & ((interceptor: (value: T1) => T2, value: T1) => T2); - - // String - camelCase(string: string): string; - capitalize(string: string): string; - deburr(string: string): string; - endsWith: - & ((target: string) => ((string: string) => boolean)) - & ((target: string, string: string) => boolean); - escape(string: string): string; - escapeRegExp(string: string): string; - kebabCase(string: string): string; - lowerCase(string: string): string; - lowerFirst(string: string): string; - pad: - & ((length: number) => ((string: string) => string)) - & ((length: number, string: string) => string); - padChars: - & (( - chars: string - ) => (((length: number) => (string: string) => string) & - ((length: number, string: string) => string))) - & ((chars: string, length: number) => ((string: string) => string)) - & ((chars: string, length: number, string: string) => string); - padEnd: - & ((length: number) => ((string: string) => string)) - & ((length: number, string: string) => string); - padCharsEnd: - & (( - chars: string - ) => (((length: number) => (string: string) => string) & - ((length: number, string: string) => string))) - & ((chars: string, length: number) => ((string: string) => string)) - & ((chars: string, length: number, string: string) => string); - padStart: - & ((length: number) => ((string: string) => string)) - & ((length: number, string: string) => string); - padCharsStart: - & (( - chars: string - ) => (((length: number) => (string: string) => string) & - ((length: number, string: string) => string))) - & ((chars: string, length: number) => ((string: string) => string)) - & ((chars: string, length: number, string: string) => string); - parseInt: - & ((radix: number) => ((string: string) => number)) - & ((radix: number, string: string) => number); - repeat: - & ((n: number) => (string: string) => string) - & ((n: number, string: string) => string); - replace: - & (( - pattern: RegExp | string - ) => ((( - replacement: ((string: string) => string) | string - ) => (string: string) => string) & - (( - replacement: ((string: string) => string) | string, - string: string - ) => string))) - & (( - pattern: RegExp | string, - replacement: ((string: string) => string) | string - ) => ((string: string) => string)) - & (( - pattern: RegExp | string, - replacement: ((string: string) => string) | string, - string: string - ) => string); - snakeCase(string: string): string; - split: - & ((separator: RegExp | string) => ((string: string) => Array)) - & ((separator: RegExp | string, string: string) => Array); - startCase(string: string): string; - startsWith: - & ((target: string) => ((string: string) => boolean)) - & ((target: string, string: string) => boolean); - template(string: string): Function; - toLower(string: string): string; - toUpper(string: string): string; - trim(string: string): string; - trimChars: - & ((chars: string) => ((string: string) => string)) - & ((chars: string, string: string) => string); - trimEnd(string: string): string; - trimCharsEnd: - & ((chars: string) => ((string: string) => string)) - & ((chars: string, string: string) => string); - trimStart(string: string): string; - trimCharsStart: - & ((chars: string) => ((string: string) => string)) - & ((chars: string, string: string) => string); - truncate: - & ((options: TruncateOptions) => ((string: string) => string)) - & ((options: TruncateOptions, string: string) => string); - unescape(string: string): string; - upperCase(string: string): string; - upperFirst(string: string): string; - words(string: string): Array; - - // Util - attempt(func: Function): any; - bindAll: - & ((methodNames: $ReadOnlyArray) => ((object: Object) => Object)) - & ((methodNames: $ReadOnlyArray, object: Object) => Object); - cond(pairs: NestedArray): Function; - constant(value: T): () => T; - always(value: T): () => T; - defaultTo: - & ((defaultValue: T2) => ((value: T1) => T2)) - & ((defaultValue: T2, value: T1) => T2) - & (( - defaultValue: T2 - ) => ((value: T1) => T1)) - & (( - defaultValue: T2, - value: T1 - ) => T1) - // NaN is a number instead of its own type, otherwise it would behave like null/void - & ((defaultValue: T2) => ((value: T1) => T1 | T2)) - & ((defaultValue: T2, value: T1) => T1 | T2); - flow: ((funcs: $ReadOnlyArray) => Function) & typeof composeReverse; - pipe: ((funcs: $ReadOnlyArray) => Function) & typeof composeReverse; - flowRight: ((funcs: $ReadOnlyArray) => Function) & typeof compose; - compose: ((funcs: $ReadOnlyArray) => Function) & typeof compose; - identity(value: T): T; - iteratee(func: any): Function; - matches: - & ((source: Object) => ((object: Object) => boolean)) - & ((source: Object, object: Object) => boolean); - matchesProperty: - & ((path: Path) => ((srcValue: any) => Function)) - & ((path: Path, srcValue: any) => Function); - propEq: - & ((path: Path) => ((srcValue: any) => Function)) - & ((path: Path, srcValue: any) => Function); - pathEq: - & ((path: Path) => ((srcValue: any) => Function)) - & ((path: Path, srcValue: any) => Function); - method(path: Path): Function; - methodOf(object: Object): Function; - mixin: - & (( - object: T - ) => (((source: Object) => (options: { chain: boolean, ... }) => T) & - ((source: Object, options: { chain: boolean, ... }) => T))) - & (( - object: T, - source: Object - ) => ((options: { chain: boolean, ... }) => T)) - & (( - object: T, - source: Object, - options: { chain: boolean, ... } - ) => T); - noConflict(): Lodash; - noop(...args: $ReadOnlyArray): void; - nthArg(n: number): Function; - over(iteratees: $ReadOnlyArray): Function; - juxt(iteratees: $ReadOnlyArray): Function; - overEvery(predicates: $ReadOnlyArray): Function; - allPass(predicates: $ReadOnlyArray): Function; - overSome(predicates: $ReadOnlyArray): Function; - anyPass(predicates: $ReadOnlyArray): Function; - property: - & (( - path: Path - ) => ((object: Object | $ReadOnlyArray) => any)) - & ((path: Path, object: Object | $ReadOnlyArray) => any); - propertyOf: - & ((object: Object) => ((path: Path) => Function)) - & ((object: Object, path: Path) => Function); - range: - & ((start: number) => ((end: number) => Array)) - & (start: number, end: number) => Array; - rangeStep: - & (( - step: number - ) => (((start: number) => (end: number) => Array) & - ((start: number, end: number) => Array))) - & ((step: number, start: number) => ((end: number) => Array)) - & ((step: number, start: number, end: number) => Array); - rangeRight: - & ((start: number) => ((end: number) => Array)) - & ((start: number, end: number) => Array); - rangeStepRight: - & (( - step: number - ) => (((start: number) => (end: number) => Array) & - ((start: number, end: number) => Array))) - & ((step: number, start: number) => ((end: number) => Array)) - & ((step: number, start: number, end: number) => Array); - runInContext(context: Object): Function; - - stubArray(): Array; - stubFalse(): false; - F(): false; - stubObject(): {...}; - stubString(): ""; - stubTrue(): true; - T(): true; - times: - & ((iteratee: (i: number) => T) => ((n: number) => Array)) - & ((iteratee: (i: number) => T, n: number) => Array); - toPath(value: any): Array; - uniqueId(prefix: string): string; - - __: any; - placeholder: any; - - convert(options: { - cap?: boolean, - curry?: boolean, - fixed?: boolean, - immutable?: boolean, - rearg?: boolean, - ... - }): void; - - // Properties - VERSION: string; - templateSettings: TemplateSettings; - |} - - declare module.exports: Lodash; -} - -declare module "lodash/chunk" { - declare module.exports: $Exports<"lodash">["chunk"]; -} - -declare module "lodash/compact" { - declare module.exports: $Exports<"lodash">["compact"]; -} - -declare module "lodash/concat" { - declare module.exports: $Exports<"lodash">["concat"]; -} - -declare module "lodash/difference" { - declare module.exports: $Exports<"lodash">["difference"]; -} - -declare module "lodash/differenceBy" { - declare module.exports: $Exports<"lodash">["differenceBy"]; -} - -declare module "lodash/differenceWith" { - declare module.exports: $Exports<"lodash">["differenceWith"]; -} - -declare module "lodash/drop" { - declare module.exports: $Exports<"lodash">["drop"]; -} - -declare module "lodash/dropRight" { - declare module.exports: $Exports<"lodash">["dropRight"]; -} - -declare module "lodash/dropRightWhile" { - declare module.exports: $Exports<"lodash">["dropRightWhile"]; -} - -declare module "lodash/dropWhile" { - declare module.exports: $Exports<"lodash">["dropWhile"]; -} - -declare module "lodash/fill" { - declare module.exports: $Exports<"lodash">["fill"]; -} - -declare module "lodash/findIndex" { - declare module.exports: $Exports<"lodash">["findIndex"]; -} - -declare module "lodash/findLastIndex" { - declare module.exports: $Exports<"lodash">["findLastIndex"]; -} - -declare module "lodash/first" { - declare module.exports: $Exports<"lodash">["first"]; -} - -declare module "lodash/flatten" { - declare module.exports: $Exports<"lodash">["flatten"]; -} - -declare module "lodash/flattenDeep" { - declare module.exports: $Exports<"lodash">["flattenDeep"]; -} - -declare module "lodash/flattenDepth" { - declare module.exports: $Exports<"lodash">["flattenDepth"]; -} - -declare module "lodash/fromPairs" { - declare module.exports: $Exports<"lodash">["fromPairs"]; -} - -declare module "lodash/head" { - declare module.exports: $Exports<"lodash">["head"]; -} - -declare module "lodash/indexOf" { - declare module.exports: $Exports<"lodash">["indexOf"]; -} - -declare module "lodash/initial" { - declare module.exports: $Exports<"lodash">["initial"]; -} - -declare module "lodash/intersection" { - declare module.exports: $Exports<"lodash">["intersection"]; -} - -declare module "lodash/intersectionBy" { - declare module.exports: $Exports<"lodash">["intersectionBy"]; -} - -declare module "lodash/intersectionWith" { - declare module.exports: $Exports<"lodash">["intersectionWith"]; -} - -declare module "lodash/join" { - declare module.exports: $Exports<"lodash">["join"]; -} - -declare module "lodash/last" { - declare module.exports: $Exports<"lodash">["last"]; -} - -declare module "lodash/lastIndexOf" { - declare module.exports: $Exports<"lodash">["lastIndexOf"]; -} - -declare module "lodash/nth" { - declare module.exports: $Exports<"lodash">["nth"]; -} - -declare module "lodash/pull" { - declare module.exports: $Exports<"lodash">["pull"]; -} - -declare module "lodash/pullAll" { - declare module.exports: $Exports<"lodash">["pullAll"]; -} - -declare module "lodash/pullAllBy" { - declare module.exports: $Exports<"lodash">["pullAllBy"]; -} - -declare module "lodash/pullAllWith" { - declare module.exports: $Exports<"lodash">["pullAllWith"]; -} - -declare module "lodash/pullAt" { - declare module.exports: $Exports<"lodash">["pullAt"]; -} - -declare module "lodash/remove" { - declare module.exports: $Exports<"lodash">["remove"]; -} - -declare module "lodash/reverse" { - declare module.exports: $Exports<"lodash">["reverse"]; -} - -declare module "lodash/slice" { - declare module.exports: $Exports<"lodash">["slice"]; -} - -declare module "lodash/sortedIndex" { - declare module.exports: $Exports<"lodash">["sortedIndex"]; -} - -declare module "lodash/sortedIndexBy" { - declare module.exports: $Exports<"lodash">["sortedIndexBy"]; -} - -declare module "lodash/sortedIndexOf" { - declare module.exports: $Exports<"lodash">["sortedIndexOf"]; -} - -declare module "lodash/sortedLastIndex" { - declare module.exports: $Exports<"lodash">["sortedLastIndex"]; -} - -declare module "lodash/sortedLastIndexBy" { - declare module.exports: $Exports<"lodash">["sortedLastIndexBy"]; -} - -declare module "lodash/sortedLastIndexOf" { - declare module.exports: $Exports<"lodash">["sortedLastIndexOf"]; -} - -declare module "lodash/sortedUniq" { - declare module.exports: $Exports<"lodash">["sortedUniq"]; -} - -declare module "lodash/sortedUniqBy" { - declare module.exports: $Exports<"lodash">["sortedUniqBy"]; -} - -declare module "lodash/tail" { - declare module.exports: $Exports<"lodash">["tail"]; -} - -declare module "lodash/take" { - declare module.exports: $Exports<"lodash">["take"]; -} - -declare module "lodash/takeRight" { - declare module.exports: $Exports<"lodash">["takeRight"]; -} - -declare module "lodash/takeRightWhile" { - declare module.exports: $Exports<"lodash">["takeRightWhile"]; -} - -declare module "lodash/takeWhile" { - declare module.exports: $Exports<"lodash">["takeWhile"]; -} - -declare module "lodash/union" { - declare module.exports: $Exports<"lodash">["union"]; -} - -declare module "lodash/unionBy" { - declare module.exports: $Exports<"lodash">["unionBy"]; -} - -declare module "lodash/unionWith" { - declare module.exports: $Exports<"lodash">["unionWith"]; -} - -declare module "lodash/uniq" { - declare module.exports: $Exports<"lodash">["uniq"]; -} - -declare module "lodash/uniqBy" { - declare module.exports: $Exports<"lodash">["uniqBy"]; -} - -declare module "lodash/uniqWith" { - declare module.exports: $Exports<"lodash">["uniqWith"]; -} - -declare module "lodash/unzip" { - declare module.exports: $Exports<"lodash">["unzip"]; -} - -declare module "lodash/unzipWith" { - declare module.exports: $Exports<"lodash">["unzipWith"]; -} - -declare module "lodash/without" { - declare module.exports: $Exports<"lodash">["without"]; -} - -declare module "lodash/xor" { - declare module.exports: $Exports<"lodash">["xor"]; -} - -declare module "lodash/xorBy" { - declare module.exports: $Exports<"lodash">["xorBy"]; -} - -declare module "lodash/xorWith" { - declare module.exports: $Exports<"lodash">["xorWith"]; -} - -declare module "lodash/zip" { - declare module.exports: $Exports<"lodash">["zip"]; -} - -declare module "lodash/zipObject" { - declare module.exports: $Exports<"lodash">["zipObject"]; -} - -declare module "lodash/zipObjectDeep" { - declare module.exports: $Exports<"lodash">["zipObjectDeep"]; -} - -declare module "lodash/zipWith" { - declare module.exports: $Exports<"lodash">["zipWith"]; -} - -declare module "lodash/countBy" { - declare module.exports: $Exports<"lodash">["countBy"]; -} - -declare module "lodash/each" { - declare module.exports: $Exports<"lodash">["each"]; -} - -declare module "lodash/eachRight" { - declare module.exports: $Exports<"lodash">["eachRight"]; -} - -declare module "lodash/every" { - declare module.exports: $Exports<"lodash">["every"]; -} - -declare module "lodash/filter" { - declare module.exports: $Exports<"lodash">["filter"]; -} - -declare module "lodash/find" { - declare module.exports: $Exports<"lodash">["find"]; -} - -declare module "lodash/findLast" { - declare module.exports: $Exports<"lodash">["findLast"]; -} - -declare module "lodash/flatMap" { - declare module.exports: $Exports<"lodash">["flatMap"]; -} - -declare module "lodash/flatMapDeep" { - declare module.exports: $Exports<"lodash">["flatMapDeep"]; -} - -declare module "lodash/flatMapDepth" { - declare module.exports: $Exports<"lodash">["flatMapDepth"]; -} - -declare module "lodash/forEach" { - declare module.exports: $Exports<"lodash">["forEach"]; -} - -declare module "lodash/forEachRight" { - declare module.exports: $Exports<"lodash">["forEachRight"]; -} - -declare module "lodash/groupBy" { - declare module.exports: $Exports<"lodash">["groupBy"]; -} - -declare module "lodash/includes" { - declare module.exports: $Exports<"lodash">["includes"]; -} - -declare module "lodash/invokeMap" { - declare module.exports: $Exports<"lodash">["invokeMap"]; -} - -declare module "lodash/keyBy" { - declare module.exports: $Exports<"lodash">["keyBy"]; -} - -declare module "lodash/map" { - declare module.exports: $Exports<"lodash">["map"]; -} - -declare module "lodash/orderBy" { - declare module.exports: $Exports<"lodash">["orderBy"]; -} - -declare module "lodash/partition" { - declare module.exports: $Exports<"lodash">["partition"]; -} - -declare module "lodash/reduce" { - declare module.exports: $Exports<"lodash">["reduce"]; -} - -declare module "lodash/reduceRight" { - declare module.exports: $Exports<"lodash">["reduceRight"]; -} - -declare module "lodash/reject" { - declare module.exports: $Exports<"lodash">["reject"]; -} - -declare module "lodash/sample" { - declare module.exports: $Exports<"lodash">["sample"]; -} - -declare module "lodash/sampleSize" { - declare module.exports: $Exports<"lodash">["sampleSize"]; -} - -declare module "lodash/shuffle" { - declare module.exports: $Exports<"lodash">["shuffle"]; -} - -declare module "lodash/size" { - declare module.exports: $Exports<"lodash">["size"]; -} - -declare module "lodash/some" { - declare module.exports: $Exports<"lodash">["some"]; -} - -declare module "lodash/sortBy" { - declare module.exports: $Exports<"lodash">["sortBy"]; -} - -declare module "lodash/now" { - declare module.exports: $Exports<"lodash">["now"]; -} - -declare module "lodash/after" { - declare module.exports: $Exports<"lodash">["after"]; -} - -declare module "lodash/ary" { - declare module.exports: $Exports<"lodash">["ary"]; -} - -declare module "lodash/before" { - declare module.exports: $Exports<"lodash">["before"]; -} - -declare module "lodash/bind" { - declare module.exports: $Exports<"lodash">["bind"]; -} - -declare module "lodash/bindKey" { - declare module.exports: $Exports<"lodash">["bindKey"]; -} - -declare module "lodash/curry" { - declare module.exports: $Exports<"lodash">["curry"]; -} - -declare module "lodash/curryRight" { - declare module.exports: $Exports<"lodash">["curryRight"]; -} - -declare module "lodash/debounce" { - declare module.exports: $Exports<"lodash">["debounce"]; -} - -declare module "lodash/defer" { - declare module.exports: $Exports<"lodash">["defer"]; -} - -declare module "lodash/delay" { - declare module.exports: $Exports<"lodash">["delay"]; -} - -declare module "lodash/flip" { - declare module.exports: $Exports<"lodash">["flip"]; -} - -declare module "lodash/memoize" { - declare module.exports: $Exports<"lodash">["memoize"]; -} - -declare module "lodash/negate" { - declare module.exports: $Exports<"lodash">["negate"]; -} - -declare module "lodash/once" { - declare module.exports: $Exports<"lodash">["once"]; -} - -declare module "lodash/overArgs" { - declare module.exports: $Exports<"lodash">["overArgs"]; -} - -declare module "lodash/partial" { - declare module.exports: $Exports<"lodash">["partial"]; -} - -declare module "lodash/partialRight" { - declare module.exports: $Exports<"lodash">["partialRight"]; -} - -declare module "lodash/rearg" { - declare module.exports: $Exports<"lodash">["rearg"]; -} - -declare module "lodash/rest" { - declare module.exports: $Exports<"lodash">["rest"]; -} - -declare module "lodash/spread" { - declare module.exports: $Exports<"lodash">["spread"]; -} - -declare module "lodash/throttle" { - declare module.exports: $Exports<"lodash">["throttle"]; -} - -declare module "lodash/unary" { - declare module.exports: $Exports<"lodash">["unary"]; -} - -declare module "lodash/wrap" { - declare module.exports: $Exports<"lodash">["wrap"]; -} - -declare module "lodash/castArray" { - declare module.exports: $Exports<"lodash">["castArray"]; -} - -declare module "lodash/clone" { - declare module.exports: $Exports<"lodash">["clone"]; -} - -declare module "lodash/cloneDeep" { - declare module.exports: $Exports<"lodash">["cloneDeep"]; -} - -declare module "lodash/cloneDeepWith" { - declare module.exports: $Exports<"lodash">["cloneDeepWith"]; -} - -declare module "lodash/cloneWith" { - declare module.exports: $Exports<"lodash">["cloneWith"]; -} - -declare module "lodash/conformsTo" { - declare module.exports: $Exports<"lodash">["conformsTo"]; -} - -declare module "lodash/eq" { - declare module.exports: $Exports<"lodash">["eq"]; -} - -declare module "lodash/gt" { - declare module.exports: $Exports<"lodash">["gt"]; -} - -declare module "lodash/gte" { - declare module.exports: $Exports<"lodash">["gte"]; -} - -declare module "lodash/isArguments" { - declare module.exports: $Exports<"lodash">["isArguments"]; -} - -declare module "lodash/isArray" { - declare module.exports: $Exports<"lodash">["isArray"]; -} - -declare module "lodash/isArrayBuffer" { - declare module.exports: $Exports<"lodash">["isArrayBuffer"]; -} - -declare module "lodash/isArrayLike" { - declare module.exports: $Exports<"lodash">["isArrayLike"]; -} - -declare module "lodash/isArrayLikeObject" { - declare module.exports: $Exports<"lodash">["isArrayLikeObject"]; -} - -declare module "lodash/isBoolean" { - declare module.exports: $Exports<"lodash">["isBoolean"]; -} - -declare module "lodash/isBuffer" { - declare module.exports: $Exports<"lodash">["isBuffer"]; -} - -declare module "lodash/isDate" { - declare module.exports: $Exports<"lodash">["isDate"]; -} - -declare module "lodash/isElement" { - declare module.exports: $Exports<"lodash">["isElement"]; -} - -declare module "lodash/isEmpty" { - declare module.exports: $Exports<"lodash">["isEmpty"]; -} - -declare module "lodash/isEqual" { - declare module.exports: $Exports<"lodash">["isEqual"]; -} - -declare module "lodash/isEqualWith" { - declare module.exports: $Exports<"lodash">["isEqualWith"]; -} - -declare module "lodash/isError" { - declare module.exports: $Exports<"lodash">["isError"]; -} - -declare module "lodash/isFinite" { - declare module.exports: $Exports<"lodash">["isFinite"]; -} - -declare module "lodash/isFunction" { - declare module.exports: $Exports<"lodash">["isFunction"]; -} - -declare module "lodash/isInteger" { - declare module.exports: $Exports<"lodash">["isInteger"]; -} - -declare module "lodash/isLength" { - declare module.exports: $Exports<"lodash">["isLength"]; -} - -declare module "lodash/isMap" { - declare module.exports: $Exports<"lodash">["isMap"]; -} - -declare module "lodash/isMatch" { - declare module.exports: $Exports<"lodash">["isMatch"]; -} - -declare module "lodash/isMatchWith" { - declare module.exports: $Exports<"lodash">["isMatchWith"]; -} - -declare module "lodash/isNaN" { - declare module.exports: $Exports<"lodash">["isNaN"]; -} - -declare module "lodash/isNative" { - declare module.exports: $Exports<"lodash">["isNative"]; -} - -declare module "lodash/isNil" { - declare module.exports: $Exports<"lodash">["isNil"]; -} - -declare module "lodash/isNull" { - declare module.exports: $Exports<"lodash">["isNull"]; -} - -declare module "lodash/isNumber" { - declare module.exports: $Exports<"lodash">["isNumber"]; -} - -declare module "lodash/isObject" { - declare module.exports: $Exports<"lodash">["isObject"]; -} - -declare module "lodash/isObjectLike" { - declare module.exports: $Exports<"lodash">["isObjectLike"]; -} - -declare module "lodash/isPlainObject" { - declare module.exports: $Exports<"lodash">["isPlainObject"]; -} - -declare module "lodash/isRegExp" { - declare module.exports: $Exports<"lodash">["isRegExp"]; -} - -declare module "lodash/isSafeInteger" { - declare module.exports: $Exports<"lodash">["isSafeInteger"]; -} - -declare module "lodash/isSet" { - declare module.exports: $Exports<"lodash">["isSet"]; -} - -declare module "lodash/isString" { - declare module.exports: $Exports<"lodash">["isString"]; -} - -declare module "lodash/isSymbol" { - declare module.exports: $Exports<"lodash">["isSymbol"]; -} - -declare module "lodash/isTypedArray" { - declare module.exports: $Exports<"lodash">["isTypedArray"]; -} - -declare module "lodash/isUndefined" { - declare module.exports: $Exports<"lodash">["isUndefined"]; -} - -declare module "lodash/isWeakMap" { - declare module.exports: $Exports<"lodash">["isWeakMap"]; -} - -declare module "lodash/isWeakSet" { - declare module.exports: $Exports<"lodash">["isWeakSet"]; -} - -declare module "lodash/lt" { - declare module.exports: $Exports<"lodash">["lt"]; -} - -declare module "lodash/lte" { - declare module.exports: $Exports<"lodash">["lte"]; -} - -declare module "lodash/toArray" { - declare module.exports: $Exports<"lodash">["toArray"]; -} - -declare module "lodash/toFinite" { - declare module.exports: $Exports<"lodash">["toFinite"]; -} - -declare module "lodash/toInteger" { - declare module.exports: $Exports<"lodash">["toInteger"]; -} - -declare module "lodash/toLength" { - declare module.exports: $Exports<"lodash">["toLength"]; -} - -declare module "lodash/toNumber" { - declare module.exports: $Exports<"lodash">["toNumber"]; -} - -declare module "lodash/toPlainObject" { - declare module.exports: $Exports<"lodash">["toPlainObject"]; -} - -declare module "lodash/toSafeInteger" { - declare module.exports: $Exports<"lodash">["toSafeInteger"]; -} - -declare module "lodash/toString" { - declare module.exports: $Exports<"lodash">["toString"]; -} - -declare module "lodash/add" { - declare module.exports: $Exports<"lodash">["add"]; -} - -declare module "lodash/ceil" { - declare module.exports: $Exports<"lodash">["ceil"]; -} - -declare module "lodash/divide" { - declare module.exports: $Exports<"lodash">["divide"]; -} - -declare module "lodash/floor" { - declare module.exports: $Exports<"lodash">["floor"]; -} - -declare module "lodash/max" { - declare module.exports: $Exports<"lodash">["max"]; -} - -declare module "lodash/maxBy" { - declare module.exports: $Exports<"lodash">["maxBy"]; -} - -declare module "lodash/mean" { - declare module.exports: $Exports<"lodash">["mean"]; -} - -declare module "lodash/meanBy" { - declare module.exports: $Exports<"lodash">["meanBy"]; -} - -declare module "lodash/min" { - declare module.exports: $Exports<"lodash">["min"]; -} - -declare module "lodash/minBy" { - declare module.exports: $Exports<"lodash">["minBy"]; -} - -declare module "lodash/multiply" { - declare module.exports: $Exports<"lodash">["multiply"]; -} - -declare module "lodash/round" { - declare module.exports: $Exports<"lodash">["round"]; -} - -declare module "lodash/subtract" { - declare module.exports: $Exports<"lodash">["subtract"]; -} - -declare module "lodash/sum" { - declare module.exports: $Exports<"lodash">["sum"]; -} - -declare module "lodash/sumBy" { - declare module.exports: $Exports<"lodash">["sumBy"]; -} - -declare module "lodash/clamp" { - declare module.exports: $Exports<"lodash">["clamp"]; -} - -declare module "lodash/inRange" { - declare module.exports: $Exports<"lodash">["inRange"]; -} - -declare module "lodash/random" { - declare module.exports: $Exports<"lodash">["random"]; -} - -declare module "lodash/assign" { - declare module.exports: $Exports<"lodash">["assign"]; -} - -declare module "lodash/assignIn" { - declare module.exports: $Exports<"lodash">["assignIn"]; -} - -declare module "lodash/assignInWith" { - declare module.exports: $Exports<"lodash">["assignInWith"]; -} - -declare module "lodash/assignWith" { - declare module.exports: $Exports<"lodash">["assignWith"]; -} - -declare module "lodash/at" { - declare module.exports: $Exports<"lodash">["at"]; -} - -declare module "lodash/create" { - declare module.exports: $Exports<"lodash">["create"]; -} - -declare module "lodash/defaults" { - declare module.exports: $Exports<"lodash">["defaults"]; -} - -declare module "lodash/defaultsDeep" { - declare module.exports: $Exports<"lodash">["defaultsDeep"]; -} - -declare module "lodash/entries" { - declare module.exports: $Exports<"lodash">["entries"]; -} - -declare module "lodash/entriesIn" { - declare module.exports: $Exports<"lodash">["entriesIn"]; -} - -declare module "lodash/extend" { - declare module.exports: $Exports<"lodash">["extend"]; -} - -declare module "lodash/extendWith" { - declare module.exports: $Exports<"lodash">["extendWith"]; -} - -declare module "lodash/findKey" { - declare module.exports: $Exports<"lodash">["findKey"]; -} - -declare module "lodash/findLastKey" { - declare module.exports: $Exports<"lodash">["findLastKey"]; -} - -declare module "lodash/forIn" { - declare module.exports: $Exports<"lodash">["forIn"]; -} - -declare module "lodash/forInRight" { - declare module.exports: $Exports<"lodash">["forInRight"]; -} - -declare module "lodash/forOwn" { - declare module.exports: $Exports<"lodash">["forOwn"]; -} - -declare module "lodash/forOwnRight" { - declare module.exports: $Exports<"lodash">["forOwnRight"]; -} - -declare module "lodash/functions" { - declare module.exports: $Exports<"lodash">["functions"]; -} - -declare module "lodash/functionsIn" { - declare module.exports: $Exports<"lodash">["functionsIn"]; -} - -declare module "lodash/get" { - declare module.exports: $Exports<"lodash">["get"]; -} - -declare module "lodash/has" { - declare module.exports: $Exports<"lodash">["has"]; -} - -declare module "lodash/hasIn" { - declare module.exports: $Exports<"lodash">["hasIn"]; -} - -declare module "lodash/invert" { - declare module.exports: $Exports<"lodash">["invert"]; -} - -declare module "lodash/invertBy" { - declare module.exports: $Exports<"lodash">["invertBy"]; -} - -declare module "lodash/invoke" { - declare module.exports: $Exports<"lodash">["invoke"]; -} - -declare module "lodash/keys" { - declare module.exports: $Exports<"lodash">["keys"]; -} - -declare module "lodash/keysIn" { - declare module.exports: $Exports<"lodash">["keysIn"]; -} - -declare module "lodash/mapKeys" { - declare module.exports: $Exports<"lodash">["mapKeys"]; -} - -declare module "lodash/mapValues" { - declare module.exports: $Exports<"lodash">["mapValues"]; -} - -declare module "lodash/merge" { - declare module.exports: $Exports<"lodash">["merge"]; -} - -declare module "lodash/mergeWith" { - declare module.exports: $Exports<"lodash">["mergeWith"]; -} - -declare module "lodash/omit" { - declare module.exports: $Exports<"lodash">["omit"]; -} - -declare module "lodash/omitBy" { - declare module.exports: $Exports<"lodash">["omitBy"]; -} - -declare module "lodash/pick" { - declare module.exports: $Exports<"lodash">["pick"]; -} - -declare module "lodash/pickBy" { - declare module.exports: $Exports<"lodash">["pickBy"]; -} - -declare module "lodash/result" { - declare module.exports: $Exports<"lodash">["result"]; -} - -declare module "lodash/set" { - declare module.exports: $Exports<"lodash">["set"]; -} - -declare module "lodash/setWith" { - declare module.exports: $Exports<"lodash">["setWith"]; -} - -declare module "lodash/toPairs" { - declare module.exports: $Exports<"lodash">["toPairs"]; -} - -declare module "lodash/toPairsIn" { - declare module.exports: $Exports<"lodash">["toPairsIn"]; -} - -declare module "lodash/transform" { - declare module.exports: $Exports<"lodash">["transform"]; -} - -declare module "lodash/unset" { - declare module.exports: $Exports<"lodash">["unset"]; -} - -declare module "lodash/update" { - declare module.exports: $Exports<"lodash">["update"]; -} - -declare module "lodash/updateWith" { - declare module.exports: $Exports<"lodash">["updateWith"]; -} - -declare module "lodash/values" { - declare module.exports: $Exports<"lodash">["values"]; -} - -declare module "lodash/valuesIn" { - declare module.exports: $Exports<"lodash">["valuesIn"]; -} - -declare module "lodash/chain" { - declare module.exports: $Exports<"lodash">["chain"]; -} - -declare module "lodash/tap" { - declare module.exports: $Exports<"lodash">["tap"]; -} - -declare module "lodash/thru" { - declare module.exports: $Exports<"lodash">["thru"]; -} - -declare module "lodash/camelCase" { - declare module.exports: $Exports<"lodash">["camelCase"]; -} - -declare module "lodash/capitalize" { - declare module.exports: $Exports<"lodash">["capitalize"]; -} - -declare module "lodash/deburr" { - declare module.exports: $Exports<"lodash">["deburr"]; -} - -declare module "lodash/endsWith" { - declare module.exports: $Exports<"lodash">["endsWith"]; -} - -declare module "lodash/escape" { - declare module.exports: $Exports<"lodash">["escape"]; -} - -declare module "lodash/escapeRegExp" { - declare module.exports: $Exports<"lodash">["escapeRegExp"]; -} - -declare module "lodash/kebabCase" { - declare module.exports: $Exports<"lodash">["kebabCase"]; -} - -declare module "lodash/lowerCase" { - declare module.exports: $Exports<"lodash">["lowerCase"]; -} - -declare module "lodash/lowerFirst" { - declare module.exports: $Exports<"lodash">["lowerFirst"]; -} - -declare module "lodash/pad" { - declare module.exports: $Exports<"lodash">["pad"]; -} - -declare module "lodash/padEnd" { - declare module.exports: $Exports<"lodash">["padEnd"]; -} - -declare module "lodash/padStart" { - declare module.exports: $Exports<"lodash">["padStart"]; -} - -declare module "lodash/parseInt" { - declare module.exports: $Exports<"lodash">["parseInt"]; -} - -declare module "lodash/repeat" { - declare module.exports: $Exports<"lodash">["repeat"]; -} - -declare module "lodash/replace" { - declare module.exports: $Exports<"lodash">["replace"]; -} - -declare module "lodash/snakeCase" { - declare module.exports: $Exports<"lodash">["snakeCase"]; -} - -declare module "lodash/split" { - declare module.exports: $Exports<"lodash">["split"]; -} - -declare module "lodash/startCase" { - declare module.exports: $Exports<"lodash">["startCase"]; -} - -declare module "lodash/startsWith" { - declare module.exports: $Exports<"lodash">["startsWith"]; -} - -declare module "lodash/template" { - declare module.exports: $Exports<"lodash">["template"]; -} - -declare module "lodash/toLower" { - declare module.exports: $Exports<"lodash">["toLower"]; -} - -declare module "lodash/toUpper" { - declare module.exports: $Exports<"lodash">["toUpper"]; -} - -declare module "lodash/trim" { - declare module.exports: $Exports<"lodash">["trim"]; -} - -declare module "lodash/trimEnd" { - declare module.exports: $Exports<"lodash">["trimEnd"]; -} - -declare module "lodash/trimStart" { - declare module.exports: $Exports<"lodash">["trimStart"]; -} - -declare module "lodash/truncate" { - declare module.exports: $Exports<"lodash">["truncate"]; -} - -declare module "lodash/unescape" { - declare module.exports: $Exports<"lodash">["unescape"]; -} - -declare module "lodash/upperCase" { - declare module.exports: $Exports<"lodash">["upperCase"]; -} - -declare module "lodash/upperFirst" { - declare module.exports: $Exports<"lodash">["upperFirst"]; -} - -declare module "lodash/words" { - declare module.exports: $Exports<"lodash">["words"]; -} - -declare module "lodash/attempt" { - declare module.exports: $Exports<"lodash">["attempt"]; -} - -declare module "lodash/bindAll" { - declare module.exports: $Exports<"lodash">["bindAll"]; -} - -declare module "lodash/cond" { - declare module.exports: $Exports<"lodash">["cond"]; -} - -declare module "lodash/conforms" { - declare module.exports: $Exports<"lodash">["conforms"]; -} - -declare module "lodash/constant" { - declare module.exports: $Exports<"lodash">["constant"]; -} - -declare module "lodash/defaultTo" { - declare module.exports: $Exports<"lodash">["defaultTo"]; -} - -declare module "lodash/flow" { - declare module.exports: $Exports<"lodash">["flow"]; -} - -declare module "lodash/flowRight" { - declare module.exports: $Exports<"lodash">["flowRight"]; -} - -declare module "lodash/identity" { - declare module.exports: $Exports<"lodash">["identity"]; -} - -declare module "lodash/iteratee" { - declare module.exports: $Exports<"lodash">["iteratee"]; -} - -declare module "lodash/matches" { - declare module.exports: $Exports<"lodash">["matches"]; -} - -declare module "lodash/matchesProperty" { - declare module.exports: $Exports<"lodash">["matchesProperty"]; -} - -declare module "lodash/method" { - declare module.exports: $Exports<"lodash">["method"]; -} - -declare module "lodash/methodOf" { - declare module.exports: $Exports<"lodash">["methodOf"]; -} - -declare module "lodash/mixin" { - declare module.exports: $Exports<"lodash">["mixin"]; -} - -declare module "lodash/noConflict" { - declare module.exports: $Exports<"lodash">["noConflict"]; -} - -declare module "lodash/noop" { - declare module.exports: $Exports<"lodash">["noop"]; -} - -declare module "lodash/nthArg" { - declare module.exports: $Exports<"lodash">["nthArg"]; -} - -declare module "lodash/over" { - declare module.exports: $Exports<"lodash">["over"]; -} - -declare module "lodash/overEvery" { - declare module.exports: $Exports<"lodash">["overEvery"]; -} - -declare module "lodash/overSome" { - declare module.exports: $Exports<"lodash">["overSome"]; -} - -declare module "lodash/property" { - declare module.exports: $Exports<"lodash">["property"]; -} - -declare module "lodash/propertyOf" { - declare module.exports: $Exports<"lodash">["propertyOf"]; -} - -declare module "lodash/range" { - declare module.exports: $Exports<"lodash">["range"]; -} - -declare module "lodash/rangeRight" { - declare module.exports: $Exports<"lodash">["rangeRight"]; -} - -declare module "lodash/runInContext" { - declare module.exports: $Exports<"lodash">["runInContext"]; -} - -declare module "lodash/stubArray" { - declare module.exports: $Exports<"lodash">["stubArray"]; -} - -declare module "lodash/stubFalse" { - declare module.exports: $Exports<"lodash">["stubFalse"]; -} - -declare module "lodash/stubObject" { - declare module.exports: $Exports<"lodash">["stubObject"]; -} - -declare module "lodash/stubString" { - declare module.exports: $Exports<"lodash">["stubString"]; -} - -declare module "lodash/stubTrue" { - declare module.exports: $Exports<"lodash">["stubTrue"]; -} - -declare module "lodash/times" { - declare module.exports: $Exports<"lodash">["times"]; -} - -declare module "lodash/toPath" { - declare module.exports: $Exports<"lodash">["toPath"]; -} - -declare module "lodash/uniqueId" { - declare module.exports: $Exports<"lodash">["uniqueId"]; -} - -declare module "lodash/fp/chunk" { - declare module.exports: $Exports<"lodash/fp">["chunk"]; -} - -declare module "lodash/fp/compact" { - declare module.exports: $Exports<"lodash/fp">["compact"]; -} - -declare module "lodash/fp/concat" { - declare module.exports: $Exports<"lodash/fp">["concat"]; -} - -declare module "lodash/fp/difference" { - declare module.exports: $Exports<"lodash/fp">["difference"]; -} - -declare module "lodash/fp/differenceBy" { - declare module.exports: $Exports<"lodash/fp">["differenceBy"]; -} - -declare module "lodash/fp/differenceWith" { - declare module.exports: $Exports<"lodash/fp">["differenceWith"]; -} - -declare module "lodash/fp/drop" { - declare module.exports: $Exports<"lodash/fp">["drop"]; -} - -declare module "lodash/fp/dropLast" { - declare module.exports: $Exports<"lodash/fp">["dropLast"]; -} - -declare module "lodash/fp/dropRight" { - declare module.exports: $Exports<"lodash/fp">["dropRight"]; -} - -declare module "lodash/fp/dropRightWhile" { - declare module.exports: $Exports<"lodash/fp">["dropRightWhile"]; -} - -declare module "lodash/fp/dropWhile" { - declare module.exports: $Exports<"lodash/fp">["dropWhile"]; -} - -declare module "lodash/fp/dropLastWhile" { - declare module.exports: $Exports<"lodash/fp">["dropLastWhile"]; -} - -declare module "lodash/fp/fill" { - declare module.exports: $Exports<"lodash/fp">["fill"]; -} - -declare module "lodash/fp/findIndex" { - declare module.exports: $Exports<"lodash/fp">["findIndex"]; -} - -declare module "lodash/fp/findIndexFrom" { - declare module.exports: $Exports<"lodash/fp">["findIndexFrom"]; -} - -declare module "lodash/fp/findLastIndex" { - declare module.exports: $Exports<"lodash/fp">["findLastIndex"]; -} - -declare module "lodash/fp/findLastIndexFrom" { - declare module.exports: $Exports<"lodash/fp">["findLastIndexFrom"]; -} - -declare module "lodash/fp/first" { - declare module.exports: $Exports<"lodash/fp">["first"]; -} - -declare module "lodash/fp/flatten" { - declare module.exports: $Exports<"lodash/fp">["flatten"]; -} - -declare module "lodash/fp/unnest" { - declare module.exports: $Exports<"lodash/fp">["unnest"]; -} - -declare module "lodash/fp/flattenDeep" { - declare module.exports: $Exports<"lodash/fp">["flattenDeep"]; -} - -declare module "lodash/fp/flattenDepth" { - declare module.exports: $Exports<"lodash/fp">["flattenDepth"]; -} - -declare module "lodash/fp/fromPairs" { - declare module.exports: $Exports<"lodash/fp">["fromPairs"]; -} - -declare module "lodash/fp/head" { - declare module.exports: $Exports<"lodash/fp">["head"]; -} - -declare module "lodash/fp/indexOf" { - declare module.exports: $Exports<"lodash/fp">["indexOf"]; -} - -declare module "lodash/fp/indexOfFrom" { - declare module.exports: $Exports<"lodash/fp">["indexOfFrom"]; -} - -declare module "lodash/fp/initial" { - declare module.exports: $Exports<"lodash/fp">["initial"]; -} - -declare module "lodash/fp/init" { - declare module.exports: $Exports<"lodash/fp">["init"]; -} - -declare module "lodash/fp/intersection" { - declare module.exports: $Exports<"lodash/fp">["intersection"]; -} - -declare module "lodash/fp/intersectionBy" { - declare module.exports: $Exports<"lodash/fp">["intersectionBy"]; -} - -declare module "lodash/fp/intersectionWith" { - declare module.exports: $Exports<"lodash/fp">["intersectionWith"]; -} - -declare module "lodash/fp/join" { - declare module.exports: $Exports<"lodash/fp">["join"]; -} - -declare module "lodash/fp/last" { - declare module.exports: $Exports<"lodash/fp">["last"]; -} - -declare module "lodash/fp/lastIndexOf" { - declare module.exports: $Exports<"lodash/fp">["lastIndexOf"]; -} - -declare module "lodash/fp/lastIndexOfFrom" { - declare module.exports: $Exports<"lodash/fp">["lastIndexOfFrom"]; -} - -declare module "lodash/fp/nth" { - declare module.exports: $Exports<"lodash/fp">["nth"]; -} - -declare module "lodash/fp/pull" { - declare module.exports: $Exports<"lodash/fp">["pull"]; -} - -declare module "lodash/fp/pullAll" { - declare module.exports: $Exports<"lodash/fp">["pullAll"]; -} - -declare module "lodash/fp/pullAllBy" { - declare module.exports: $Exports<"lodash/fp">["pullAllBy"]; -} - -declare module "lodash/fp/pullAllWith" { - declare module.exports: $Exports<"lodash/fp">["pullAllWith"]; -} - -declare module "lodash/fp/pullAt" { - declare module.exports: $Exports<"lodash/fp">["pullAt"]; -} - -declare module "lodash/fp/remove" { - declare module.exports: $Exports<"lodash/fp">["remove"]; -} - -declare module "lodash/fp/reverse" { - declare module.exports: $Exports<"lodash/fp">["reverse"]; -} - -declare module "lodash/fp/slice" { - declare module.exports: $Exports<"lodash/fp">["slice"]; -} - -declare module "lodash/fp/sortedIndex" { - declare module.exports: $Exports<"lodash/fp">["sortedIndex"]; -} - -declare module "lodash/fp/sortedIndexBy" { - declare module.exports: $Exports<"lodash/fp">["sortedIndexBy"]; -} - -declare module "lodash/fp/sortedIndexOf" { - declare module.exports: $Exports<"lodash/fp">["sortedIndexOf"]; -} - -declare module "lodash/fp/sortedLastIndex" { - declare module.exports: $Exports<"lodash/fp">["sortedLastIndex"]; -} - -declare module "lodash/fp/sortedLastIndexBy" { - declare module.exports: $Exports<"lodash/fp">["sortedLastIndexBy"]; -} - -declare module "lodash/fp/sortedLastIndexOf" { - declare module.exports: $Exports<"lodash/fp">["sortedLastIndexOf"]; -} - -declare module "lodash/fp/sortedUniq" { - declare module.exports: $Exports<"lodash/fp">["sortedUniq"]; -} - -declare module "lodash/fp/sortedUniqBy" { - declare module.exports: $Exports<"lodash/fp">["sortedUniqBy"]; -} - -declare module "lodash/fp/tail" { - declare module.exports: $Exports<"lodash/fp">["tail"]; -} - -declare module "lodash/fp/take" { - declare module.exports: $Exports<"lodash/fp">["take"]; -} - -declare module "lodash/fp/takeRight" { - declare module.exports: $Exports<"lodash/fp">["takeRight"]; -} - -declare module "lodash/fp/takeLast" { - declare module.exports: $Exports<"lodash/fp">["takeLast"]; -} - -declare module "lodash/fp/takeRightWhile" { - declare module.exports: $Exports<"lodash/fp">["takeRightWhile"]; -} - -declare module "lodash/fp/takeLastWhile" { - declare module.exports: $Exports<"lodash/fp">["takeLastWhile"]; -} - -declare module "lodash/fp/takeWhile" { - declare module.exports: $Exports<"lodash/fp">["takeWhile"]; -} - -declare module "lodash/fp/union" { - declare module.exports: $Exports<"lodash/fp">["union"]; -} - -declare module "lodash/fp/unionBy" { - declare module.exports: $Exports<"lodash/fp">["unionBy"]; -} - -declare module "lodash/fp/unionWith" { - declare module.exports: $Exports<"lodash/fp">["unionWith"]; -} - -declare module "lodash/fp/uniq" { - declare module.exports: $Exports<"lodash/fp">["uniq"]; -} - -declare module "lodash/fp/uniqBy" { - declare module.exports: $Exports<"lodash/fp">["uniqBy"]; -} - -declare module "lodash/fp/uniqWith" { - declare module.exports: $Exports<"lodash/fp">["uniqWith"]; -} - -declare module "lodash/fp/unzip" { - declare module.exports: $Exports<"lodash/fp">["unzip"]; -} - -declare module "lodash/fp/unzipWith" { - declare module.exports: $Exports<"lodash/fp">["unzipWith"]; -} - -declare module "lodash/fp/without" { - declare module.exports: $Exports<"lodash/fp">["without"]; -} - -declare module "lodash/fp/xor" { - declare module.exports: $Exports<"lodash/fp">["xor"]; -} - -declare module "lodash/fp/symmetricDifference" { - declare module.exports: $Exports<"lodash/fp">["symmetricDifference"]; -} - -declare module "lodash/fp/xorBy" { - declare module.exports: $Exports<"lodash/fp">["xorBy"]; -} - -declare module "lodash/fp/symmetricDifferenceBy" { - declare module.exports: $Exports<"lodash/fp">["symmetricDifferenceBy"]; -} - -declare module "lodash/fp/xorWith" { - declare module.exports: $Exports<"lodash/fp">["xorWith"]; -} - -declare module "lodash/fp/symmetricDifferenceWith" { - declare module.exports: $Exports<"lodash/fp">["symmetricDifferenceWith"]; -} - -declare module "lodash/fp/zip" { - declare module.exports: $Exports<"lodash/fp">["zip"]; -} - -declare module "lodash/fp/zipAll" { - declare module.exports: $Exports<"lodash/fp">["zipAll"]; -} - -declare module "lodash/fp/zipObject" { - declare module.exports: $Exports<"lodash/fp">["zipObject"]; -} - -declare module "lodash/fp/zipObj" { - declare module.exports: $Exports<"lodash/fp">["zipObj"]; -} - -declare module "lodash/fp/zipObjectDeep" { - declare module.exports: $Exports<"lodash/fp">["zipObjectDeep"]; -} - -declare module "lodash/fp/zipWith" { - declare module.exports: $Exports<"lodash/fp">["zipWith"]; -} - -declare module "lodash/fp/countBy" { - declare module.exports: $Exports<"lodash/fp">["countBy"]; -} - -declare module "lodash/fp/each" { - declare module.exports: $Exports<"lodash/fp">["each"]; -} - -declare module "lodash/fp/eachRight" { - declare module.exports: $Exports<"lodash/fp">["eachRight"]; -} - -declare module "lodash/fp/every" { - declare module.exports: $Exports<"lodash/fp">["every"]; -} - -declare module "lodash/fp/all" { - declare module.exports: $Exports<"lodash/fp">["all"]; -} - -declare module "lodash/fp/filter" { - declare module.exports: $Exports<"lodash/fp">["filter"]; -} - -declare module "lodash/fp/find" { - declare module.exports: $Exports<"lodash/fp">["find"]; -} - -declare module "lodash/fp/findFrom" { - declare module.exports: $Exports<"lodash/fp">["findFrom"]; -} - -declare module "lodash/fp/findLast" { - declare module.exports: $Exports<"lodash/fp">["findLast"]; -} - -declare module "lodash/fp/findLastFrom" { - declare module.exports: $Exports<"lodash/fp">["findLastFrom"]; -} - -declare module "lodash/fp/flatMap" { - declare module.exports: $Exports<"lodash/fp">["flatMap"]; -} - -declare module "lodash/fp/flatMapDeep" { - declare module.exports: $Exports<"lodash/fp">["flatMapDeep"]; -} - -declare module "lodash/fp/flatMapDepth" { - declare module.exports: $Exports<"lodash/fp">["flatMapDepth"]; -} - -declare module "lodash/fp/forEach" { - declare module.exports: $Exports<"lodash/fp">["forEach"]; -} - -declare module "lodash/fp/forEachRight" { - declare module.exports: $Exports<"lodash/fp">["forEachRight"]; -} - -declare module "lodash/fp/groupBy" { - declare module.exports: $Exports<"lodash/fp">["groupBy"]; -} - -declare module "lodash/fp/includes" { - declare module.exports: $Exports<"lodash/fp">["includes"]; -} - -declare module "lodash/fp/contains" { - declare module.exports: $Exports<"lodash/fp">["contains"]; -} - -declare module "lodash/fp/includesFrom" { - declare module.exports: $Exports<"lodash/fp">["includesFrom"]; -} - -declare module "lodash/fp/invokeMap" { - declare module.exports: $Exports<"lodash/fp">["invokeMap"]; -} - -declare module "lodash/fp/invokeArgsMap" { - declare module.exports: $Exports<"lodash/fp">["invokeArgsMap"]; -} - -declare module "lodash/fp/keyBy" { - declare module.exports: $Exports<"lodash/fp">["keyBy"]; -} - -declare module "lodash/fp/indexBy" { - declare module.exports: $Exports<"lodash/fp">["indexBy"]; -} - -declare module "lodash/fp/map" { - declare module.exports: $Exports<"lodash/fp">["map"]; -} - -declare module "lodash/fp/pluck" { - declare module.exports: $Exports<"lodash/fp">["pluck"]; -} - -declare module "lodash/fp/orderBy" { - declare module.exports: $Exports<"lodash/fp">["orderBy"]; -} - -declare module "lodash/fp/partition" { - declare module.exports: $Exports<"lodash/fp">["partition"]; -} - -declare module "lodash/fp/reduce" { - declare module.exports: $Exports<"lodash/fp">["reduce"]; -} - -declare module "lodash/fp/reduceRight" { - declare module.exports: $Exports<"lodash/fp">["reduceRight"]; -} - -declare module "lodash/fp/reject" { - declare module.exports: $Exports<"lodash/fp">["reject"]; -} - -declare module "lodash/fp/sample" { - declare module.exports: $Exports<"lodash/fp">["sample"]; -} - -declare module "lodash/fp/sampleSize" { - declare module.exports: $Exports<"lodash/fp">["sampleSize"]; -} - -declare module "lodash/fp/shuffle" { - declare module.exports: $Exports<"lodash/fp">["shuffle"]; -} - -declare module "lodash/fp/size" { - declare module.exports: $Exports<"lodash/fp">["size"]; -} - -declare module "lodash/fp/some" { - declare module.exports: $Exports<"lodash/fp">["some"]; -} - -declare module "lodash/fp/any" { - declare module.exports: $Exports<"lodash/fp">["any"]; -} - -declare module "lodash/fp/sortBy" { - declare module.exports: $Exports<"lodash/fp">["sortBy"]; -} - -declare module "lodash/fp/now" { - declare module.exports: $Exports<"lodash/fp">["now"]; -} - -declare module "lodash/fp/after" { - declare module.exports: $Exports<"lodash/fp">["after"]; -} - -declare module "lodash/fp/ary" { - declare module.exports: $Exports<"lodash/fp">["ary"]; -} - -declare module "lodash/fp/nAry" { - declare module.exports: $Exports<"lodash/fp">["nAry"]; -} - -declare module "lodash/fp/before" { - declare module.exports: $Exports<"lodash/fp">["before"]; -} - -declare module "lodash/fp/bind" { - declare module.exports: $Exports<"lodash/fp">["bind"]; -} - -declare module "lodash/fp/bindKey" { - declare module.exports: $Exports<"lodash/fp">["bindKey"]; -} - -declare module "lodash/fp/curry" { - declare module.exports: $Exports<"lodash/fp">["curry"]; -} - -declare module "lodash/fp/curryN" { - declare module.exports: $Exports<"lodash/fp">["curryN"]; -} - -declare module "lodash/fp/curryRight" { - declare module.exports: $Exports<"lodash/fp">["curryRight"]; -} - -declare module "lodash/fp/curryRightN" { - declare module.exports: $Exports<"lodash/fp">["curryRightN"]; -} - -declare module "lodash/fp/debounce" { - declare module.exports: $Exports<"lodash/fp">["debounce"]; -} - -declare module "lodash/fp/defer" { - declare module.exports: $Exports<"lodash/fp">["defer"]; -} - -declare module "lodash/fp/delay" { - declare module.exports: $Exports<"lodash/fp">["delay"]; -} - -declare module "lodash/fp/flip" { - declare module.exports: $Exports<"lodash/fp">["flip"]; -} - -declare module "lodash/fp/memoize" { - declare module.exports: $Exports<"lodash/fp">["memoize"]; -} - -declare module "lodash/fp/negate" { - declare module.exports: $Exports<"lodash/fp">["negate"]; -} - -declare module "lodash/fp/complement" { - declare module.exports: $Exports<"lodash/fp">["complement"]; -} - -declare module "lodash/fp/once" { - declare module.exports: $Exports<"lodash/fp">["once"]; -} - -declare module "lodash/fp/overArgs" { - declare module.exports: $Exports<"lodash/fp">["overArgs"]; -} - -declare module "lodash/fp/useWith" { - declare module.exports: $Exports<"lodash/fp">["useWith"]; -} - -declare module "lodash/fp/partial" { - declare module.exports: $Exports<"lodash/fp">["partial"]; -} - -declare module "lodash/fp/partialRight" { - declare module.exports: $Exports<"lodash/fp">["partialRight"]; -} - -declare module "lodash/fp/rearg" { - declare module.exports: $Exports<"lodash/fp">["rearg"]; -} - -declare module "lodash/fp/rest" { - declare module.exports: $Exports<"lodash/fp">["rest"]; -} - -declare module "lodash/fp/unapply" { - declare module.exports: $Exports<"lodash/fp">["unapply"]; -} - -declare module "lodash/fp/restFrom" { - declare module.exports: $Exports<"lodash/fp">["restFrom"]; -} - -declare module "lodash/fp/spread" { - declare module.exports: $Exports<"lodash/fp">["spread"]; -} - -declare module "lodash/fp/apply" { - declare module.exports: $Exports<"lodash/fp">["apply"]; -} - -declare module "lodash/fp/spreadFrom" { - declare module.exports: $Exports<"lodash/fp">["spreadFrom"]; -} - -declare module "lodash/fp/throttle" { - declare module.exports: $Exports<"lodash/fp">["throttle"]; -} - -declare module "lodash/fp/unary" { - declare module.exports: $Exports<"lodash/fp">["unary"]; -} - -declare module "lodash/fp/wrap" { - declare module.exports: $Exports<"lodash/fp">["wrap"]; -} - -declare module "lodash/fp/castArray" { - declare module.exports: $Exports<"lodash/fp">["castArray"]; -} - -declare module "lodash/fp/clone" { - declare module.exports: $Exports<"lodash/fp">["clone"]; -} - -declare module "lodash/fp/cloneDeep" { - declare module.exports: $Exports<"lodash/fp">["cloneDeep"]; -} - -declare module "lodash/fp/cloneDeepWith" { - declare module.exports: $Exports<"lodash/fp">["cloneDeepWith"]; -} - -declare module "lodash/fp/cloneWith" { - declare module.exports: $Exports<"lodash/fp">["cloneWith"]; -} - -declare module "lodash/fp/conformsTo" { - declare module.exports: $Exports<"lodash/fp">["conformsTo"]; -} - -declare module "lodash/fp/where" { - declare module.exports: $Exports<"lodash/fp">["where"]; -} - -declare module "lodash/fp/conforms" { - declare module.exports: $Exports<"lodash/fp">["conforms"]; -} - -declare module "lodash/fp/eq" { - declare module.exports: $Exports<"lodash/fp">["eq"]; -} - -declare module "lodash/fp/identical" { - declare module.exports: $Exports<"lodash/fp">["identical"]; -} - -declare module "lodash/fp/gt" { - declare module.exports: $Exports<"lodash/fp">["gt"]; -} - -declare module "lodash/fp/gte" { - declare module.exports: $Exports<"lodash/fp">["gte"]; -} - -declare module "lodash/fp/isArguments" { - declare module.exports: $Exports<"lodash/fp">["isArguments"]; -} - -declare module "lodash/fp/isArray" { - declare module.exports: $Exports<"lodash/fp">["isArray"]; -} - -declare module "lodash/fp/isArrayBuffer" { - declare module.exports: $Exports<"lodash/fp">["isArrayBuffer"]; -} - -declare module "lodash/fp/isArrayLike" { - declare module.exports: $Exports<"lodash/fp">["isArrayLike"]; -} - -declare module "lodash/fp/isArrayLikeObject" { - declare module.exports: $Exports<"lodash/fp">["isArrayLikeObject"]; -} - -declare module "lodash/fp/isBoolean" { - declare module.exports: $Exports<"lodash/fp">["isBoolean"]; -} - -declare module "lodash/fp/isBuffer" { - declare module.exports: $Exports<"lodash/fp">["isBuffer"]; -} - -declare module "lodash/fp/isDate" { - declare module.exports: $Exports<"lodash/fp">["isDate"]; -} - -declare module "lodash/fp/isElement" { - declare module.exports: $Exports<"lodash/fp">["isElement"]; -} - -declare module "lodash/fp/isEmpty" { - declare module.exports: $Exports<"lodash/fp">["isEmpty"]; -} - -declare module "lodash/fp/isEqual" { - declare module.exports: $Exports<"lodash/fp">["isEqual"]; -} - -declare module "lodash/fp/equals" { - declare module.exports: $Exports<"lodash/fp">["equals"]; -} - -declare module "lodash/fp/isEqualWith" { - declare module.exports: $Exports<"lodash/fp">["isEqualWith"]; -} - -declare module "lodash/fp/isError" { - declare module.exports: $Exports<"lodash/fp">["isError"]; -} - -declare module "lodash/fp/isFinite" { - declare module.exports: $Exports<"lodash/fp">["isFinite"]; -} - -declare module "lodash/fp/isFunction" { - declare module.exports: $Exports<"lodash/fp">["isFunction"]; -} - -declare module "lodash/fp/isInteger" { - declare module.exports: $Exports<"lodash/fp">["isInteger"]; -} - -declare module "lodash/fp/isLength" { - declare module.exports: $Exports<"lodash/fp">["isLength"]; -} - -declare module "lodash/fp/isMap" { - declare module.exports: $Exports<"lodash/fp">["isMap"]; -} - -declare module "lodash/fp/isMatch" { - declare module.exports: $Exports<"lodash/fp">["isMatch"]; -} - -declare module "lodash/fp/whereEq" { - declare module.exports: $Exports<"lodash/fp">["whereEq"]; -} - -declare module "lodash/fp/isMatchWith" { - declare module.exports: $Exports<"lodash/fp">["isMatchWith"]; -} - -declare module "lodash/fp/isNaN" { - declare module.exports: $Exports<"lodash/fp">["isNaN"]; -} - -declare module "lodash/fp/isNative" { - declare module.exports: $Exports<"lodash/fp">["isNative"]; -} - -declare module "lodash/fp/isNil" { - declare module.exports: $Exports<"lodash/fp">["isNil"]; -} - -declare module "lodash/fp/isNull" { - declare module.exports: $Exports<"lodash/fp">["isNull"]; -} - -declare module "lodash/fp/isNumber" { - declare module.exports: $Exports<"lodash/fp">["isNumber"]; -} - -declare module "lodash/fp/isObject" { - declare module.exports: $Exports<"lodash/fp">["isObject"]; -} - -declare module "lodash/fp/isObjectLike" { - declare module.exports: $Exports<"lodash/fp">["isObjectLike"]; -} - -declare module "lodash/fp/isPlainObject" { - declare module.exports: $Exports<"lodash/fp">["isPlainObject"]; -} - -declare module "lodash/fp/isRegExp" { - declare module.exports: $Exports<"lodash/fp">["isRegExp"]; -} - -declare module "lodash/fp/isSafeInteger" { - declare module.exports: $Exports<"lodash/fp">["isSafeInteger"]; -} - -declare module "lodash/fp/isSet" { - declare module.exports: $Exports<"lodash/fp">["isSet"]; -} - -declare module "lodash/fp/isString" { - declare module.exports: $Exports<"lodash/fp">["isString"]; -} - -declare module "lodash/fp/isSymbol" { - declare module.exports: $Exports<"lodash/fp">["isSymbol"]; -} - -declare module "lodash/fp/isTypedArray" { - declare module.exports: $Exports<"lodash/fp">["isTypedArray"]; -} - -declare module "lodash/fp/isUndefined" { - declare module.exports: $Exports<"lodash/fp">["isUndefined"]; -} - -declare module "lodash/fp/isWeakMap" { - declare module.exports: $Exports<"lodash/fp">["isWeakMap"]; -} - -declare module "lodash/fp/isWeakSet" { - declare module.exports: $Exports<"lodash/fp">["isWeakSet"]; -} - -declare module "lodash/fp/lt" { - declare module.exports: $Exports<"lodash/fp">["lt"]; -} - -declare module "lodash/fp/lte" { - declare module.exports: $Exports<"lodash/fp">["lte"]; -} - -declare module "lodash/fp/toArray" { - declare module.exports: $Exports<"lodash/fp">["toArray"]; -} - -declare module "lodash/fp/toFinite" { - declare module.exports: $Exports<"lodash/fp">["toFinite"]; -} - -declare module "lodash/fp/toInteger" { - declare module.exports: $Exports<"lodash/fp">["toInteger"]; -} - -declare module "lodash/fp/toLength" { - declare module.exports: $Exports<"lodash/fp">["toLength"]; -} - -declare module "lodash/fp/toNumber" { - declare module.exports: $Exports<"lodash/fp">["toNumber"]; -} - -declare module "lodash/fp/toPlainObject" { - declare module.exports: $Exports<"lodash/fp">["toPlainObject"]; -} - -declare module "lodash/fp/toSafeInteger" { - declare module.exports: $Exports<"lodash/fp">["toSafeInteger"]; -} - -declare module "lodash/fp/toString" { - declare module.exports: $Exports<"lodash/fp">["toString"]; -} - -declare module "lodash/fp/add" { - declare module.exports: $Exports<"lodash/fp">["add"]; -} - -declare module "lodash/fp/ceil" { - declare module.exports: $Exports<"lodash/fp">["ceil"]; -} - -declare module "lodash/fp/divide" { - declare module.exports: $Exports<"lodash/fp">["divide"]; -} - -declare module "lodash/fp/floor" { - declare module.exports: $Exports<"lodash/fp">["floor"]; -} - -declare module "lodash/fp/max" { - declare module.exports: $Exports<"lodash/fp">["max"]; -} - -declare module "lodash/fp/maxBy" { - declare module.exports: $Exports<"lodash/fp">["maxBy"]; -} - -declare module "lodash/fp/mean" { - declare module.exports: $Exports<"lodash/fp">["mean"]; -} - -declare module "lodash/fp/meanBy" { - declare module.exports: $Exports<"lodash/fp">["meanBy"]; -} - -declare module "lodash/fp/min" { - declare module.exports: $Exports<"lodash/fp">["min"]; -} - -declare module "lodash/fp/minBy" { - declare module.exports: $Exports<"lodash/fp">["minBy"]; -} - -declare module "lodash/fp/multiply" { - declare module.exports: $Exports<"lodash/fp">["multiply"]; -} - -declare module "lodash/fp/round" { - declare module.exports: $Exports<"lodash/fp">["round"]; -} - -declare module "lodash/fp/subtract" { - declare module.exports: $Exports<"lodash/fp">["subtract"]; -} - -declare module "lodash/fp/sum" { - declare module.exports: $Exports<"lodash/fp">["sum"]; -} - -declare module "lodash/fp/sumBy" { - declare module.exports: $Exports<"lodash/fp">["sumBy"]; -} - -declare module "lodash/fp/clamp" { - declare module.exports: $Exports<"lodash/fp">["clamp"]; -} - -declare module "lodash/fp/inRange" { - declare module.exports: $Exports<"lodash/fp">["inRange"]; -} - -declare module "lodash/fp/random" { - declare module.exports: $Exports<"lodash/fp">["random"]; -} - -declare module "lodash/fp/assign" { - declare module.exports: $Exports<"lodash/fp">["assign"]; -} - -declare module "lodash/fp/assignAll" { - declare module.exports: $Exports<"lodash/fp">["assignAll"]; -} - -declare module "lodash/fp/assignInAll" { - declare module.exports: $Exports<"lodash/fp">["assignInAll"]; -} - -declare module "lodash/fp/extendAll" { - declare module.exports: $Exports<"lodash/fp">["extendAll"]; -} - -declare module "lodash/fp/assignIn" { - declare module.exports: $Exports<"lodash/fp">["assignIn"]; -} - -declare module "lodash/fp/assignInWith" { - declare module.exports: $Exports<"lodash/fp">["assignInWith"]; -} - -declare module "lodash/fp/assignWith" { - declare module.exports: $Exports<"lodash/fp">["assignWith"]; -} - -declare module "lodash/fp/assignInAllWith" { - declare module.exports: $Exports<"lodash/fp">["assignInAllWith"]; -} - -declare module "lodash/fp/extendAllWith" { - declare module.exports: $Exports<"lodash/fp">["extendAllWith"]; -} - -declare module "lodash/fp/assignAllWith" { - declare module.exports: $Exports<"lodash/fp">["assignAllWith"]; -} - -declare module "lodash/fp/at" { - declare module.exports: $Exports<"lodash/fp">["at"]; -} - -declare module "lodash/fp/props" { - declare module.exports: $Exports<"lodash/fp">["props"]; -} - -declare module "lodash/fp/paths" { - declare module.exports: $Exports<"lodash/fp">["paths"]; -} - -declare module "lodash/fp/create" { - declare module.exports: $Exports<"lodash/fp">["create"]; -} - -declare module "lodash/fp/defaults" { - declare module.exports: $Exports<"lodash/fp">["defaults"]; -} - -declare module "lodash/fp/defaultsAll" { - declare module.exports: $Exports<"lodash/fp">["defaultsAll"]; -} - -declare module "lodash/fp/defaultsDeep" { - declare module.exports: $Exports<"lodash/fp">["defaultsDeep"]; -} - -declare module "lodash/fp/defaultsDeepAll" { - declare module.exports: $Exports<"lodash/fp">["defaultsDeepAll"]; -} - -declare module "lodash/fp/entries" { - declare module.exports: $Exports<"lodash/fp">["entries"]; -} - -declare module "lodash/fp/entriesIn" { - declare module.exports: $Exports<"lodash/fp">["entriesIn"]; -} - -declare module "lodash/fp/extend" { - declare module.exports: $Exports<"lodash/fp">["extend"]; -} - -declare module "lodash/fp/extendWith" { - declare module.exports: $Exports<"lodash/fp">["extendWith"]; -} - -declare module "lodash/fp/findKey" { - declare module.exports: $Exports<"lodash/fp">["findKey"]; -} - -declare module "lodash/fp/findLastKey" { - declare module.exports: $Exports<"lodash/fp">["findLastKey"]; -} - -declare module "lodash/fp/forIn" { - declare module.exports: $Exports<"lodash/fp">["forIn"]; -} - -declare module "lodash/fp/forInRight" { - declare module.exports: $Exports<"lodash/fp">["forInRight"]; -} - -declare module "lodash/fp/forOwn" { - declare module.exports: $Exports<"lodash/fp">["forOwn"]; -} - -declare module "lodash/fp/forOwnRight" { - declare module.exports: $Exports<"lodash/fp">["forOwnRight"]; -} - -declare module "lodash/fp/functions" { - declare module.exports: $Exports<"lodash/fp">["functions"]; -} - -declare module "lodash/fp/functionsIn" { - declare module.exports: $Exports<"lodash/fp">["functionsIn"]; -} - -declare module "lodash/fp/get" { - declare module.exports: $Exports<"lodash/fp">["get"]; -} - -declare module "lodash/fp/prop" { - declare module.exports: $Exports<"lodash/fp">["prop"]; -} - -declare module "lodash/fp/path" { - declare module.exports: $Exports<"lodash/fp">["path"]; -} - -declare module "lodash/fp/getOr" { - declare module.exports: $Exports<"lodash/fp">["getOr"]; -} - -declare module "lodash/fp/propOr" { - declare module.exports: $Exports<"lodash/fp">["propOr"]; -} - -declare module "lodash/fp/pathOr" { - declare module.exports: $Exports<"lodash/fp">["pathOr"]; -} - -declare module "lodash/fp/has" { - declare module.exports: $Exports<"lodash/fp">["has"]; -} - -declare module "lodash/fp/hasIn" { - declare module.exports: $Exports<"lodash/fp">["hasIn"]; -} - -declare module "lodash/fp/invert" { - declare module.exports: $Exports<"lodash/fp">["invert"]; -} - -declare module "lodash/fp/invertObj" { - declare module.exports: $Exports<"lodash/fp">["invertObj"]; -} - -declare module "lodash/fp/invertBy" { - declare module.exports: $Exports<"lodash/fp">["invertBy"]; -} - -declare module "lodash/fp/invoke" { - declare module.exports: $Exports<"lodash/fp">["invoke"]; -} - -declare module "lodash/fp/invokeArgs" { - declare module.exports: $Exports<"lodash/fp">["invokeArgs"]; -} - -declare module "lodash/fp/keys" { - declare module.exports: $Exports<"lodash/fp">["keys"]; -} - -declare module "lodash/fp/keysIn" { - declare module.exports: $Exports<"lodash/fp">["keysIn"]; -} - -declare module "lodash/fp/mapKeys" { - declare module.exports: $Exports<"lodash/fp">["mapKeys"]; -} - -declare module "lodash/fp/mapValues" { - declare module.exports: $Exports<"lodash/fp">["mapValues"]; -} - -declare module "lodash/fp/merge" { - declare module.exports: $Exports<"lodash/fp">["merge"]; -} - -declare module "lodash/fp/mergeAll" { - declare module.exports: $Exports<"lodash/fp">["mergeAll"]; -} - -declare module "lodash/fp/mergeWith" { - declare module.exports: $Exports<"lodash/fp">["mergeWith"]; -} - -declare module "lodash/fp/mergeAllWith" { - declare module.exports: $Exports<"lodash/fp">["mergeAllWith"]; -} - -declare module "lodash/fp/omit" { - declare module.exports: $Exports<"lodash/fp">["omit"]; -} - -declare module "lodash/fp/omitAll" { - declare module.exports: $Exports<"lodash/fp">["omitAll"]; -} - -declare module "lodash/fp/omitBy" { - declare module.exports: $Exports<"lodash/fp">["omitBy"]; -} - -declare module "lodash/fp/pick" { - declare module.exports: $Exports<"lodash/fp">["pick"]; -} - -declare module "lodash/fp/pickAll" { - declare module.exports: $Exports<"lodash/fp">["pickAll"]; -} - -declare module "lodash/fp/pickBy" { - declare module.exports: $Exports<"lodash/fp">["pickBy"]; -} - -declare module "lodash/fp/result" { - declare module.exports: $Exports<"lodash/fp">["result"]; -} - -declare module "lodash/fp/set" { - declare module.exports: $Exports<"lodash/fp">["set"]; -} - -declare module "lodash/fp/assoc" { - declare module.exports: $Exports<"lodash/fp">["assoc"]; -} - -declare module "lodash/fp/assocPath" { - declare module.exports: $Exports<"lodash/fp">["assocPath"]; -} - -declare module "lodash/fp/setWith" { - declare module.exports: $Exports<"lodash/fp">["setWith"]; -} - -declare module "lodash/fp/toPairs" { - declare module.exports: $Exports<"lodash/fp">["toPairs"]; -} - -declare module "lodash/fp/toPairsIn" { - declare module.exports: $Exports<"lodash/fp">["toPairsIn"]; -} - -declare module "lodash/fp/transform" { - declare module.exports: $Exports<"lodash/fp">["transform"]; -} - -declare module "lodash/fp/unset" { - declare module.exports: $Exports<"lodash/fp">["unset"]; -} - -declare module "lodash/fp/update" { - declare module.exports: $Exports<"lodash/fp">["update"]; -} - -declare module "lodash/fp/updateWith" { - declare module.exports: $Exports<"lodash/fp">["updateWith"]; -} - -declare module "lodash/fp/values" { - declare module.exports: $Exports<"lodash/fp">["values"]; -} - -declare module "lodash/fp/valuesIn" { - declare module.exports: $Exports<"lodash/fp">["valuesIn"]; -} - -declare module "lodash/fp/tap" { - declare module.exports: $Exports<"lodash/fp">["tap"]; -} - -declare module "lodash/fp/thru" { - declare module.exports: $Exports<"lodash/fp">["thru"]; -} - -declare module "lodash/fp/camelCase" { - declare module.exports: $Exports<"lodash/fp">["camelCase"]; -} - -declare module "lodash/fp/capitalize" { - declare module.exports: $Exports<"lodash/fp">["capitalize"]; -} - -declare module "lodash/fp/deburr" { - declare module.exports: $Exports<"lodash/fp">["deburr"]; -} - -declare module "lodash/fp/endsWith" { - declare module.exports: $Exports<"lodash/fp">["endsWith"]; -} - -declare module "lodash/fp/escape" { - declare module.exports: $Exports<"lodash/fp">["escape"]; -} - -declare module "lodash/fp/escapeRegExp" { - declare module.exports: $Exports<"lodash/fp">["escapeRegExp"]; -} - -declare module "lodash/fp/kebabCase" { - declare module.exports: $Exports<"lodash/fp">["kebabCase"]; -} - -declare module "lodash/fp/lowerCase" { - declare module.exports: $Exports<"lodash/fp">["lowerCase"]; -} - -declare module "lodash/fp/lowerFirst" { - declare module.exports: $Exports<"lodash/fp">["lowerFirst"]; -} - -declare module "lodash/fp/pad" { - declare module.exports: $Exports<"lodash/fp">["pad"]; -} - -declare module "lodash/fp/padChars" { - declare module.exports: $Exports<"lodash/fp">["padChars"]; -} - -declare module "lodash/fp/padEnd" { - declare module.exports: $Exports<"lodash/fp">["padEnd"]; -} - -declare module "lodash/fp/padCharsEnd" { - declare module.exports: $Exports<"lodash/fp">["padCharsEnd"]; -} - -declare module "lodash/fp/padStart" { - declare module.exports: $Exports<"lodash/fp">["padStart"]; -} - -declare module "lodash/fp/padCharsStart" { - declare module.exports: $Exports<"lodash/fp">["padCharsStart"]; -} - -declare module "lodash/fp/parseInt" { - declare module.exports: $Exports<"lodash/fp">["parseInt"]; -} - -declare module "lodash/fp/repeat" { - declare module.exports: $Exports<"lodash/fp">["repeat"]; -} - -declare module "lodash/fp/replace" { - declare module.exports: $Exports<"lodash/fp">["replace"]; -} - -declare module "lodash/fp/snakeCase" { - declare module.exports: $Exports<"lodash/fp">["snakeCase"]; -} - -declare module "lodash/fp/split" { - declare module.exports: $Exports<"lodash/fp">["split"]; -} - -declare module "lodash/fp/startCase" { - declare module.exports: $Exports<"lodash/fp">["startCase"]; -} - -declare module "lodash/fp/startsWith" { - declare module.exports: $Exports<"lodash/fp">["startsWith"]; -} - -declare module "lodash/fp/template" { - declare module.exports: $Exports<"lodash/fp">["template"]; -} - -declare module "lodash/fp/toLower" { - declare module.exports: $Exports<"lodash/fp">["toLower"]; -} - -declare module "lodash/fp/toUpper" { - declare module.exports: $Exports<"lodash/fp">["toUpper"]; -} - -declare module "lodash/fp/trim" { - declare module.exports: $Exports<"lodash/fp">["trim"]; -} - -declare module "lodash/fp/trimChars" { - declare module.exports: $Exports<"lodash/fp">["trimChars"]; -} - -declare module "lodash/fp/trimEnd" { - declare module.exports: $Exports<"lodash/fp">["trimEnd"]; -} - -declare module "lodash/fp/trimCharsEnd" { - declare module.exports: $Exports<"lodash/fp">["trimCharsEnd"]; -} - -declare module "lodash/fp/trimStart" { - declare module.exports: $Exports<"lodash/fp">["trimStart"]; -} - -declare module "lodash/fp/trimCharsStart" { - declare module.exports: $Exports<"lodash/fp">["trimCharsStart"]; -} - -declare module "lodash/fp/truncate" { - declare module.exports: $Exports<"lodash/fp">["truncate"]; -} - -declare module "lodash/fp/unescape" { - declare module.exports: $Exports<"lodash/fp">["unescape"]; -} - -declare module "lodash/fp/upperCase" { - declare module.exports: $Exports<"lodash/fp">["upperCase"]; -} - -declare module "lodash/fp/upperFirst" { - declare module.exports: $Exports<"lodash/fp">["upperFirst"]; -} - -declare module "lodash/fp/words" { - declare module.exports: $Exports<"lodash/fp">["words"]; -} - -declare module "lodash/fp/attempt" { - declare module.exports: $Exports<"lodash/fp">["attempt"]; -} - -declare module "lodash/fp/bindAll" { - declare module.exports: $Exports<"lodash/fp">["bindAll"]; -} - -declare module "lodash/fp/cond" { - declare module.exports: $Exports<"lodash/fp">["cond"]; -} - -declare module "lodash/fp/constant" { - declare module.exports: $Exports<"lodash/fp">["constant"]; -} - -declare module "lodash/fp/always" { - declare module.exports: $Exports<"lodash/fp">["always"]; -} - -declare module "lodash/fp/defaultTo" { - declare module.exports: $Exports<"lodash/fp">["defaultTo"]; -} - -declare module "lodash/fp/flow" { - declare module.exports: $Exports<"lodash/fp">["flow"]; -} - -declare module "lodash/fp/pipe" { - declare module.exports: $Exports<"lodash/fp">["pipe"]; -} - -declare module "lodash/fp/flowRight" { - declare module.exports: $Exports<"lodash/fp">["flowRight"]; -} - -declare module "lodash/fp/compose" { - declare module.exports: $Exports<"lodash/fp">["compose"]; -} - -declare module "lodash/fp/identity" { - declare module.exports: $Exports<"lodash/fp">["identity"]; -} - -declare module "lodash/fp/iteratee" { - declare module.exports: $Exports<"lodash/fp">["iteratee"]; -} - -declare module "lodash/fp/matches" { - declare module.exports: $Exports<"lodash/fp">["matches"]; -} - -declare module "lodash/fp/matchesProperty" { - declare module.exports: $Exports<"lodash/fp">["matchesProperty"]; -} - -declare module "lodash/fp/propEq" { - declare module.exports: $Exports<"lodash/fp">["propEq"]; -} - -declare module "lodash/fp/pathEq" { - declare module.exports: $Exports<"lodash/fp">["pathEq"]; -} - -declare module "lodash/fp/method" { - declare module.exports: $Exports<"lodash/fp">["method"]; -} - -declare module "lodash/fp/methodOf" { - declare module.exports: $Exports<"lodash/fp">["methodOf"]; -} - -declare module "lodash/fp/mixin" { - declare module.exports: $Exports<"lodash/fp">["mixin"]; -} - -declare module "lodash/fp/noConflict" { - declare module.exports: $Exports<"lodash/fp">["noConflict"]; -} - -declare module "lodash/fp/noop" { - declare module.exports: $Exports<"lodash/fp">["noop"]; -} - -declare module "lodash/fp/nthArg" { - declare module.exports: $Exports<"lodash/fp">["nthArg"]; -} - -declare module "lodash/fp/over" { - declare module.exports: $Exports<"lodash/fp">["over"]; -} - -declare module "lodash/fp/juxt" { - declare module.exports: $Exports<"lodash/fp">["juxt"]; -} - -declare module "lodash/fp/overEvery" { - declare module.exports: $Exports<"lodash/fp">["overEvery"]; -} - -declare module "lodash/fp/allPass" { - declare module.exports: $Exports<"lodash/fp">["allPass"]; -} - -declare module "lodash/fp/overSome" { - declare module.exports: $Exports<"lodash/fp">["overSome"]; -} - -declare module "lodash/fp/anyPass" { - declare module.exports: $Exports<"lodash/fp">["anyPass"]; -} - -declare module "lodash/fp/property" { - declare module.exports: $Exports<"lodash/fp">["property"]; -} - -declare module "lodash/fp/propertyOf" { - declare module.exports: $Exports<"lodash/fp">["propertyOf"]; -} - -declare module "lodash/fp/range" { - declare module.exports: $Exports<"lodash/fp">["range"]; -} - -declare module "lodash/fp/rangeStep" { - declare module.exports: $Exports<"lodash/fp">["rangeStep"]; -} - -declare module "lodash/fp/rangeRight" { - declare module.exports: $Exports<"lodash/fp">["rangeRight"]; -} - -declare module "lodash/fp/rangeStepRight" { - declare module.exports: $Exports<"lodash/fp">["rangeStepRight"]; -} - -declare module "lodash/fp/runInContext" { - declare module.exports: $Exports<"lodash/fp">["runInContext"]; -} - -declare module "lodash/fp/stubArray" { - declare module.exports: $Exports<"lodash/fp">["stubArray"]; -} - -declare module "lodash/fp/stubFalse" { - declare module.exports: $Exports<"lodash/fp">["stubFalse"]; -} - -declare module "lodash/fp/F" { - declare module.exports: $Exports<"lodash/fp">["F"]; -} - -declare module "lodash/fp/stubObject" { - declare module.exports: $Exports<"lodash/fp">["stubObject"]; -} - -declare module "lodash/fp/stubString" { - declare module.exports: $Exports<"lodash/fp">["stubString"]; -} - -declare module "lodash/fp/stubTrue" { - declare module.exports: $Exports<"lodash/fp">["stubTrue"]; -} - -declare module "lodash/fp/T" { - declare module.exports: $Exports<"lodash/fp">["T"]; -} - -declare module "lodash/fp/times" { - declare module.exports: $Exports<"lodash/fp">["times"]; -} - -declare module "lodash/fp/toPath" { - declare module.exports: $Exports<"lodash/fp">["toPath"]; -} - -declare module "lodash/fp/uniqueId" { - declare module.exports: $Exports<"lodash/fp">["uniqueId"]; -} diff --git a/keyserver/flow-typed/npm/react-redux_v7.x.x.js b/keyserver/flow-typed/npm/react-redux_v7.x.x.js deleted file mode 100644 --- a/keyserver/flow-typed/npm/react-redux_v7.x.x.js +++ /dev/null @@ -1,344 +0,0 @@ -// flow-typed signature: d3d375af4b8c9095e7360110a2a087fa -// flow-typed version: 6912183195/react-redux_v7.x.x/flow_>=v0.201.x - -/** -The order of type arguments for connect() is as follows: - -connect(…) - -In Flow v0.89 only the first two are mandatory to specify. Other 4 can be repaced with the new awesome type placeholder: - -connect(…) - -But beware, in case of weird type errors somewhere in random places -just type everything and get to a green field and only then try to -remove the definitions you see bogus. - -Decrypting the abbreviations: - WC = Component being wrapped - S = State - D = Dispatch - OP = OwnProps - SP = StateProps - DP = DispatchProps - MP = Merge props - RSP = Returned state props - RDP = Returned dispatch props - RMP = Returned merge props - CP = Props for returned component - Com = React Component - SS = Selected state - ST = Static properties of Com - EFO = Extra factory options (used only in connectAdvanced) -*/ - -declare module "react-redux" { - import * as React from 'react'; - // ------------------------------------------------------------ - // Typings for connect() - // ------------------------------------------------------------ - - declare export type Options = {| - pure?: boolean, - forwardRef?: boolean, - areStatesEqual?: (next: S, prev: S) => boolean, - areOwnPropsEqual?: (next: OP, prev: OP) => boolean, - areStatePropsEqual?: (next: SP, prev: SP) => boolean, - areMergedPropsEqual?: (next: MP, prev: MP) => boolean, - storeKey?: string, - |}; - - declare type MapStateToProps = - | ((state: S, ownProps: OP) => SP) - // If you want to use the factory function but get a strange error - // like "function is not an object" then just type the factory function - // like this: - // const factory: (State, OwnProps) => (State, OwnProps) => StateProps - // and provide the StateProps type to the SP type parameter. - | ((state: S, ownProps: OP) => (state: S, ownProps: OP) => SP); - - declare type Bind = ((...A) => R) => (...A) => ReturnType; - - declare type MapDispatchToPropsFn = - | ((dispatch: D, ownProps: OP) => DP) - // If you want to use the factory function but get a strange error - // like "function is not an object" then just type the factory function - // like this: - // const factory: (Dispatch, OwnProps) => (Dispatch, OwnProps) => DispatchProps - // and provide the DispatchProps type to the DP type parameter. - | ((dispatch: D, ownProps: OP) => (dispatch: D, ownProps: OP) => DP); - - declare class ConnectedComponentClass extends React.Component { - static +WrappedComponent: WC; - getWrappedInstance(): React$ElementRef; - } - - declare export type ConnectedComponent = ConnectedComponentClass; - - // The connection of the Wrapped Component and the Connected Component - // happens here in `MP: P`. It means that type wise MP belongs to P, - // so to say MP >= P. - declare type Connector = >( - WC, - ) => Class> & WC; - - // No `mergeProps` argument - - // Got error like inexact OwnProps is incompatible with exact object type? - // Just make the OP parameter for `connect()` an exact object. - declare type MergeOP = {| ...$Exact, dispatch: D |}; - declare type MergeOPSP = {| ...$Exact, ...SP, dispatch: D |}; - declare type MergeOPDP = {| ...$Exact, ...DP |}; - declare type MergeOPSPDP = {| ...$Exact, ...SP, ...DP |}; - - declare type MapDispatch = { - [K in $Keys]: - DP[K] extends (...args: infer A) => R - ? (...A) => ReturnType - : empty - }; - - declare export function connect( - mapStateToProps?: null | void, - mapDispatchToProps?: null | void, - mergeProps?: null | void, - options?: ?Options>, - ): Connector>; - - declare export function connect( - // If you get error here try adding return type to your mapStateToProps function - mapStateToProps: MapStateToProps, - mapDispatchToProps?: null | void, - mergeProps?: null | void, - options?: ?Options>, - ): Connector>; - - // In this case DP is an object of functions which has been bound to dispatch - // by the given mapDispatchToProps function. - declare export function connect( - mapStateToProps: null | void, - mapDispatchToProps: MapDispatchToPropsFn, - mergeProps?: null | void, - options?: ?Options>, - ): Connector>; - - // In this case DP is an object of action creators not yet bound to dispatch, - // this difference is not important in the vanila redux, - // but in case of usage with redux-thunk, the return type may differ. - declare export function connect( - mapStateToProps: null | void, - mapDispatchToProps: DP, - mergeProps?: null | void, - options?: ?Options>, - ): Connector>>; - - declare export function connect( - // If you get error here try adding return type to your mapStateToProps function - mapStateToProps: MapStateToProps, - mapDispatchToProps: MapDispatchToPropsFn, - mergeProps?: null | void, - options?: ?Options, - ): Connector; - - declare export function connect( - // If you get error here try adding return type to your mapStateToProps function - mapStateToProps: MapStateToProps, - mapDispatchToProps: DP, - mergeProps?: null | void, - options?: ?Options>, - ): Connector>>; - - // With `mergeProps` argument - - declare type MergeProps = ( - stateProps: SP, - dispatchProps: DP, - ownProps: OP, - ) => P; - - declare export function connect( - mapStateToProps: null | void, - mapDispatchToProps: null | void, - // If you get error here try adding return type to you mapStateToProps function - mergeProps: MergeProps, - options?: ?Options, - ): Connector; - - declare export function connect( - mapStateToProps: MapStateToProps, - mapDispatchToProps: null | void, - // If you get error here try adding return type to you mapStateToProps function - mergeProps: MergeProps, - options?: ?Options, - ): Connector; - - // In this case DP is an object of functions which has been bound to dispatch - // by the given mapDispatchToProps function. - declare export function connect( - mapStateToProps: null | void, - mapDispatchToProps: MapDispatchToPropsFn, - mergeProps: MergeProps, - options?: ?Options, - ): Connector; - - // In this case DP is an object of action creators not yet bound to dispatch, - // this difference is not important in the vanila redux, - // but in case of usage with redux-thunk, the return type may differ. - declare export function connect( - mapStateToProps: null | void, - mapDispatchToProps: DP, - mergeProps: MergeProps}>, - options?: ?Options, - ): Connector; - - // In this case DP is an object of functions which has been bound to dispatch - // by the given mapDispatchToProps function. - declare export function connect( - mapStateToProps: MapStateToProps, - mapDispatchToProps: MapDispatchToPropsFn, - mergeProps: MergeProps, - options?: ?Options, - ): Connector; - - // In this case DP is an object of action creators not yet bound to dispatch, - // this difference is not important in the vanila redux, - // but in case of usage with redux-thunk, the return type may differ. - declare export function connect( - mapStateToProps: MapStateToProps, - mapDispatchToProps: DP, - mergeProps: MergeProps}>, - options?: ?Options, - ): Connector; - - // ------------------------------------------------------------ - // Typings for Hooks - // ------------------------------------------------------------ - - /* Action and AnyAction are taken from the redux TypeScript types defined here: - * https://github.com/reduxjs/redux/blob/d794c56f78eccb56ba3c67971c26df8ee34dacc1/src/types/actions.ts - * - * We turn them into objects so that they can be spread. - * - * We use AnyAction as the default for useDispatch as DefinitelyTyped does: - * https://github.com/DefinitelyTyped/DefinitelyTyped/blob/f7ec78508c6797e42f87a4390735bc2c650a1bfd/types/react-redux/index.d.ts#L540 - */ - declare export type Action = { - type: T, - ... - } - - declare export type AnyAction = { - ...Action, - [string]: any, - ... - } - - declare export type Dispatch<-A: Action> = (action: A, ...extraArgs: any[]) => mixed - - // Since A is contravariant in Dispatch, empty is a reasonable bound here. This is equivalent - // to using mixed as a default in a read-only position. - declare export function useDispatch = Dispatch>(): ( - & ((T) => T) - // Supports thunks at their various lengths and use cases depending if user has typed them as tuple vs array - & (((...args: [any]) => T) => T) - & (((...args: [any, any]) => T) => T) - & (((...args: [any, any, any]) => T) => T) - & (((...args: Array) => T) => T) - & D - ); - - declare export function useSelector( - selector: (state: S) => SS, - equalityFn?: (a: SS, b: SS) => boolean, - ): SS; - - declare export function useStore(): Store; - - // ------------------------------------------------------------ - // Typings for Provider - // ------------------------------------------------------------ - - declare export class Provider extends React.Component<{ - store: Store, - children?: React$Node, - ... - }> {} - - declare export function createProvider( - storeKey?: string, - subKey?: string, - ): Class>; - - // ------------------------------------------------------------ - // Typings for connectAdvanced() - // ------------------------------------------------------------ - - declare type ConnectAdvancedOptions = { - getDisplayName?: (name: string) => string, - methodName?: string, - renderCountProp?: string, - shouldHandleStateChanges?: boolean, - storeKey?: string, - forwardRef?: boolean, - ... - }; - - declare type SelectorFactoryOptions = { - getDisplayName: (name: string) => string, - methodName: string, - renderCountProp: ?string, - shouldHandleStateChanges: boolean, - storeKey: string, - forwardRef: boolean, - displayName: string, - wrappedComponentName: string, - WrappedComponent: Com, - ... - }; - - declare type MapStateToPropsEx = ( - state: S, - props: SP, - ) => RSP; - - declare type SelectorFactory< - Com: React.ComponentType, - Dispatch, - S: Object, - OP: Object, - EFO: Object, - CP: Object, - > = ( - dispatch: Dispatch, - factoryOptions: SelectorFactoryOptions & EFO, - ) => MapStateToPropsEx; - - declare export function connectAdvanced< - Com: React.ComponentType, - D, - S: Object, - OP: Object, - CP: Object, - EFO: Object, - ST: { [_: $Keys]: any, ... }, - >( - selectorFactory: SelectorFactory, - connectAdvancedOptions: ?(ConnectAdvancedOptions & EFO), - ): (component: Com) => React.ComponentType & Partial; - - declare export function batch(() => void): void - - declare export function shallowEqual(left: T, right: any): boolean - - declare export default { - Provider: typeof Provider, - createProvider: typeof createProvider, - connect: typeof connect, - connectAdvanced: typeof connectAdvanced, - useDispatch: typeof useDispatch, - useSelector: typeof useSelector, - useStore: typeof useStore, - batch: typeof batch, - ... - }; -} diff --git a/keyserver/flow-typed/npm/react-router-dom_v5.x.x.js b/keyserver/flow-typed/npm/react-router-dom_v5.x.x.js deleted file mode 100644 --- a/keyserver/flow-typed/npm/react-router-dom_v5.x.x.js +++ /dev/null @@ -1,184 +0,0 @@ -// flow-typed signature: 2d02538a529a09fdbf202a871fbb5c75 -// flow-typed version: 5f4b3cb313/react-router-dom_v5.x.x/flow_>=v0.104.x - -declare module "react-router-dom" { - declare export var BrowserRouter: React$ComponentType<{| - basename?: string, - forceRefresh?: boolean, - getUserConfirmation?: GetUserConfirmation, - keyLength?: number, - children?: React$Node - |}> - - declare export var HashRouter: React$ComponentType<{| - basename?: string, - getUserConfirmation?: GetUserConfirmation, - hashType?: "slash" | "noslash" | "hashbang", - children?: React$Node - |}> - - declare export var Link: React$ComponentType<{ - +className?: string, - +to: string | LocationShape, - +replace?: boolean, - +children?: React$Node, - ... - }> - - declare export var NavLink: React$ComponentType<{ - +to: string | LocationShape, - +activeClassName?: string, - +className?: string, - +activeStyle?: { +[string]: mixed, ... }, - +style?: { +[string]: mixed, ... }, - +isActive?: (match: Match, location: Location) => boolean, - +children?: React$Node, - +exact?: boolean, - +strict?: boolean, - ... - }> - - // NOTE: Below are duplicated from react-router. If updating these, please - // update the react-router and react-router-native types as well. - declare export type Location = $ReadOnly<{ - pathname: string, - search: string, - hash: string, - state?: any, - key?: string, - ... - }>; - - declare export type LocationShape = { - pathname?: string, - search?: string, - hash?: string, - state?: any, - ... - }; - - declare export type HistoryAction = "PUSH" | "REPLACE" | "POP"; - - declare export type RouterHistory = { - length: number, - location: Location, - action: HistoryAction, - listen( - callback: (location: Location, action: HistoryAction) => void - ): () => void, - push(path: string | LocationShape, state?: any): void, - replace(path: string | LocationShape, state?: any): void, - go(n: number): void, - goBack(): void, - goForward(): void, - canGo?: (n: number) => boolean, - block( - callback: string | (location: Location, action: HistoryAction) => ?string - ): () => void, - ... - }; - - declare export type Match = { - params: { [key: string]: ?string, ... }, - isExact: boolean, - path: string, - url: string, - ... - }; - - declare export type ContextRouter = {| - history: RouterHistory, - location: Location, - match: Match, - staticContext?: StaticRouterContext - |}; - - declare type ContextRouterVoid = { - history: RouterHistory | void, - location: Location | void, - match: Match | void, - staticContext?: StaticRouterContext | void, - ... - }; - - declare export type GetUserConfirmation = ( - message: string, - callback: (confirmed: boolean) => void - ) => void; - - declare export type StaticRouterContext = { url?: string, ... }; - - declare export var StaticRouter: React$ComponentType<{| - basename?: string, - location?: string | Location, - context: StaticRouterContext, - children?: React$Node - |}> - - declare export var MemoryRouter: React$ComponentType<{| - initialEntries?: Array, - initialIndex?: number, - getUserConfirmation?: GetUserConfirmation, - keyLength?: number, - children?: React$Node - |}> - - declare export var Router: React$ComponentType<{| - history: RouterHistory, - children?: React$Node - |}> - - declare export var Prompt: React$ComponentType<{| - message: string | ((location: Location) => string | boolean), - when?: boolean - |}> - - declare export var Redirect: React$ComponentType<{| - to: string | LocationShape, - push?: boolean, - from?: string, - exact?: boolean, - strict?: boolean - |}> - - declare export var Route: React$ComponentType<{| - component?: React$ComponentType, - render?: (router: ContextRouter) => React$Node, - children?: React$ComponentType | React$Node, - path?: string | Array, - exact?: boolean, - strict?: boolean, - location?: LocationShape, - sensitive?: boolean - |}> - - declare export var Switch: React$ComponentType<{| - children?: React$Node, - location?: Location - |}> - - declare export function withRouter>( - WrappedComponent: Component - ): React$ComponentType<$Diff, ContextRouterVoid>>; - - declare type MatchPathOptions = { - path?: string | string[], - exact?: boolean, - sensitive?: boolean, - strict?: boolean, - ... - }; - - declare export function matchPath( - pathname: string, - options?: MatchPathOptions | string | string[], - parent?: Match - ): null | Match; - - declare export function useHistory(): $PropertyType; - declare export function useLocation(): $PropertyType; - declare export function useParams(): $PropertyType<$PropertyType, 'params'>; - declare export function useRouteMatch(path?: MatchPathOptions | string | string[]): $PropertyType; - - declare export function generatePath(pattern?: string, params?: { +[string]: mixed, ... }): string; -} diff --git a/keyserver/flow-typed/npm/react-router_v5.x.x.js b/keyserver/flow-typed/npm/react-router_v5.x.x.js deleted file mode 100644 --- a/keyserver/flow-typed/npm/react-router_v5.x.x.js +++ /dev/null @@ -1,160 +0,0 @@ -// flow-typed signature: 7a910df5fd688ad6d23c9ceaa43bf1ea -// flow-typed version: 5f4b3cb313/react-router_v5.x.x/flow_>=v0.104.x - -declare module "react-router" { - import * as React from 'react'; - // NOTE: many of these are re-exported by react-router-dom and - // react-router-native, so when making changes, please be sure to update those - // as well. - declare export type Location = $ReadOnly<{ - pathname: string, - search: string, - hash: string, - state?: any, - key?: string, - ... - }>; - - declare export type LocationShape = { - pathname?: string, - search?: string, - hash?: string, - state?: any, - ... - }; - - declare export type HistoryAction = "PUSH" | "REPLACE" | "POP"; - - declare export type RouterHistory = { - length: number, - location: Location, - action: HistoryAction, - listen( - callback: (location: Location, action: HistoryAction) => void - ): () => void, - push(path: string | LocationShape, state?: any): void, - replace(path: string | LocationShape, state?: any): void, - go(n: number): void, - goBack(): void, - goForward(): void, - canGo?: (n: number) => boolean, - block( - callback: string | (location: Location, action: HistoryAction) => ?string - ): () => void, - ... - }; - - declare export type Match = { - params: { [key: string]: ?string, ... }, - isExact: boolean, - path: string, - url: string, - ... - }; - - declare export type ContextRouter = {| - history: RouterHistory, - location: Location, - match: Match, - staticContext?: StaticRouterContext - |}; - - declare export type GetUserConfirmation = ( - message: string, - callback: (confirmed: boolean) => void - ) => void; - - declare type StaticRouterContext = { url?: string, ... }; - - declare export class StaticRouter extends React.Component<{ - basename?: string, - location?: string | Location, - context: StaticRouterContext, - children?: React.Node, - ... - }> {} - - declare export class MemoryRouter extends React.Component<{ - initialEntries?: Array, - initialIndex?: number, - getUserConfirmation?: GetUserConfirmation, - keyLength?: number, - children?: React.Node, - ... - }> {} - - declare export class Router extends React.Component<{ - history: RouterHistory, - children?: React.Node, - ... - }> {} - - declare export class Prompt extends React.Component<{ - message: string | ((location: Location) => string | true), - when?: boolean, - ... - }> {} - - declare export class Redirect extends React.Component<{| - to: string | LocationShape, - push?: boolean, - from?: string, - exact?: boolean, - strict?: boolean - |}> {} - - - declare export class Route extends React.Component<{| - component?: React.ComponentType, - render?: (router: ContextRouter) => React.Node, - children?: React.ComponentType | React.Node, - path?: string | Array, - exact?: boolean, - strict?: boolean, - location?: LocationShape, - sensitive?: boolean - |}> {} - - declare export class Switch extends React.Component<{| - children?: React.Node, - location?: Location - |}> {} - - declare export function withRouter

( - Component: React.ComponentType<{| ...ContextRouter, ...P |}> - ): React.ComponentType

; - - declare type MatchPathOptions = { - path?: string | string[], - exact?: boolean, - strict?: boolean, - sensitive?: boolean, - ... - }; - - declare export function matchPath( - pathname: string, - options?: MatchPathOptions | string | string[] - ): null | Match; - - declare export function useHistory(): $PropertyType; - declare export function useLocation(): $PropertyType; - declare export function useParams(): $PropertyType<$PropertyType, 'params'>; - declare export function useRouteMatch(path?: MatchPathOptions | string | string[]): $PropertyType; - - declare export function generatePath(pattern?: string, params?: {...}): string; - - declare export default { - StaticRouter: typeof StaticRouter, - MemoryRouter: typeof MemoryRouter, - Router: typeof Router, - Prompt: typeof Prompt, - Redirect: typeof Redirect, - Route: typeof Route, - Switch: typeof Switch, - withRouter: typeof withRouter, - matchPath: typeof matchPath, - generatePath: typeof generatePath, - ... - }; -} diff --git a/keyserver/flow-typed/npm/redux_v4.x.x.js b/keyserver/flow-typed/npm/redux_v4.x.x.js deleted file mode 100644 --- a/keyserver/flow-typed/npm/redux_v4.x.x.js +++ /dev/null @@ -1,131 +0,0 @@ -// flow-typed signature: f42950aebee3189b48dae0d4697c6776 -// flow-typed version: 0e28de5e8a/redux_v4.x.x/flow_>=v0.201.x - -declare module 'redux' { - /* - - S = State - A = Action - D = Dispatch - - */ - - declare export type Action = { type: T, ... } - - declare export type DispatchAPI = (action: A) => A; - - declare export type Dispatch = DispatchAPI; - - declare export type MiddlewareAPI> = { - dispatch: D, - getState(): S, - ... - }; - - declare export type Store> = { - // rewrite MiddlewareAPI members in order to get nicer error messages (intersections produce long messages) - dispatch: D, - getState(): S, - subscribe(listener: () => void): () => void, - replaceReducer(nextReducer: Reducer): void, - ... - }; - - declare export type Reducer = (state: S, action: A) => S; - - declare export type Middleware> = ( - api: MiddlewareAPI - ) => (next: D) => D; - - declare export type StoreCreator> = { - (reducer: Reducer, enhancer?: StoreEnhancer): Store, - ( - reducer: Reducer, - preloadedState: S, - enhancer?: StoreEnhancer - ): Store, - ... - }; - - declare export type StoreEnhancer> = ( - next: StoreCreator - ) => StoreCreator; - - declare export function createStore( - reducer: Reducer, - enhancer?: StoreEnhancer - ): Store; - declare export function createStore( - reducer: Reducer, - preloadedState?: S, - enhancer?: StoreEnhancer - ): Store; - - declare export function legacy_createStore( - reducer: Reducer, - enhancer?: StoreEnhancer - ): Store; - declare export function legacy_createStore( - reducer: Reducer, - preloadedState?: S, - enhancer?: StoreEnhancer - ): Store; - - declare export function applyMiddleware( - ...middlewares: Array> - ): StoreEnhancer; - - declare export type ActionCreator = (...args: Array) => A; - declare export type ActionCreators = { [key: K]: ActionCreator, ... }; - - declare export function bindActionCreators< - A, - C: ActionCreator, - D: DispatchAPI - >( - actionCreator: C, - dispatch: D - ): C; - declare export function bindActionCreators< - A, - K, - C: ActionCreators, - D: DispatchAPI - >( - actionCreators: C, - dispatch: D - ): C; - - declare export function combineReducers( - reducers: {[K in keyof RootState]: Reducer} - ): Reducer; - - declare function _compose(): (a: T) => T; - declare function _compose) => mixed>( - f: F, - ): F; - declare function _compose, R>( - f1: (a: A) => R, - f2: (...T) => A, - ): (...T) => R; - declare function _compose, R>( - f1: (b: B) => R, - f2: (a: A) => B, - f3: (...T) => A, - ): (...T) => R; - declare function _compose, R>( - f1: (c: C) => R, - f2: (b: B) => C, - f3: (a: A) => B, - f4: (...T) => A, - ): (...T) => R; - declare function _compose( - f1: (b: any) => R, - ...funcs: $ReadOnlyArray<(...$ReadOnlyArray) => mixed> - ): (...$ReadOnlyArray) => R; - declare function _compose( - ...funcs: $ReadOnlyArray<(...$ReadOnlyArray) => mixed> - ): (...$ReadOnlyArray) => R; - - declare export var compose: typeof _compose; -} diff --git a/landing/flow-typed/npm/react-router-dom_v5.x.x.js b/landing/flow-typed/npm/react-router-dom_v5.x.x.js deleted file mode 100644 --- a/landing/flow-typed/npm/react-router-dom_v5.x.x.js +++ /dev/null @@ -1,184 +0,0 @@ -// flow-typed signature: 2d02538a529a09fdbf202a871fbb5c75 -// flow-typed version: 5f4b3cb313/react-router-dom_v5.x.x/flow_>=v0.104.x - -declare module "react-router-dom" { - declare export var BrowserRouter: React.ComponentType<{| - basename?: string, - forceRefresh?: boolean, - getUserConfirmation?: GetUserConfirmation, - keyLength?: number, - children?: React.Node - |}> - - declare export var HashRouter: React.ComponentType<{| - basename?: string, - getUserConfirmation?: GetUserConfirmation, - hashType?: "slash" | "noslash" | "hashbang", - children?: React.Node - |}> - - declare export var Link: React.ComponentType<{ - +className?: string, - +to: string | LocationShape, - +replace?: boolean, - +children?: React.Node, - ... - }> - - declare export var NavLink: React.ComponentType<{ - +to: string | LocationShape, - +activeClassName?: string, - +className?: string, - +activeStyle?: { +[string]: mixed, ... }, - +style?: { +[string]: mixed, ... }, - +isActive?: (match: Match, location: Location) => boolean, - +children?: React.Node, - +exact?: boolean, - +strict?: boolean, - ... - }> - - // NOTE: Below are duplicated from react-router. If updating these, please - // update the react-router and react-router-native types as well. - declare export type Location = $ReadOnly<{ - pathname: string, - search: string, - hash: string, - state?: any, - key?: string, - ... - }>; - - declare export type LocationShape = { - pathname?: string, - search?: string, - hash?: string, - state?: any, - ... - }; - - declare export type HistoryAction = "PUSH" | "REPLACE" | "POP"; - - declare export type RouterHistory = { - length: number, - location: Location, - action: HistoryAction, - listen( - callback: (location: Location, action: HistoryAction) => void - ): () => void, - push(path: string | LocationShape, state?: any): void, - replace(path: string | LocationShape, state?: any): void, - go(n: number): void, - goBack(): void, - goForward(): void, - canGo?: (n: number) => boolean, - block( - callback: string | (location: Location, action: HistoryAction) => ?string - ): () => void, - ... - }; - - declare export type Match = { - params: { [key: string]: ?string, ... }, - isExact: boolean, - path: string, - url: string, - ... - }; - - declare export type ContextRouter = {| - history: RouterHistory, - location: Location, - match: Match, - staticContext?: StaticRouterContext - |}; - - declare type ContextRouterVoid = { - history: RouterHistory | void, - location: Location | void, - match: Match | void, - staticContext?: StaticRouterContext | void, - ... - }; - - declare export type GetUserConfirmation = ( - message: string, - callback: (confirmed: boolean) => void - ) => void; - - declare export type StaticRouterContext = { url?: string, ... }; - - declare export var StaticRouter: React.ComponentType<{| - basename?: string, - location?: string | Location, - context: StaticRouterContext, - children?: React.Node - |}> - - declare export var MemoryRouter: React.ComponentType<{| - initialEntries?: Array, - initialIndex?: number, - getUserConfirmation?: GetUserConfirmation, - keyLength?: number, - children?: React.Node - |}> - - declare export var Router: React.ComponentType<{| - history: RouterHistory, - children?: React.Node - |}> - - declare export var Prompt: React.ComponentType<{| - message: string | ((location: Location) => string | boolean), - when?: boolean - |}> - - declare export var Redirect: React.ComponentType<{| - to: string | LocationShape, - push?: boolean, - from?: string, - exact?: boolean, - strict?: boolean - |}> - - declare export var Route: React.ComponentType<{| - component?: React.ComponentType, - render?: (router: ContextRouter) => React.Node, - children?: React.ComponentType | React.Node, - path?: string | Array, - exact?: boolean, - strict?: boolean, - location?: LocationShape, - sensitive?: boolean - |}> - - declare export var Switch: React.ComponentType<{| - children?: React.Node, - location?: Location - |}> - - declare export function withRouter>( - WrappedComponent: Component - ): React.ComponentType<$Diff, ContextRouterVoid>>; - - declare type MatchPathOptions = { - path?: string | string[], - exact?: boolean, - sensitive?: boolean, - strict?: boolean, - ... - }; - - declare export function matchPath( - pathname: string, - options?: MatchPathOptions | string | string[], - parent?: Match - ): null | Match; - - declare export function useHistory(): $PropertyType; - declare export function useLocation(): $PropertyType; - declare export function useParams(): $PropertyType<$PropertyType, 'params'>; - declare export function useRouteMatch(path?: MatchPathOptions | string | string[]): $PropertyType; - - declare export function generatePath(pattern?: string, params?: { +[string]: mixed, ... }): string; -} diff --git a/landing/flow-typed/npm/react-router_v5.x.x.js b/landing/flow-typed/npm/react-router_v5.x.x.js deleted file mode 100644 --- a/landing/flow-typed/npm/react-router_v5.x.x.js +++ /dev/null @@ -1,160 +0,0 @@ -// flow-typed signature: 7a910df5fd688ad6d23c9ceaa43bf1ea -// flow-typed version: 5f4b3cb313/react-router_v5.x.x/flow_>=v0.104.x - -declare module "react-router" { - import * as React from 'react'; - // NOTE: many of these are re-exported by react-router-dom and - // react-router-native, so when making changes, please be sure to update those - // as well. - declare export type Location = $ReadOnly<{ - pathname: string, - search: string, - hash: string, - state?: any, - key?: string, - ... - }>; - - declare export type LocationShape = { - pathname?: string, - search?: string, - hash?: string, - state?: any, - ... - }; - - declare export type HistoryAction = "PUSH" | "REPLACE" | "POP"; - - declare export type RouterHistory = { - length: number, - location: Location, - action: HistoryAction, - listen( - callback: (location: Location, action: HistoryAction) => void - ): () => void, - push(path: string | LocationShape, state?: any): void, - replace(path: string | LocationShape, state?: any): void, - go(n: number): void, - goBack(): void, - goForward(): void, - canGo?: (n: number) => boolean, - block( - callback: string | (location: Location, action: HistoryAction) => ?string - ): () => void, - ... - }; - - declare export type Match = { - params: { [key: string]: ?string, ... }, - isExact: boolean, - path: string, - url: string, - ... - }; - - declare export type ContextRouter = {| - history: RouterHistory, - location: Location, - match: Match, - staticContext?: StaticRouterContext - |}; - - declare export type GetUserConfirmation = ( - message: string, - callback: (confirmed: boolean) => void - ) => void; - - declare type StaticRouterContext = { url?: string, ... }; - - declare export class StaticRouter extends React.Component<{ - basename?: string, - location?: string | Location, - context: StaticRouterContext, - children?: React.Node, - ... - }> {} - - declare export class MemoryRouter extends React.Component<{ - initialEntries?: Array, - initialIndex?: number, - getUserConfirmation?: GetUserConfirmation, - keyLength?: number, - children?: React.Node, - ... - }> {} - - declare export class Router extends React.Component<{ - history: RouterHistory, - children?: React.Node, - ... - }> {} - - declare export class Prompt extends React.Component<{ - message: string | ((location: Location) => string | true), - when?: boolean, - ... - }> {} - - declare export class Redirect extends React.Component<{| - to: string | LocationShape, - push?: boolean, - from?: string, - exact?: boolean, - strict?: boolean - |}> {} - - - declare export class Route extends React.Component<{| - component?: React.ComponentType, - render?: (router: ContextRouter) => React.Node, - children?: React.ComponentType | React.Node, - path?: string | Array, - exact?: boolean, - strict?: boolean, - location?: LocationShape, - sensitive?: boolean - |}> {} - - declare export class Switch extends React.Component<{| - children?: React.Node, - location?: Location - |}> {} - - declare export function withRouter

( - Component: React.ComponentType<{| ...ContextRouter, ...P |}> - ): React.ComponentType

; - - declare type MatchPathOptions = { - path?: string | string[], - exact?: boolean, - strict?: boolean, - sensitive?: boolean, - ... - }; - - declare export function matchPath( - pathname: string, - options?: MatchPathOptions | string | string[] - ): null | Match; - - declare export function useHistory(): $PropertyType; - declare export function useLocation(): $PropertyType; - declare export function useParams(): $PropertyType<$PropertyType, 'params'>; - declare export function useRouteMatch(path?: MatchPathOptions | string | string[]): $PropertyType; - - declare export function generatePath(pattern?: string, params?: {...}): string; - - declare export default { - StaticRouter: typeof StaticRouter, - MemoryRouter: typeof MemoryRouter, - Router: typeof Router, - Prompt: typeof Prompt, - Redirect: typeof Redirect, - Route: typeof Route, - Switch: typeof Switch, - withRouter: typeof withRouter, - matchPath: typeof matchPath, - generatePath: typeof generatePath, - ... - }; -} diff --git a/native/flow-typed/npm/base-64_v0.1.x.js b/native/flow-typed/npm/base-64_v0.1.x.js deleted file mode 100644 --- a/native/flow-typed/npm/base-64_v0.1.x.js +++ /dev/null @@ -1,26 +0,0 @@ -// flow-typed signature: 350bbd47d9063ecee4c33220f3f6fa99 -// flow-typed version: c6154227d1/base-64_v0.1.x/flow_>=v0.25.x <=v0.103.x - -declare module 'base-64' { - declare module.exports: { - version: string; - /** - * This function takes a byte string (the input parameter) and encodes it according to base64. - * The input data must be in the form of a string containing only characters - * in the range from U+0000 to U+00FF, each representing a binary byte with values 0x00 to 0xFF. - * The base64.encode() function is designed to be fully compatible - * with btoa() as described in the HTML Standard. - * see: https://html.spec.whatwg.org/multipage/webappapis.html#dom-windowbase64-btoa - */ - encode(input: string): string; - /** - * This function takes a base64-encoded string (the input parameter) and decodes it. - * The return value is in the form of a string containing only characters in - * the range from U+0000 to U+00FF, each representing a binary byte with values 0x00 to 0xFF. - * The base64.decode() function is designed to be fully compatible - * with atob() as described in the HTML Standard. - * see: https://html.spec.whatwg.org/multipage/webappapis.html#dom-windowbase64-atob - */ - decode(input: string): string; - }; -} diff --git a/native/flow-typed/npm/flow-bin_v0.x.x.js b/native/flow-typed/npm/flow-bin_v0.x.x.js deleted file mode 100644 --- a/native/flow-typed/npm/flow-bin_v0.x.x.js +++ /dev/null @@ -1,6 +0,0 @@ -// flow-typed signature: 4e6a5da3290fe9ea49e6bcdced64f358 -// flow-typed version: c6154227d1/flow-bin_v0.x.x/flow_>=v0.25.x <=v0.103.x - -declare module "flow-bin" { - declare module.exports: string; -} diff --git a/native/flow-typed/npm/invariant_v2.x.x.js b/native/flow-typed/npm/invariant_v2.x.x.js deleted file mode 100644 --- a/native/flow-typed/npm/invariant_v2.x.x.js +++ /dev/null @@ -1,6 +0,0 @@ -// flow-typed signature: b8efdbfe8d3c7df1e968c260529ae86e -// flow-typed version: c6154227d1/invariant_v2.x.x/flow_>=v0.33.x <=v0.103.x - -declare module invariant { - declare module.exports: (condition: boolean, message: string) => void; -} diff --git a/native/flow-typed/npm/jest_v29.x.x.js b/native/flow-typed/npm/jest_v29.x.x.js deleted file mode 100644 --- a/native/flow-typed/npm/jest_v29.x.x.js +++ /dev/null @@ -1,1267 +0,0 @@ -// flow-typed signature: f3f75dec8a0c58e78c2a57e2f81e6f7f -// flow-typed version: 00ecb7849a/jest_v29.x.x/flow_>=v0.201.x - -type JestMockFn, TReturn> = { - (...args: TArguments): TReturn, - /** - * An object for introspecting mock calls - */ - mock: { - /** - * An array that represents all calls that have been made into this mock - * function. Each call is represented by an array of arguments that were - * passed during the call. - */ - calls: Array, - /** - * An array containing the call arguments of the last call that was made - * to this mock function. If the function was not called, it will return - * undefined. - */ - lastCall: TArguments, - /** - * An array that contains all the object instances that have been - * instantiated from this mock function. - */ - instances: Array, - /** - * An array that contains all the object results that have been - * returned by this mock function call - */ - results: Array<{ - isThrow: boolean, - value: TReturn, - ... - }>, - ... - }, - /** - * Resets all information stored in the mockFn.mock.calls and - * mockFn.mock.instances arrays. Often this is useful when you want to clean - * up a mock's usage data between two assertions. - */ - mockClear(): void, - /** - * Resets all information stored in the mock. This is useful when you want to - * completely restore a mock back to its initial state. - */ - mockReset(): void, - /** - * Removes the mock and restores the initial implementation. This is useful - * when you want to mock functions in certain test cases and restore the - * original implementation in others. Beware that mockFn.mockRestore only - * works when mock was created with jest.spyOn. Thus you have to take care of - * restoration yourself when manually assigning jest.fn(). - */ - mockRestore(): void, - /** - * Accepts a function that should be used as the implementation of the mock. - * The mock itself will still record all calls that go into and instances - * that come from itself -- the only difference is that the implementation - * will also be executed when the mock is called. - */ - mockImplementation( - fn: (...args: TArguments) => TReturn - ): JestMockFn, - /** - * Accepts a function that will be used as an implementation of the mock for - * one call to the mocked function. Can be chained so that multiple function - * calls produce different results. - */ - mockImplementationOnce( - fn: (...args: TArguments) => TReturn - ): JestMockFn, - /** - * Accepts a string to use in test result output in place of "jest.fn()" to - * indicate which mock function is being referenced. - */ - mockName(name: string): JestMockFn, - /** - * Just a simple sugar function for returning `this` - */ - mockReturnThis(): void, - /** - * Accepts a value that will be returned whenever the mock function is called. - */ - mockReturnValue(value: TReturn): JestMockFn, - /** - * Sugar for only returning a value once inside your mock - */ - mockReturnValueOnce(value: TReturn): JestMockFn, - /** - * Sugar for jest.fn().mockImplementation(() => Promise.resolve(value)) - */ - mockResolvedValue(value: TReturn): JestMockFn>, - /** - * Sugar for jest.fn().mockImplementationOnce(() => Promise.resolve(value)) - */ - mockResolvedValueOnce( - value: TReturn - ): JestMockFn>, - /** - * Sugar for jest.fn().mockImplementation(() => Promise.reject(value)) - */ - mockRejectedValue(value: TReturn): JestMockFn>, - /** - * Sugar for jest.fn().mockImplementationOnce(() => Promise.reject(value)) - */ - mockRejectedValueOnce(value: TReturn): JestMockFn>, - ... -}; - -type JestAsymmetricEqualityType = { - /** - * A custom Jasmine equality tester - */ - asymmetricMatch(value: mixed): boolean, - ... -}; - -type JestCallsType = { - allArgs(): mixed, - all(): mixed, - any(): boolean, - count(): number, - first(): mixed, - mostRecent(): mixed, - reset(): void, - ... -}; - -type JestClockType = { - install(): void, - mockDate(date: Date): void, - tick(milliseconds?: number): void, - uninstall(): void, - ... -}; - -type JestMatcherResult = { - message?: string | (() => string), - pass: boolean, - ... -}; - -type JestMatcher = ( - received: any, - ...actual: Array -) => JestMatcherResult | Promise; - -type JestPromiseType = { - /** - * Use rejects to unwrap the reason of a rejected promise so any other - * matcher can be chained. If the promise is fulfilled the assertion fails. - */ - rejects: JestExpectType, - /** - * Use resolves to unwrap the value of a fulfilled promise so any other - * matcher can be chained. If the promise is rejected the assertion fails. - */ - resolves: JestExpectType, - ... -}; - -/** - * Jest allows functions and classes to be used as test names in test() and - * describe() - */ -type JestTestName = string | Function; - -type FakeableAPI = - | 'Date' - | 'hrtime' - | 'nextTick' - | 'performance' - | 'queueMicrotask' - | 'requestAnimationFrame' - | 'cancelAnimationFrame' - | 'requestIdleCallback' - | 'cancelIdleCallback' - | 'setImmediate' - | 'clearImmediate' - | 'setInterval' - | 'clearInterval' - | 'setTimeout' - | 'clearTimeout'; - -type FakeTimersConfig = { - advanceTimers?: boolean | number, - doNotFake?: Array, - now?: number | Date, - timerLimit?: number, - legacyFakeTimers?: boolean, - ... -}; - -/** - * Plugin: jest-styled-components - */ - -type JestStyledComponentsMatcherValue = - | string - | JestAsymmetricEqualityType - | RegExp - | typeof undefined; - -type JestStyledComponentsMatcherOptions = { - media?: string, - modifier?: string, - supports?: string, - ... -}; - -type JestStyledComponentsMatchersType = { - toHaveStyleRule( - property: string, - value: JestStyledComponentsMatcherValue, - options?: JestStyledComponentsMatcherOptions - ): void, - ... -}; - -/** - * Plugin: jest-enzyme - */ -type EnzymeMatchersType = { - // 5.x - toBeEmpty(): void, - toBePresent(): void, - // 6.x - toBeChecked(): void, - toBeDisabled(): void, - toBeEmptyRender(): void, - toContainMatchingElement(selector: string): void, - toContainMatchingElements(n: number, selector: string): void, - toContainExactlyOneMatchingElement(selector: string): void, - toContainReact(element: React$Element): void, - toExist(): void, - toHaveClassName(className: string): void, - toHaveHTML(html: string): void, - toHaveProp: ((propKey: string, propValue?: any) => void) & - ((props: { ... }) => void), - toHaveRef(refName: string): void, - toHaveState: ((stateKey: string, stateValue?: any) => void) & - ((state: { ... }) => void), - toHaveStyle: ((styleKey: string, styleValue?: any) => void) & - ((style: { ... }) => void), - toHaveTagName(tagName: string): void, - toHaveText(text: string): void, - toHaveValue(value: any): void, - toIncludeText(text: string): void, - toMatchElement( - element: React$Element, - options?: {| ignoreProps?: boolean, verbose?: boolean |} - ): void, - toMatchSelector(selector: string): void, - // 7.x - toHaveDisplayName(name: string): void, - ... -}; - -// DOM testing library extensions (jest-dom) -// https://github.com/testing-library/jest-dom -type DomTestingLibraryType = { - /** - * @deprecated - */ - toBeInTheDOM(container?: HTMLElement): void, - - // 4.x - toBeInTheDocument(): void, - toBeVisible(): void, - toBeEmpty(): void, - toBeDisabled(): void, - toBeEnabled(): void, - toBeInvalid(): void, - toBeRequired(): void, - toBeValid(): void, - toContainElement(element: HTMLElement | null): void, - toContainHTML(htmlText: string): void, - toHaveAttribute(attr: string, value?: any): void, - toHaveClass(...classNames: string[]): void, - toHaveFocus(): void, - toHaveFormValues(expectedValues: { [name: string]: any, ... }): void, - toHaveStyle(css: string | { [name: string]: any, ... }): void, - toHaveTextContent( - text: string | RegExp, - options?: {| normalizeWhitespace: boolean |} - ): void, - toHaveValue(value?: string | string[] | number): void, - - // 5.x - toHaveDisplayValue(value: string | string[]): void, - toBeChecked(): void, - toBeEmptyDOMElement(): void, - toBePartiallyChecked(): void, - toHaveDescription(text: string | RegExp): void, - ... -}; - -// Jest JQuery Matchers: https://github.com/unindented/custom-jquery-matchers -type JestJQueryMatchersType = { - toExist(): void, - toHaveLength(len: number): void, - toHaveId(id: string): void, - toHaveClass(className: string): void, - toHaveTag(tag: string): void, - toHaveAttr(key: string, val?: any): void, - toHaveProp(key: string, val?: any): void, - toHaveText(text: string | RegExp): void, - toHaveData(key: string, val?: any): void, - toHaveValue(val: any): void, - toHaveCss(css: { [key: string]: any, ... }): void, - toBeChecked(): void, - toBeDisabled(): void, - toBeEmpty(): void, - toBeHidden(): void, - toBeSelected(): void, - toBeVisible(): void, - toBeFocused(): void, - toBeInDom(): void, - toBeMatchedBy(sel: string): void, - toHaveDescendant(sel: string): void, - toHaveDescendantWithText(sel: string, text: string | RegExp): void, - ... -}; - -// Jest Extended Matchers: https://github.com/jest-community/jest-extended -type JestExtendedMatchersType = { - /** - * Note: Currently unimplemented - * Passing assertion - * - * @param {String} message - */ - // pass(message: string): void; - - /** - * Note: Currently unimplemented - * Failing assertion - * - * @param {String} message - */ - // fail(message: string): void; - - /** - * Use .toBeEmpty when checking if a String '', Array [] or Object {} is empty. - */ - toBeEmpty(): void, - /** - * Use .toBeOneOf when checking if a value is a member of a given Array. - * @param {Array.<*>} members - */ - toBeOneOf(members: any[]): void, - /** - * Use `.toBeNil` when checking a value is `null` or `undefined`. - */ - toBeNil(): void, - /** - * Use `.toSatisfy` when you want to use a custom matcher by supplying a predicate function that returns a `Boolean`. - * @param {Function} predicate - */ - toSatisfy(predicate: (n: any) => boolean): void, - /** - * Use `.toBeArray` when checking if a value is an `Array`. - */ - toBeArray(): void, - /** - * Use `.toBeArrayOfSize` when checking if a value is an `Array` of size x. - * @param {Number} x - */ - toBeArrayOfSize(x: number): void, - /** - * Use `.toIncludeAllMembers` when checking if an `Array` contains all of the same members of a given set. - * @param {Array.<*>} members - */ - toIncludeAllMembers(members: any[]): void, - /** - * Use `.toIncludeAnyMembers` when checking if an `Array` contains any of the members of a given set. - * @param {Array.<*>} members - */ - toIncludeAnyMembers(members: any[]): void, - /** - * Use `.toSatisfyAll` when you want to use a custom matcher by supplying a predicate function that returns a `Boolean` for all values in an array. - * @param {Function} predicate - */ - toSatisfyAll(predicate: (n: any) => boolean): void, - /** - * Use `.toBeBoolean` when checking if a value is a `Boolean`. - */ - toBeBoolean(): void, - /** - * Use `.toBeTrue` when checking a value is equal (===) to `true`. - */ - toBeTrue(): void, - /** - * Use `.toBeFalse` when checking a value is equal (===) to `false`. - */ - toBeFalse(): void, - /** - * Use .toBeDate when checking if a value is a Date. - */ - toBeDate(): void, - /** - * Use `.toBeFunction` when checking if a value is a `Function`. - */ - toBeFunction(): void, - /** - * Use `.toHaveBeenCalledBefore` when checking if a `Mock` was called before another `Mock`. - * - * Note: Required Jest version >22 - * Note: Your mock functions will have to be asynchronous to cause the timestamps inside of Jest to occur in a differentJS event loop, otherwise the mock timestamps will all be the same - * - * @param {Mock} mock - */ - toHaveBeenCalledBefore(mock: JestMockFn): void, - /** - * Use `.toBeNumber` when checking if a value is a `Number`. - */ - toBeNumber(): void, - /** - * Use `.toBeNaN` when checking a value is `NaN`. - */ - toBeNaN(): void, - /** - * Use `.toBeFinite` when checking if a value is a `Number`, not `NaN` or `Infinity`. - */ - toBeFinite(): void, - /** - * Use `.toBePositive` when checking if a value is a positive `Number`. - */ - toBePositive(): void, - /** - * Use `.toBeNegative` when checking if a value is a negative `Number`. - */ - toBeNegative(): void, - /** - * Use `.toBeEven` when checking if a value is an even `Number`. - */ - toBeEven(): void, - /** - * Use `.toBeOdd` when checking if a value is an odd `Number`. - */ - toBeOdd(): void, - /** - * Use `.toBeWithin` when checking if a number is in between the given bounds of: start (inclusive) and end (exclusive). - * - * @param {Number} start - * @param {Number} end - */ - toBeWithin(start: number, end: number): void, - /** - * Use `.toBeObject` when checking if a value is an `Object`. - */ - toBeObject(): void, - /** - * Use `.toContainKey` when checking if an object contains the provided key. - * - * @param {String} key - */ - toContainKey(key: string): void, - /** - * Use `.toContainKeys` when checking if an object has all of the provided keys. - * - * @param {Array.} keys - */ - toContainKeys(keys: string[]): void, - /** - * Use `.toContainAllKeys` when checking if an object only contains all of the provided keys. - * - * @param {Array.} keys - */ - toContainAllKeys(keys: string[]): void, - /** - * Use `.toContainAnyKeys` when checking if an object contains at least one of the provided keys. - * - * @param {Array.} keys - */ - toContainAnyKeys(keys: string[]): void, - /** - * Use `.toContainValue` when checking if an object contains the provided value. - * - * @param {*} value - */ - toContainValue(value: any): void, - /** - * Use `.toContainValues` when checking if an object contains all of the provided values. - * - * @param {Array.<*>} values - */ - toContainValues(values: any[]): void, - /** - * Use `.toContainAllValues` when checking if an object only contains all of the provided values. - * - * @param {Array.<*>} values - */ - toContainAllValues(values: any[]): void, - /** - * Use `.toContainAnyValues` when checking if an object contains at least one of the provided values. - * - * @param {Array.<*>} values - */ - toContainAnyValues(values: any[]): void, - /** - * Use `.toContainEntry` when checking if an object contains the provided entry. - * - * @param {Array.} entry - */ - toContainEntry(entry: [string, string]): void, - /** - * Use `.toContainEntries` when checking if an object contains all of the provided entries. - * - * @param {Array.>} entries - */ - toContainEntries(entries: [string, string][]): void, - /** - * Use `.toContainAllEntries` when checking if an object only contains all of the provided entries. - * - * @param {Array.>} entries - */ - toContainAllEntries(entries: [string, string][]): void, - /** - * Use `.toContainAnyEntries` when checking if an object contains at least one of the provided entries. - * - * @param {Array.>} entries - */ - toContainAnyEntries(entries: [string, string][]): void, - /** - * Use `.toBeExtensible` when checking if an object is extensible. - */ - toBeExtensible(): void, - /** - * Use `.toBeFrozen` when checking if an object is frozen. - */ - toBeFrozen(): void, - /** - * Use `.toBeSealed` when checking if an object is sealed. - */ - toBeSealed(): void, - /** - * Use `.toBeString` when checking if a value is a `String`. - */ - toBeString(): void, - /** - * Use `.toEqualCaseInsensitive` when checking if a string is equal (===) to another ignoring the casing of both strings. - * - * @param {String} string - */ - toEqualCaseInsensitive(string: string): void, - /** - * Use `.toStartWith` when checking if a `String` starts with a given `String` prefix. - * - * @param {String} prefix - */ - toStartWith(prefix: string): void, - /** - * Use `.toEndWith` when checking if a `String` ends with a given `String` suffix. - * - * @param {String} suffix - */ - toEndWith(suffix: string): void, - /** - * Use `.toInclude` when checking if a `String` includes the given `String` substring. - * - * @param {String} substring - */ - toInclude(substring: string): void, - /** - * Use `.toIncludeRepeated` when checking if a `String` includes the given `String` substring the correct number of times. - * - * @param {String} substring - * @param {Number} times - */ - toIncludeRepeated(substring: string, times: number): void, - /** - * Use `.toIncludeMultiple` when checking if a `String` includes all of the given substrings. - * - * @param {Array.} substring - */ - toIncludeMultiple(substring: string[]): void, - ... -}; - -// Diffing snapshot utility for Jest (snapshot-diff) -// https://github.com/jest-community/snapshot-diff -type SnapshotDiffType = { - /** - * Compare the difference between the actual in the `expect()` - * vs the object inside `valueB` with some extra options. - */ - toMatchDiffSnapshot( - valueB: any, - options?: {| - expand?: boolean, - colors?: boolean, - contextLines?: number, - stablePatchmarks?: boolean, - aAnnotation?: string, - bAnnotation?: string, - |}, - testName?: string - ): void, - ... -}; - -interface JestExpectType { - not: JestExpectType & - EnzymeMatchersType & - DomTestingLibraryType & - JestJQueryMatchersType & - JestStyledComponentsMatchersType & - JestExtendedMatchersType & - SnapshotDiffType; - /** - * If you have a mock function, you can use .lastCalledWith to test what - * arguments it was last called with. - */ - lastCalledWith(...args: Array): void; - /** - * toBe just checks that a value is what you expect. It uses === to check - * strict equality. - */ - toBe(value: any): void; - /** - * Use .toBeCalledWith to ensure that a mock function was called with - * specific arguments. - */ - toBeCalledWith(...args: Array): void; - /** - * Using exact equality with floating point numbers is a bad idea. Rounding - * means that intuitive things fail. - */ - toBeCloseTo(num: number, delta: any): void; - /** - * Use .toBeDefined to check that a variable is not undefined. - */ - toBeDefined(): void; - /** - * Use .toBeFalsy when you don't care what a value is, you just want to - * ensure a value is false in a boolean context. - */ - toBeFalsy(): void; - /** - * To compare floating point numbers, you can use toBeGreaterThan. - */ - toBeGreaterThan(number: number): void; - /** - * To compare floating point numbers, you can use toBeGreaterThanOrEqual. - */ - toBeGreaterThanOrEqual(number: number): void; - /** - * To compare floating point numbers, you can use toBeLessThan. - */ - toBeLessThan(number: number): void; - /** - * To compare floating point numbers, you can use toBeLessThanOrEqual. - */ - toBeLessThanOrEqual(number: number): void; - /** - * Use .toBeInstanceOf(Class) to check that an object is an instance of a - * class. - */ - toBeInstanceOf(cls: Class): void; - /** - * .toBeNull() is the same as .toBe(null) but the error messages are a bit - * nicer. - */ - toBeNull(): void; - /** - * Use .toBeTruthy when you don't care what a value is, you just want to - * ensure a value is true in a boolean context. - */ - toBeTruthy(): void; - /** - * Use .toBeUndefined to check that a variable is undefined. - */ - toBeUndefined(): void; - /** - * Use .toContain when you want to check that an item is in a list. For - * testing the items in the list, this uses ===, a strict equality check. - */ - toContain(item: any): void; - /** - * Use .toContainEqual when you want to check that an item is in a list. For - * testing the items in the list, this matcher recursively checks the - * equality of all fields, rather than checking for object identity. - */ - toContainEqual(item: any): void; - /** - * Use .toEqual when you want to check that two objects have the same value. - * This matcher recursively checks the equality of all fields, rather than - * checking for object identity. - */ - toEqual(value: any): void; - /** - * Use .toHaveBeenCalled to ensure that a mock function got called. - */ - toHaveBeenCalled(): void; - toBeCalled(): void; - /** - * Use .toHaveBeenCalledTimes to ensure that a mock function got called exact - * number of times. - */ - toHaveBeenCalledTimes(number: number): void; - toBeCalledTimes(number: number): void; - /** - * - */ - toHaveBeenNthCalledWith(nthCall: number, ...args: Array): void; - nthCalledWith(nthCall: number, ...args: Array): void; - /** - * - */ - toHaveReturned(): void; - toReturn(): void; - /** - * - */ - toHaveReturnedTimes(number: number): void; - toReturnTimes(number: number): void; - /** - * - */ - toHaveReturnedWith(value: any): void; - toReturnWith(value: any): void; - /** - * - */ - toHaveLastReturnedWith(value: any): void; - lastReturnedWith(value: any): void; - /** - * - */ - toHaveNthReturnedWith(nthCall: number, value: any): void; - nthReturnedWith(nthCall: number, value: any): void; - /** - * Use .toHaveBeenCalledWith to ensure that a mock function was called with - * specific arguments. - */ - toHaveBeenCalledWith(...args: Array): void; - toBeCalledWith(...args: Array): void; - /** - * Use .toHaveBeenLastCalledWith to ensure that a mock function was last called - * with specific arguments. - */ - toHaveBeenLastCalledWith(...args: Array): void; - lastCalledWith(...args: Array): void; - /** - * Check that an object has a .length property and it is set to a certain - * numeric value. - */ - toHaveLength(number: number): void; - /** - * - */ - toHaveProperty(propPath: string | $ReadOnlyArray, value?: any): void; - /** - * Use .toMatch to check that a string matches a regular expression or string. - */ - toMatch(regexpOrString: RegExp | string): void; - /** - * Use .toMatchObject to check that a javascript object matches a subset of the properties of an object. - */ - toMatchObject(object: Object | Array): void; - /** - * Use .toStrictEqual to check that a javascript object matches a subset of the properties of an object. - */ - toStrictEqual(value: any): void; - /** - * This ensures that an Object matches the most recent snapshot. - */ - toMatchSnapshot(propertyMatchers?: any, name?: string): void; - /** - * This ensures that an Object matches the most recent snapshot. - */ - toMatchSnapshot(name: string): void; - - toMatchInlineSnapshot(snapshot?: string): void; - toMatchInlineSnapshot(propertyMatchers?: any, snapshot?: string): void; - /** - * Use .toThrow to test that a function throws when it is called. - * If you want to test that a specific error gets thrown, you can provide an - * argument to toThrow. The argument can be a string for the error message, - * a class for the error, or a regex that should match the error. - * - * Alias: .toThrowError - */ - toThrow(message?: string | Error | Class | RegExp): void; - toThrowError(message?: string | Error | Class | RegExp): void; - /** - * Use .toThrowErrorMatchingSnapshot to test that a function throws a error - * matching the most recent snapshot when it is called. - */ - toThrowErrorMatchingSnapshot(): void; - toThrowErrorMatchingInlineSnapshot(snapshot?: string): void; -} - -type JestObjectType = { - /** - * Disables automatic mocking in the module loader. - * - * After this method is called, all `require()`s will return the real - * versions of each module (rather than a mocked version). - */ - disableAutomock(): JestObjectType, - /** - * An un-hoisted version of disableAutomock - */ - autoMockOff(): JestObjectType, - /** - * Enables automatic mocking in the module loader. - */ - enableAutomock(): JestObjectType, - /** - * An un-hoisted version of enableAutomock - */ - autoMockOn(): JestObjectType, - /** - * Clears the mock.calls and mock.instances properties of all mocks. - * Equivalent to calling .mockClear() on every mocked function. - */ - clearAllMocks(): JestObjectType, - /** - * Resets the state of all mocks. Equivalent to calling .mockReset() on every - * mocked function. - */ - resetAllMocks(): JestObjectType, - /** - * Restores all mocks back to their original value. - */ - restoreAllMocks(): JestObjectType, - /** - * Removes any pending timers from the timer system. - */ - clearAllTimers(): void, - /** - * Returns the number of fake timers still left to run. - */ - getTimerCount(): number, - /** - * Set the current system time used by fake timers. - * Simulates a user changing the system clock while your program is running. - * It affects the current time but it does not in itself cause - * e.g. timers to fire; they will fire exactly as they would have done - * without the call to jest.setSystemTime(). - */ - setSystemTime(now?: number | Date): void, - /** - * The same as `mock` but not moved to the top of the expectation by - * babel-jest. - */ - doMock(moduleName: string, moduleFactory?: any): JestObjectType, - /** - * The same as `unmock` but not moved to the top of the expectation by - * babel-jest. - */ - dontMock(moduleName: string): JestObjectType, - /** - * Returns a new, unused mock function. Optionally takes a mock - * implementation. - */ - fn, TReturn>( - implementation?: (...args: TArguments) => TReturn - ): JestMockFn, - /** - * Determines if the given function is a mocked function. - */ - isMockFunction(fn: Function): boolean, - /** - * Alias of `createMockFromModule`. - */ - genMockFromModule(moduleName: string): any, - /** - * Given the name of a module, use the automatic mocking system to generate a - * mocked version of the module for you. - */ - createMockFromModule(moduleName: string): any, - /** - * Mocks a module with an auto-mocked version when it is being required. - * - * The second argument can be used to specify an explicit module factory that - * is being run instead of using Jest's automocking feature. - * - * The third argument can be used to create virtual mocks -- mocks of modules - * that don't exist anywhere in the system. - */ - mock( - moduleName: string, - moduleFactory?: any, - options?: Object - ): JestObjectType, - /** - * Returns the actual module instead of a mock, bypassing all checks on - * whether the module should receive a mock implementation or not. - */ - requireActual(m: $Flow$ModuleRef | string): T, - /** - * Returns a mock module instead of the actual module, bypassing all checks - * on whether the module should be required normally or not. - */ - requireMock(moduleName: string): any, - /** - * Resets the module registry - the cache of all required modules. This is - * useful to isolate modules where local state might conflict between tests. - */ - resetModules(): JestObjectType, - /** - * Creates a sandbox registry for the modules that are loaded inside the - * callback function. This is useful to isolate specific modules for every - * test so that local module state doesn't conflict between tests. - */ - isolateModules(fn: () => void): JestObjectType, - /** - * Exhausts the micro-task queue (usually interfaced in node via - * process.nextTick). - */ - runAllTicks(): void, - /** - * Exhausts the macro-task queue (i.e., all tasks queued by setTimeout(), - * setInterval(), and setImmediate()). - */ - runAllTimers(): void, - /** - * Exhausts all tasks queued by setImmediate(). - */ - runAllImmediates(): void, - /** - * Executes only the macro task queue (i.e. all tasks queued by setTimeout() - * or setInterval() and setImmediate()). - */ - advanceTimersByTime(msToRun: number): void, - /** - * Executes only the macro-tasks that are currently pending (i.e., only the - * tasks that have been queued by setTimeout() or setInterval() up to this - * point) - */ - runOnlyPendingTimers(): void, - /** - * Explicitly supplies the mock object that the module system should return - * for the specified module. Note: It is recommended to use jest.mock() - * instead. - */ - setMock(moduleName: string, moduleExports: any): JestObjectType, - /** - * Indicates that the module system should never return a mocked version of - * the specified module from require() (e.g. that it should always return the - * real module). - */ - unmock(moduleName: string): JestObjectType, - /** - * Instructs Jest to use fake versions of the standard timer functions - * (setTimeout, setInterval, clearTimeout, clearInterval, nextTick, - * setImmediate and clearImmediate). - */ - useFakeTimers(fakeTimersConfig?: FakeTimersConfig): JestObjectType, - /** - * Instructs Jest to use the real versions of the standard timer functions. - */ - useRealTimers(): JestObjectType, - /** - * Creates a mock function similar to jest.fn but also tracks calls to - * object[methodName]. - */ - spyOn( - object: Object, - methodName: string, - accessType?: 'get' | 'set' - ): JestMockFn, - /** - * Set the default timeout interval for tests and before/after hooks in milliseconds. - * Note: The default timeout interval is 5 seconds if this method is not called. - */ - setTimeout(timeout: number): JestObjectType, - ... -}; - -type JestSpyType = { calls: JestCallsType, ... }; - -type JestDoneFn = {| - (error?: Error): void, - fail: (error: Error) => void, -|}; - -/** Runs this function after every test inside this context */ -declare function afterEach( - fn: (done: JestDoneFn) => ?Promise, - timeout?: number -): void; -/** Runs this function before every test inside this context */ -declare function beforeEach( - fn: (done: JestDoneFn) => ?Promise, - timeout?: number -): void; -/** Runs this function after all tests have finished inside this context */ -declare function afterAll( - fn: (done: JestDoneFn) => ?Promise, - timeout?: number -): void; -/** Runs this function before any tests have started inside this context */ -declare function beforeAll( - fn: (done: JestDoneFn) => ?Promise, - timeout?: number -): void; - -/** A context for grouping tests together */ -declare var describe: { - /** - * Creates a block that groups together several related tests in one "test suite" - */ - (name: JestTestName, fn: () => void): void, - /** - * Only run this describe block - */ - only(name: JestTestName, fn: () => void): void, - /** - * Skip running this describe block - */ - skip(name: JestTestName, fn: () => void): void, - /** - * each runs this test against array of argument arrays per each run - * - * @param {table} table of Test - */ - each( - ...table: Array | mixed> | [Array, string] - ): ( - name: JestTestName, - fn?: (...args: Array) => ?Promise, - timeout?: number - ) => void, - ... -}; - -/** An individual test unit */ -declare var it: { - /** - * An individual test unit - * - * @param {JestTestName} Name of Test - * @param {Function} Test - * @param {number} Timeout for the test, in milliseconds. - */ - ( - name: JestTestName, - fn?: (done: JestDoneFn) => ?Promise, - timeout?: number - ): void, - /** - * Only run this test - * - * @param {JestTestName} Name of Test - * @param {Function} Test - * @param {number} Timeout for the test, in milliseconds. - */ - only: {| - ( - name: JestTestName, - fn?: (done: JestDoneFn) => ?Promise, - timeout?: number - ): void, - each( - ...table: Array | mixed> | [Array, string] - ): ( - name: JestTestName, - fn?: (...args: Array) => ?Promise, - timeout?: number - ) => void, - |}, - /** - * Skip running this test - * - * @param {JestTestName} Name of Test - * @param {Function} Test - * @param {number} Timeout for the test, in milliseconds. - */ - skip: {| - ( - name: JestTestName, - fn?: (done: JestDoneFn) => ?Promise, - timeout?: number - ): void, - each( - ...table: Array | mixed> | [Array, string] - ): ( - name: JestTestName, - fn?: (...args: Array) => ?Promise, - timeout?: number - ) => void, - |}, - /** - * Highlight planned tests in the summary output - * - * @param {String} Name of Test to do - */ - todo(name: string): void, - /** - * Run the test concurrently - * - * @param {JestTestName} Name of Test - * @param {Function} Test - * @param {number} Timeout for the test, in milliseconds. - */ - concurrent( - name: JestTestName, - fn?: (done: JestDoneFn) => ?Promise, - timeout?: number - ): void, - /** - * each runs this test against array of argument arrays per each run - * - * @param {table} table of Test - */ - each( - ...table: Array | mixed> | [Array, string] - ): ( - name: JestTestName, - fn?: (...args: Array) => ?Promise, - timeout?: number - ) => void, - ... -}; - -declare function fit( - name: JestTestName, - fn: (done: JestDoneFn) => ?Promise, - timeout?: number -): void; -/** An individual test unit */ -declare var test: typeof it; -/** A disabled group of tests */ -declare var xdescribe: typeof describe; -/** A focused group of tests */ -declare var fdescribe: typeof describe; -/** A disabled individual test */ -declare var xit: typeof it; -/** A disabled individual test */ -declare var xtest: typeof it; - -type JestPrettyFormatColors = { - comment: { - close: string, - open: string, - ... - }, - content: { - close: string, - open: string, - ... - }, - prop: { - close: string, - open: string, - ... - }, - tag: { - close: string, - open: string, - ... - }, - value: { - close: string, - open: string, - ... - }, - ... -}; - -type JestPrettyFormatIndent = (string) => string; -type JestPrettyFormatRefs = Array; -type JestPrettyFormatPrint = (any) => string; -type JestPrettyFormatStringOrNull = string | null; - -type JestPrettyFormatOptions = {| - callToJSON: boolean, - edgeSpacing: string, - escapeRegex: boolean, - highlight: boolean, - indent: number, - maxDepth: number, - min: boolean, - plugins: JestPrettyFormatPlugins, - printFunctionName: boolean, - spacing: string, - theme: {| - comment: string, - content: string, - prop: string, - tag: string, - value: string, - |}, -|}; - -type JestPrettyFormatPlugin = { - print: ( - val: any, - serialize: JestPrettyFormatPrint, - indent: JestPrettyFormatIndent, - opts: JestPrettyFormatOptions, - colors: JestPrettyFormatColors - ) => string, - test: (any) => boolean, - ... -}; - -type JestPrettyFormatPlugins = Array; - -/** The expect function is used every time you want to test a value */ -declare var expect: { - /** The object that you want to make assertions against */ - ( - value: any - ): JestExpectType & - JestPromiseType & - EnzymeMatchersType & - DomTestingLibraryType & - JestJQueryMatchersType & - JestStyledComponentsMatchersType & - JestExtendedMatchersType & - SnapshotDiffType, - /** Add additional Jasmine matchers to Jest's roster */ - extend(matchers: { [name: string]: JestMatcher, ... }): void, - /** Add a module that formats application-specific data structures. */ - addSnapshotSerializer(pluginModule: JestPrettyFormatPlugin): void, - assertions(expectedAssertions: number): void, - hasAssertions(): void, - any(value: mixed): JestAsymmetricEqualityType, - anything(): any, - arrayContaining(value: $ReadOnlyArray): Array, - objectContaining(value: { ... }): Object, - /** Matches any received string that contains the exact expected string. */ - stringContaining(value: string): string, - stringMatching(value: string | RegExp): string, - not: { - arrayContaining: (value: $ReadOnlyArray) => Array, - objectContaining: (value: { ... }) => Object, - stringContaining: (value: string) => string, - stringMatching: (value: string | RegExp) => string, - ... - }, - ... -}; - -// TODO handle return type -// http://jasmine.github.io/2.4/introduction.html#section-Spies -declare function spyOn(value: mixed, method: string): Object; - -/** Holds all functions related to manipulating test runner */ -declare var jest: JestObjectType; - -/** - * The global Jasmine object, this is generally not exposed as the public API, - * using features inside here could break in later versions of Jest. - */ -declare var jasmine: { - DEFAULT_TIMEOUT_INTERVAL: number, - any(value: mixed): JestAsymmetricEqualityType, - anything(): any, - arrayContaining(value: Array): Array, - clock(): JestClockType, - createSpy(name: string): JestSpyType, - createSpyObj( - baseName: string, - methodNames: Array - ): { [methodName: string]: JestSpyType, ... }, - objectContaining(value: Object): Object, - stringMatching(value: string): string, - ... -}; diff --git a/native/flow-typed/npm/lodash_v4.x.x.js b/native/flow-typed/npm/lodash_v4.x.x.js deleted file mode 100644 --- a/native/flow-typed/npm/lodash_v4.x.x.js +++ /dev/null @@ -1,6367 +0,0 @@ -// flow-typed signature: 23d2a3641578673e8eb7c9f8b6bcc3af -// flow-typed version: 6912183195/lodash_v4.x.x/flow_>=v0.201.x - -declare function compose(): (a: T) => T; -declare function compose) => mixed>( - f: F, -): F; -declare function compose, R>( - f1: (a: A) => R, - f2: (...T) => A, -): (...T) => R; -declare function compose, R>( - f1: (b: B) => R, - f2: (a: A) => B, - f3: (...T) => A, -): (...T) => R; -declare function compose, R>( - f1: (c: C) => R, - f2: (b: B) => C, - f3: (a: A) => B, - f4: (...T) => A, -): (...T) => R; -declare function compose( - f1: (b: any) => R, - ...funcs: $ReadOnlyArray<(...$ReadOnlyArray) => mixed> -): (...$ReadOnlyArray) => R; -declare function compose( - ...funcs: $ReadOnlyArray<(...$ReadOnlyArray) => mixed> -): (...$ReadOnlyArray) => R; - -declare function composeReverse(): (a: T) => T; -declare function composeReverse) => mixed>(f: F): F; -declare function composeReverse, R>( - f1: (...T) => A, - f2: (a: A) => R, -): (...T) => R; -declare function composeReverse, R>( - f1: (...T) => A, - f2: (a: A) => B, - f3: (b: B) => R, -): (...T) => R; -declare function composeReverse, R>( - f1: (...T) => A, - f2: (a: A) => B, - f3: (b: B) => C, - f4: (c: C) => R, -): (...T) => R; -declare function composeReverse( - ...funcs: $ReadOnlyArray<(...$ReadOnlyArray) => mixed> -): (...$ReadOnlyArray) => R; - -declare module "lodash" { - declare type Path = $ReadOnlyArray | string | number; - declare type __CurriedFunction1 = (...r: [AA]) => R; - declare type CurriedFunction1 = __CurriedFunction1; - - declare type __CurriedFunction2 = (( - ...r: [AA] - ) => CurriedFunction1) & - ((...r: [AA, BB]) => R); - declare type CurriedFunction2 = __CurriedFunction2; - - declare type __CurriedFunction3 = (( - ...r: [AA] - ) => CurriedFunction2) & - ((...r: [AA, BB]) => CurriedFunction1) & - ((...r: [AA, BB, CC]) => R); - declare type CurriedFunction3 = __CurriedFunction3; - - declare type __CurriedFunction4< - A, - B, - C, - D, - R, - AA: A, - BB: B, - CC: C, - DD: D - > = ((...r: [AA]) => CurriedFunction3) & - ((...r: [AA, BB]) => CurriedFunction2) & - ((...r: [AA, BB, CC]) => CurriedFunction1) & - ((...r: [AA, BB, CC, DD]) => R); - declare type CurriedFunction4 = __CurriedFunction4; - - declare type __CurriedFunction5< - A, - B, - C, - D, - E, - R, - AA: A, - BB: B, - CC: C, - DD: D, - EE: E - > = ((...r: [AA]) => CurriedFunction4) & - ((...r: [AA, BB]) => CurriedFunction3) & - ((...r: [AA, BB, CC]) => CurriedFunction2) & - ((...r: [AA, BB, CC, DD]) => CurriedFunction1) & - ((...r: [AA, BB, CC, DD, EE]) => R); - declare type CurriedFunction5 = __CurriedFunction5; - - declare type __CurriedFunction6< - A, - B, - C, - D, - E, - F, - R, - AA: A, - BB: B, - CC: C, - DD: D, - EE: E, - FF: F - > = ((...r: [AA]) => CurriedFunction5) & - ((...r: [AA, BB]) => CurriedFunction4) & - ((...r: [AA, BB, CC]) => CurriedFunction3) & - ((...r: [AA, BB, CC, DD]) => CurriedFunction2) & - ((...r: [AA, BB, CC, DD, EE]) => CurriedFunction1) & - ((...r: [AA, BB, CC, DD, EE, FF]) => R); - declare type CurriedFunction6 = __CurriedFunction6; - - declare type Curry = (((...r: [A]) => R) => CurriedFunction1) & - (((...r: [A, B]) => R) => CurriedFunction2) & - (((...r: [A, B, C]) => R) => CurriedFunction3) & - (( - (...r: [A, B, C, D]) => R - ) => CurriedFunction4) & - (( - (...r: [A, B, C, D, E]) => R - ) => CurriedFunction5) & - (( - (...r: [A, B, C, D, E, F]) => R - ) => CurriedFunction6); - - declare type UnaryFn = (a: A) => R; - - declare type TemplateSettings = { - escape?: RegExp, - evaluate?: RegExp, - imports?: Object, - interpolate?: RegExp, - variable?: string, - ... - }; - - declare type TruncateOptions = { - length?: number, - omission?: string, - separator?: RegExp | string, - ... - }; - - declare type Cancelable = { - cancel: () => void, - flush: () => mixed, - ... - }; - - declare type DebounceOptions = { - leading?: boolean, - maxWait?: number, - trailing?: boolean, - ... - }; - - declare type ThrottleOptions = { - leading?: boolean, - trailing?: boolean, - ... - }; - - // using opaque type for object key is not supported by Flow atm: https://github.com/facebook/flow/issues/5407 - declare type Key = string | number; - declare type IndexerObject = { [key: K]: V, ... }; - declare type ReadOnlyIndexerObject = $ReadOnly>; - declare type NestedArray = Array>; - declare type Collection = $ReadOnlyArray | ReadOnlyIndexerObject; - - declare type matchesIterateeShorthand = { [key: string]: any, ... }; - declare type matchesPropertyIterateeShorthand = [string, any]; - declare type propertyIterateeShorthand = string; - - declare type OPredicate = - | ((value: A, key: string, object: O) => any) - | matchesIterateeShorthand - | matchesPropertyIterateeShorthand - | propertyIterateeShorthand; - - declare type IterateeWithResult = - | ((value: V, key: K, object: O) => R) - | string; - - declare type OIterateeWithResult = - | ReadOnlyIndexerObject - | IterateeWithResult; - declare type OIteratee = OIterateeWithResult; - - declare type AFlatMapIteratee = - | ((item: V, index: number, array: O) => $ReadOnlyArray | R) - | string - declare type OFlatMapIteratee = IterateeWithResult | R>; - - declare type Predicate = - | ((value: T, index: number, array: Array) => any) - | matchesIterateeShorthand - | matchesPropertyIterateeShorthand - | propertyIterateeShorthand; - - declare type _ValueOnlyIteratee = (value: T) => mixed; - declare type ValueOnlyIteratee = _ValueOnlyIteratee | string; - declare type _Iteratee = ( - item: T, - index: number, - array: ?Array - ) => mixed; - declare type Iteratee = _Iteratee | Object | string; - declare type Comparator = (item: T, item2: T) => boolean; - - declare type ReadOnlyMapIterator = - | ((item: T, index: number, array: $ReadOnlyArray) => U) - | propertyIterateeShorthand; - - declare type OMapIterator = - | ((item: T, key: string, object: O) => U) - | propertyIterateeShorthand; - - declare type Lodash = {| - // Array - chunk(array?: ?$ReadOnlyArray, size?: ?number): Array>; - compact(array?: ?$ReadOnlyArray): Array; - concat( - base?: ?$ReadOnlyArray, - ...elements: $ReadOnlyArray - ): Array; - difference( - array?: ?$ReadOnlyArray, - ...values: $ReadOnlyArray> - ): Array; - differenceBy( - array?: ?$ReadOnlyArray, - values?: ?$ReadOnlyArray, - iteratee?: ?ValueOnlyIteratee - ): Array; - differenceWith( - array?: ?$ReadOnlyArray, - values?: ?$ReadOnlyArray, - comparator?: ?(item: T, item2: U) => boolean - ): Array; - drop(array?: ?$ReadOnlyArray, n?: ?number): Array; - dropRight(array?: ?$ReadOnlyArray, n?: ?number): Array; - dropRightWhile(array?: ?$ReadOnlyArray, predicate?: ?Predicate): Array; - dropWhile(array?: ?$ReadOnlyArray, predicate?: ?Predicate): Array; - fill( - array?: ?Array, - value?: ?U, - start?: ?number, - end?: ?number - ): Array; - findIndex: - & (( - array: $ReadOnlyArray, - predicate?: ?Predicate, - fromIndex?: ?number - ) => number) - & (( - array: void | null, - predicate?: ?Predicate, - fromIndex?: ?number - ) => -1); - findLastIndex: - & (( - array: $ReadOnlyArray, - predicate?: ?Predicate, - fromIndex?: ?number - ) => number) - & (( - array: void | null, - predicate?: ?Predicate, - fromIndex?: ?number - ) => -1); - // alias of _.head - first(array: ?$ReadOnlyArray): T; - flatten(array?: ?$ReadOnlyArray<$ReadOnlyArray | X>): Array; - flattenDeep(array?: ?$ReadOnlyArray): Array; - flattenDepth(array?: ?$ReadOnlyArray, depth?: ?number): Array; - fromPairs(pairs?: ?$ReadOnlyArray<[A, B]>): {| [key: A]: B |}; - head(array: ?$ReadOnlyArray): T; - indexOf: - & ((array: $ReadOnlyArray, value: T, fromIndex?: number) => number) - & ((array: void | null, value?: ?T, fromIndex?: ?number) => -1); - initial(array: ?$ReadOnlyArray): Array; - intersection(...arrays?: Array<$ReadOnlyArray>): Array; - //Workaround until (...parameter: T, parameter2: U) works - intersectionBy: - & (( - a1?: ?$ReadOnlyArray, - iteratee?: ?ValueOnlyIteratee - ) => Array) - & (( - a1?: ?$ReadOnlyArray, - a2?: ?$ReadOnlyArray, - iteratee?: ?ValueOnlyIteratee - ) => Array) - & (( - a1?: ?$ReadOnlyArray, - a2?: ?$ReadOnlyArray, - a3?: ?$ReadOnlyArray, - iteratee?: ?ValueOnlyIteratee - ) => Array) - & (( - a1?: ?$ReadOnlyArray, - a2?: ?$ReadOnlyArray, - a3?: ?$ReadOnlyArray, - a4?: ?$ReadOnlyArray, - iteratee?: ?ValueOnlyIteratee - ) => Array); - //Workaround until (...parameter: T, parameter2: U) works - intersectionWith: - & (( - a1?: ?$ReadOnlyArray, - comparator?: ?Comparator - ) => Array) - & (( - a1?: ?$ReadOnlyArray, - a2?: ?$ReadOnlyArray, - comparator?: ?Comparator - ) => Array) - & (( - a1?: ?$ReadOnlyArray, - a2?: ?$ReadOnlyArray, - a3?: ?$ReadOnlyArray, - comparator?: ?Comparator - ) => Array) - & (( - a1?: ?$ReadOnlyArray, - a2?: ?$ReadOnlyArray, - a3?: ?$ReadOnlyArray, - a4?: ?$ReadOnlyArray, - comparator?: ?Comparator - ) => Array); - join: - & ((array: $ReadOnlyArray, separator?: ?string) => string) - & ((array: void | null, separator?: ?string) => ""); - last(array: ?$ReadOnlyArray): T; - lastIndexOf: - & ((array: $ReadOnlyArray, value?: ?T, fromIndex?: ?number) => number) - & ((array: void | null, value?: ?T, fromIndex?: ?number) => -1); - nth: - & ((array: $ReadOnlyArray, n?: ?number) => T) - & ((array: void | null, n?: ?number) => void); - pull: - & ((array: Array, ...values?: $ReadOnlyArray) => Array) - & ((array: T, ...values?: $ReadOnlyArray) => T); - pullAll: - & ((array: Array, values?: ?$ReadOnlyArray) => Array) - & ((array: T, values?: ?$ReadOnlyArray) => T); - pullAllBy: - & (( - array: Array, - values?: ?$ReadOnlyArray, - iteratee?: ?ValueOnlyIteratee - ) => Array) - & (( - array: T, - values?: ?$ReadOnlyArray, - iteratee?: ?ValueOnlyIteratee - ) => T); - pullAllWith: - & (( - array: T, - values?: ?$ReadOnlyArray, - comparator?: ?Function - ) => T) - & ((array: Array, values?: ?($ReadOnlyArray), comparator?: ?Function) => Array); - pullAt: - & ((array?: ?Array, ...indexed?: $ReadOnlyArray) => Array) - & ((array?: ?Array, indexed?: ?$ReadOnlyArray) => Array); - remove(array?: ?Array, predicate?: ?Predicate): Array; - reverse: - & ((array: Array) => Array) - & ((array: T) => T); - slice( - array?: ?$ReadOnlyArray, - start?: ?number, - end?: ?number - ): Array; - sortedIndex: - & ((array: $ReadOnlyArray, value: T) => number) - & ((array: void | null, value: ?T) => 0); - sortedIndexBy: - & (( - array: $ReadOnlyArray, - value?: ?T, - iteratee?: ?ValueOnlyIteratee - ) => number) - & (( - array: void | null, - value?: ?T, - iteratee?: ?ValueOnlyIteratee - ) => 0); - sortedIndexOf: - & ((array: $ReadOnlyArray, value: T) => number) - & ((array: void | null, value?: ?T) => -1); - sortedLastIndex: - & ((array: $ReadOnlyArray, value: T) => number) - & ((array: void | null, value?: ?T) => 0); - sortedLastIndexBy: - & (( - array: $ReadOnlyArray, - value: T, - iteratee?: ValueOnlyIteratee - ) => number) - & (( - array: void | null, - value?: ?T, - iteratee?: ?ValueOnlyIteratee - ) => 0); - sortedLastIndexOf: - & ((array: $ReadOnlyArray, value: T) => number) - & ((array: void | null, value?: ?T) => -1); - sortedUniq(array?: ?$ReadOnlyArray): Array; - sortedUniqBy( - array?: ?$ReadOnlyArray, - iteratee?: ?ValueOnlyIteratee - ): Array; - tail(array?: ?$ReadOnlyArray): Array; - take(array?: ?$ReadOnlyArray, n?: ?number): Array; - takeRight(array?: ?$ReadOnlyArray, n?: ?number): Array; - takeRightWhile(array?: ?$ReadOnlyArray, predicate?: ?Predicate): Array; - takeWhile(array?: ?$ReadOnlyArray, predicate?: ?Predicate): Array; - union: (...arrays?: Array<$ReadOnlyArray>) => Array; - //Workaround until (...parameter: T, parameter2: U) works - unionBy: - & (( - a1?: ?$ReadOnlyArray, - iteratee?: ?ValueOnlyIteratee - ) => Array) - & (( - a1?: ?$ReadOnlyArray, - a2: $ReadOnlyArray, - iteratee?: ValueOnlyIteratee - ) => Array) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - a3: $ReadOnlyArray, - iteratee?: ValueOnlyIteratee - ) => Array) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - a3: $ReadOnlyArray, - a4: $ReadOnlyArray, - iteratee?: ValueOnlyIteratee - ) => Array); - //Workaround until (...parameter: T, parameter2: U) works - unionWith: - & ((a1?: ?$ReadOnlyArray, comparator?: ?Comparator) => Array) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - comparator?: Comparator - ) => Array) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - a3: $ReadOnlyArray, - comparator?: Comparator - ) => Array) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - a3: $ReadOnlyArray, - a4: $ReadOnlyArray, - comparator?: Comparator - ) => Array); - uniq(array?: ?$ReadOnlyArray): Array; - uniqBy(array?: ?$ReadOnlyArray, iteratee?: ?ValueOnlyIteratee): Array; - uniqWith(array?: ?$ReadOnlyArray, comparator?: ?Comparator): Array; - unzip(array?: ?$ReadOnlyArray): Array; - unzipWith(array: ?$ReadOnlyArray, iteratee?: ?Iteratee): Array; - without(array?: ?$ReadOnlyArray, ...values?: Array): Array; - xor(...array: $ReadOnlyArray<$ReadOnlyArray>): Array; - //Workaround until (...parameter: T, parameter2: U) works - xorBy: - & ((a1?: ?$ReadOnlyArray, iteratee?: ?ValueOnlyIteratee) => Array) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - iteratee?: ValueOnlyIteratee - ) => Array) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - a3: $ReadOnlyArray, - iteratee?: ValueOnlyIteratee - ) => Array) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - a3: $ReadOnlyArray, - a4: $ReadOnlyArray, - iteratee?: ValueOnlyIteratee - ) => Array); - //Workaround until (...parameter: T, parameter2: U) works - xorWith: - & ((a1?: ?$ReadOnlyArray, comparator?: ?Comparator) => Array) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - comparator?: Comparator - ) => Array) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - a3: $ReadOnlyArray, - comparator?: Comparator - ) => Array) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - a3: $ReadOnlyArray, - a4: $ReadOnlyArray, - comparator?: Comparator - ) => Array); - zip: - & ((a1?: ?($ReadOnlyArray), a2?: ?($ReadOnlyArray)) => Array<[A, B]>) - & ((a1: $ReadOnlyArray, a2: $ReadOnlyArray, a3: $ReadOnlyArray) => Array<[A, B, C]>) - & ((a1: $ReadOnlyArray, a2: $ReadOnlyArray, a3: $ReadOnlyArray, a4: $ReadOnlyArray) => Array<[A, B, C, D]>) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - a3: $ReadOnlyArray, - a4: $ReadOnlyArray, - a5: $ReadOnlyArray - ) => Array<[A, B, C, D, E]>); - - zipObject: - & ((props: $ReadOnlyArray, values?: ?$ReadOnlyArray) => { [key: K]: V, ... }) - & ((props: void | null, values?: ?$ReadOnlyArray) => {...}); - zipObjectDeep: - & ((props: $ReadOnlyArray, values?: ?any) => Object) - & ((props: void | null, values?: ?any) => {...}); - - zipWith: - & ((a1?: ?$ReadOnlyArray) => Array<[A]>) - & ((a1: $ReadOnlyArray, iteratee: (A) => T) => Array) - & ((a1: $ReadOnlyArray, a2: $ReadOnlyArray) => Array<[A, B]>) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - iteratee: (A, B) => T - ) => Array) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - a3: $ReadOnlyArray - ) => Array<[A, B, C]>) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - a3: $ReadOnlyArray, - iteratee: (A, B, C) => T - ) => Array) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - a3: $ReadOnlyArray, - a4: $ReadOnlyArray - ) => Array<[A, B, C, D]>) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - a3: $ReadOnlyArray, - a4: $ReadOnlyArray, - iteratee: (A, B, C, D) => T - ) => Array); - - // Collection - countBy: - & ((array: $ReadOnlyArray, iteratee?: ?ValueOnlyIteratee) => { [key: string]: number, ... }) - & ((array: void | null, iteratee?: ?ValueOnlyIteratee) => { [key: string]: number, ... }) - & ((string: string, iteratee?: ?ValueOnlyIteratee) => { [key: string]: number, ... }) - & ((object: ReadOnlyIndexerObject, iteratee?: ?ValueOnlyIteratee) => { [key: string]: number, ... }); - // alias of _.forEach - each | $ReadOnlyArray | string | void | null>(collection: T, iteratee?: ?IterateeWithResult): T; - // alias of _.forEachRight - eachRight | $ReadOnlyArray | string | void | null>(collection: T, iteratee?: ?IterateeWithResult): T; - every: - & ((array?: ?$ReadOnlyArray, iteratee?: ?Iteratee) => boolean) - & ((str: string, iteratee?: ?Iteratee) => boolean) - & (>(object: T, iteratee?: OIterateeWithResult) => boolean); - filter: - & ((array?: ?$ReadOnlyArray, predicate?: ?Predicate) => Array) - & (>( - object: T, - predicate?: OPredicate - ) => Array); - find: - & (( - array: $ReadOnlyArray, - predicate?: ?Predicate, - fromIndex?: ?number - ) => T | void) - & (( - array: void | null, - predicate?: ?Predicate, - fromIndex?: ?number - ) => void) - & (>( - object: T, - predicate?: ?OPredicate, - fromIndex?: ?number - ) => R); - findLast: - & (( - array: $ReadOnlyArray, - predicate?: ?Predicate, - fromIndex?: ?number - ) => T | void) - & (( - array: void | null, - predicate?: ?Predicate, - fromIndex?: ?number - ) => void) - & (>( - object: T, - predicate?: ?OPredicate, - fromIndex?: ?number - ) => R); - flatMap: - & ( = Array>( - array: T, - iteratee?: ?AFlatMapIteratee - ) => Array) - & ( | string = IndexerObject>( - object: T, - iteratee?: ?OFlatMapIteratee - ) => Array); - flatMapDeep: - & ( = Array>( - array: T, - iteratee?: ?AFlatMapIteratee - ) => Array) - & ( | string = IndexerObject>( - object: T, - iteratee?: ?OFlatMapIteratee - ) => Array); - flatMapDepth: - & ( = Array>( - array: T, - iteratee?: ?AFlatMapIteratee, - depth?: ?number - ) => Array) - & ( | string = IndexerObject>( - object: T, - iteratee?: ?OFlatMapIteratee, - depth?: ?number - ) => Array); - forEach | $ReadOnlyArray | string | void | null>(collection: T, iteratee?: ?IterateeWithResult): T; - forEachRight | $ReadOnlyArray | string | void | null>(collection: T, iteratee?: ?IterateeWithResult): T; - groupBy: - & (( - array: $ReadOnlyArray, - iteratee?: ?ValueOnlyIteratee - ) => { [key: V]: Array, ... }) - & ((array: void | null, iteratee?: ?ValueOnlyIteratee) => {...}) - & (>( - object: T, - iteratee?: ValueOnlyIteratee - ) => { [key: V]: Array, ... }); - includes: - & (( - array: $ReadOnlyArray, - value: T, - fromIndex?: ?number - ) => boolean) - & ((array: void | null, value?: ?T, fromIndex?: ?number) => false) - & ((object: ReadOnlyIndexerObject, value: A, fromIndex?: number) => boolean) - & ((str: string, value: string, fromIndex?: number) => boolean); - invokeMap: - & (( - array?: ?$ReadOnlyArray, - path?: ?((value: T) => Path) | Path, - ...args?: $ReadOnlyArray - ) => Array) - & (( - object: ReadOnlyIndexerObject, - path: ((value: any) => Path) | Path, - ...args?: $ReadOnlyArray - ) => Array); - keyBy: - & (( - array: $ReadOnlyArray, - iteratee?: ?ValueOnlyIteratee - ) => { [key: V]: T, ... }) - & ((array: void | null, iteratee?: ?ValueOnlyIteratee) => {...}) - & (>( - object: T, - iteratee?: ?ValueOnlyIteratee - ) => { [key: V]: A, ... }); - map: - & (( - array?: ?$ReadOnlyArray, - iteratee?: ?ReadOnlyMapIterator - ) => Array) - & (, U>( - object: ?T, - iteratee?: OMapIterator - ) => Array) - & (( - str: ?string, - iteratee?: (char: string, index: number, str: string) => any - ) => string); - orderBy: - & (( - array: $ReadOnlyArray, - iteratees?: ?$ReadOnlyArray> | ?string, - orders?: ?$ReadOnlyArray<"asc" | "desc"> | ?string - ) => Array) - & (( - array: null | void, - iteratees?: ?$ReadOnlyArray> | ?string, - orders?: ?$ReadOnlyArray<"asc" | "desc"> | ?string - ) => Array) - & (>( - object: T, - iteratees?: $ReadOnlyArray> | string, - orders?: $ReadOnlyArray<"asc" | "desc"> | string - ) => Array); - partition: - & (( - array?: ?$ReadOnlyArray, - predicate?: ?Predicate - ) => [Array, Array]) - & (>( - object: T, - predicate?: OPredicate - ) => [Array, Array]); - reduce: - & (( - array: $ReadOnlyArray, - iteratee?: ( - accumulator: U, - value: T, - index: number, - array: ?Array - ) => U, - accumulator?: U - ) => U) - & (( - array: void | null, - iteratee?: ?( - accumulator: U, - value: T, - index: any, - array: ?Array - ) => U, - accumulator?: U - ) => U) - & (, U>( - object: T, - iteratee?: (accumulator: U, value: any, key: string, object: T) => U, - accumulator?: U - ) => U); - reduceRight: - & (( - array: void | null, - iteratee?: ?( - accumulator: U, - value: T, - index: any, - array: ?Array - ) => U, - accumulator?: U - ) => U) - & (( - array: $ReadOnlyArray, - iteratee?: ?( - accumulator: U, - value: T, - index: number, - array: ?Array - ) => U, - accumulator?: ?U - ) => U) - & (, U>( - object: T, - iteratee?: ?(accumulator: U, value: any, key: string, object: T) => U, - accumulator?: ?U - ) => U); - reject: - & ((array?: ?$ReadOnlyArray, predicate?: ?Predicate) => Array) - & (>( - object?: ?T, - predicate?: ?OPredicate - ) => Array); - sample(collection: ?Collection): T; - sampleSize(collection?: ?Collection, n?: ?number): Array; - shuffle(array?: ?Collection): Array; - size(collection?: ?Collection | string): number; - some: - & ((array: void | null, predicate?: ?Predicate) => false) - & ((array: ?$ReadOnlyArray, predicate?: Predicate) => boolean) - & (>( - object?: ?T, - predicate?: OPredicate - ) => boolean); - sortBy: - & (( - array: ?$ReadOnlyArray, - ...iteratees?: $ReadOnlyArray> - ) => Array) - & (( - array: ?$ReadOnlyArray, - iteratees?: $ReadOnlyArray> - ) => Array) - & (>( - object: T, - ...iteratees?: $ReadOnlyArray> - ) => Array) - & (>( - object: T, - iteratees?: $ReadOnlyArray> - ) => Array); - - // Date - now(): number; - - // Function - after(n: number, fn: Function): Function; - ary(func: Function, n?: number): Function; - before(n: number, fn: Function): Function; - bind) => any>(func: F, thisArg: any, ...partials: $ReadOnlyArray): F; - bindKey(obj?: ?Object, key?: ?string, ...partials?: $ReadOnlyArray): Function; - curry: - & Curry - & ((func: Function, arity?: number) => Function); - curryRight(func: Function, arity?: number): Function; - debounce) => any>( - func: F, - wait?: number, - options?: DebounceOptions - ): F & Cancelable; - defer(func: (...$ReadOnlyArray) => any, ...args?: $ReadOnlyArray): TimeoutID; - delay(func: Function, wait: number, ...args?: $ReadOnlyArray): TimeoutID; - flip(func: (...$ReadOnlyArray) => R): (...Array) => R; - memoize(func: (...A) => R, resolver?: (...A) => any): (...A) => R; - negate(predicate: (...A) => R): (...A) => boolean; - once) => any>(func: F): F; - overArgs: - & ((func?: ?Function, ...transforms?: $ReadOnlyArray) => Function) - & ((func?: ?Function, transforms?: ?$ReadOnlyArray) => Function); - partial(func: (...$ReadOnlyArray) => R, ...partials: $ReadOnlyArray): (...Array) => R; - partialRight: - & ((func: (...$ReadOnlyArray) => R, ...partials: $ReadOnlyArray) => ((...Array) => R)) - & ((func: (...$ReadOnlyArray) => R, partials: $ReadOnlyArray) => ((...Array) => R)); - rearg: - & ((func: Function, ...indexes: $ReadOnlyArray) => Function) - & ((func: Function, indexes: $ReadOnlyArray) => Function); - rest(func: Function, start?: number): Function; - spread(func: Function): Function; - throttle) => any>( - func: F, - wait?: number, - options?: ThrottleOptions - ): F & Cancelable; - unary) => any>(func: F): F; - wrap(value?: any, wrapper?: ?Function): Function; - - // Lang - castArray: - & (() => Array) - & ((value: T) => Array) - & (>(value: T) => T); - clone(value: T): T; - cloneDeep(value: T): T; - cloneDeepWith( - value: T, - customizer?: ?(value: T, key: number | string, object: T, stack: any) => U - ): U; - cloneWith( - value: T, - customizer?: ?(value: T, key: number | string, object: T, stack: any) => U - ): U; - conformsTo>( - source: T, - predicates: T & $ReadOnly<{ [key: string]: (x: any) => boolean, ... }> - ): boolean; - eq(value: any, other: any): boolean; - gt(value: any, other: any): boolean; - gte(value: any, other: any): boolean; - isArguments: - & ((value: void | null) => false) - & ((value: any) => boolean); - isArray: - & ((value: $ReadOnlyArray) => true) - & ((value: any) => false); - isArrayBuffer: - & ((value: ArrayBuffer) => true) - & ((value: any) => false); - isArrayLike: - & ((value: $ReadOnlyArray | string | { length: number, ... }) => true) - & ((value: any) => false); - isArrayLikeObject: - & ((value: { length: number, ... } | $ReadOnlyArray) => true) - & ((value: any) => false); - isBoolean: - & ((value: boolean) => true) - & ((value: any) => false); - isBuffer: - & ((value: void | null) => false) - & ((value: any) => boolean); - isDate: - & ((value: Date) => true) - & ((value: any) => false); - isElement: - & ((value: Element) => true) - & ((value: any) => false); - isEmpty: - & ((value: void | null | "" | {...} | [] | number | boolean) => true) - & ((value: any) => boolean); - isEqual(value: any, other: any): boolean; - isEqualWith( - value?: ?T, - other?: ?U, - customizer?: ?( - objValue: any, - otherValue: any, - key: number | string, - object: T, - other: U, - stack: any - ) => boolean | void - ): boolean; - isError: - & ((value: Error) => true) - & ((value: any) => false); - isFinite: - & ((value: number) => boolean) - & ((value: any) => false); - isFunction(value: any): boolean; - isInteger: - & ((value: number) => boolean) - & ((value: any) => false); - isLength: - & ((value: void | null) => false) - & ((value: any) => boolean); - isMap: - & ((value: Map) => true) - & ((value: any) => false); - isMatch(object?: ?Object, source?: ?Object): boolean; - isMatchWith( - object?: ?T, - source?: ?U, - customizer?: ?( - objValue: any, - srcValue: any, - key: number | string, - object: T, - source: U - ) => boolean | void - ): boolean; - isNaN: - & ((value: number) => boolean) - & ((value: any) => false); - isNative: - & ((value: number | string | void | null | Object) => false) - & ((value: any) => boolean); - isNil: - & ((value: void | null) => true) - & ((value: any) => false); - isNull: - & ((value: null) => true) - & ((value: any) => false); - isNumber: - & ((value: number) => true) - & ((value: any) => false); - isObject: (value: any) => boolean; - isObjectLike: - & ((value: void | null) => false) - & ((value: any) => boolean); - isPlainObject: (value: any) => boolean; - isRegExp: - & ((value: RegExp) => true) - & ((value: any) => false); - isSafeInteger: - & ((value: number) => boolean) - & ((value: any) => false); - isSet: - & ((value: Set) => true) - & ((value: any) => false); - isString: - & ((value: string) => true) - & ((value: any) => false); - isSymbol: - & ((value: Symbol) => true) - & ((value: any) => false); - isTypedArray: - & ((value: $TypedArray) => true) - & ((value: any) => false); - isUndefined: - & ((value: void) => true) - & ((value: any) => false); - isWeakMap: - & ((value: WeakMap) => true) - & ((value: any) => false); - isWeakSet: - & ((value: WeakSet) => true) - & ((value: any) => false); - lt(value: any, other: any): boolean; - lte(value: any, other: any): boolean; - toArray(value: any): Array; - toFinite: - & ((value: void | null) => 0) - & ((value: any) => number); - toInteger: - & ((value: void | null) => 0) - & ((value: any) => number); - toLength: - & ((value: void | null) => 0) - & ((value: any) => number); - toNumber: - & ((value: void | null) => 0) - & ((value: any) => number); - toPlainObject(value: any): Object; - toSafeInteger: - & ((value: void | null) => 0) - & ((value: any) => number); - toString: - & ((value: void | null) => "") - & ((value: any) => string); - - // Math - add(augend: number, addend: number): number; - ceil(number: number, precision?: number): number; - divide(dividend: number, divisor: number): number; - floor(number: number, precision?: number): number; - max(array: ?$ReadOnlyArray): T; - maxBy(array: ?$ReadOnlyArray, iteratee?: Iteratee): T; - mean(array: $ReadOnlyArray): number; - meanBy(array: $ReadOnlyArray, iteratee?: Iteratee): number; - min(array: ?$ReadOnlyArray): T; - minBy(array: ?$ReadOnlyArray, iteratee?: Iteratee): T; - multiply(multiplier: number, multiplicand: number): number; - round(number: number, precision?: number): number; - subtract(minuend: number, subtrahend: number): number; - sum(array: $ReadOnlyArray): number; - sumBy(array: $ReadOnlyArray, iteratee?: Iteratee): number; - - // number - clamp: - & ((number?: number, lower?: ?number, upper?: ?number) => number) - & ((number: ?number, lower?: ?number, upper?: ?number) => 0); - inRange(number: number, start?: number, end: number): boolean; - random(lower?: number, upper?: number, floating?: boolean): number; - - // Object - assign(object?: ?Object, ...sources?: $ReadOnlyArray): Object; - assignIn: - & (() => {...}) - & ((a: A, b: B) => A & B) - & ((a: A, b: B, c: C) => A & B & C) - & ((a: A, b: B, c: C, d: D) => A & B & C & D) - & ((a: A, b: B, c: C, d: D, e: E) => A & B & C & D & E); - assignInWith: - & (() => {...}) - & (( - object: T, - s1: A, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A - ) => any | void - ) => Object) - & (( - object: T, - s1: A, - s2: B, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B - ) => any | void - ) => Object) - & (( - object: T, - s1: A, - s2: B, - s3: C, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B | C - ) => any | void - ) => Object) - & (( - object: T, - s1: A, - s2: B, - s3: C, - s4: D, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B | C | D - ) => any | void - ) => Object); - assignWith: - & (() => {...}) - & (( - object: T, - s1: A, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A - ) => any | void - ) => Object) - & (( - object: T, - s1: A, - s2: B, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B - ) => any | void - ) => Object) - & (( - object: T, - s1: A, - s2: B, - s3: C, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B | C - ) => any | void - ) => Object) - & (( - object: T, - s1: A, - s2: B, - s3: C, - s4: D, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B | C | D - ) => any | void - ) => Object); - at: - & ((object?: ?Object, ...paths: $ReadOnlyArray) => Array) - & ((object?: ?Object, paths: $ReadOnlyArray) => Array); - create: - & ((prototype: void | null, properties: void | null) => {...}) - & ((prototype: T, properties: Object) => T) - & ((prototype: any, properties: void | null) => {...}); - defaults(object?: ?Object, ...sources?: $ReadOnlyArray): Object; - defaultsDeep(object?: ?Object, ...sources?: $ReadOnlyArray): Object; - // alias for _.toPairs - entries(object?: ?Object): Array<[string, any]>; - // alias for _.toPairsIn - entriesIn(object?: ?Object): Array<[string, any]>; - // alias for _.assignIn - extend: - & ((a?: ?A, b?: ?B) => A & B) - & ((a: A, b: B, c: C) => A & B & C) - & ((a: A, b: B, c: C, d: D) => A & B & C & D) - & ((a: A, b: B, c: C, d: D, e: E) => A & B & C & D & E); - // alias for _.assignInWith - extendWith: - & (( - object?: ?T, - s1?: ?A, - customizer?: ?( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A - ) => any | void - ) => Object) - & (( - object: T, - s1: A, - s2: B, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B - ) => any | void - ) => Object) - & (( - object: T, - s1: A, - s2: B, - s3: C, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B | C - ) => any | void - ) => Object) - & (( - object: T, - s1: A, - s2: B, - s3: C, - s4: D, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B | C | D - ) => any | void - ) => Object); - findKey: - & (>( - object: T, - predicate?: ?OPredicate - ) => string | void) - & (>( - object: void | null, - predicate?: ?OPredicate - ) => void); - findLastKey: - & (>( - object: T, - predicate?: ?OPredicate - ) => string | void) - & (>( - object: void | null, - predicate?: ?OPredicate - ) => void); - forIn: - & ((object: Object, iteratee?: ?OIteratee) => Object) - & ((object: void | null, iteratee?: ?OIteratee) => null); - forInRight: - & ((object: Object, iteratee?: ?OIteratee) => Object) - & ((object: void | null, iteratee?: ?OIteratee) => null); - forOwn: - & ((object: Object, iteratee?: ?OIteratee) => Object) - & ((object: void | null, iteratee?: ?OIteratee) => null); - forOwnRight: - & ((object: Object, iteratee?: ?OIteratee) => Object) - & ((object: void | null, iteratee?: ?OIteratee) => null); - functions(object?: ?Object): Array; - functionsIn(object?: ?Object): Array; - get( - object?: ?Object | ?$ReadOnlyArray | void | null, - path?: ?Path, - defaultValue?: any - ): any; - has: - & ((object: Object, path: Path) => boolean) - & ((object: Object, path: void | null) => false) - & ((object: void | null, path?: ?Path) => false); - hasIn: - & ((object: Object, path: Path) => boolean) - & ((object: Object, path: void | null) => false) - & ((object: void | null, path?: ?Path) => false); - invert: - & ((object: Object, multiVal?: ?boolean) => Object) - & ((object: void | null, multiVal?: ?boolean) => {...}); - invertBy: - & ((object: Object, iteratee?: ?Function) => Object) - & ((object: void | null, iteratee?: ?Function) => {...}); - invoke( - object?: ?Object, - path?: ?Path, - ...args?: $ReadOnlyArray - ): any; - keys: - & ((object?: ?ReadOnlyIndexerObject) => Array) - & ((object?: ?Object) => Array); - keysIn(object?: ?Object): Array; - mapKeys: - & ((object: Object, iteratee?: ?OIteratee) => Object) - & ((object: void | null, iteratee?: ?OIteratee) => {...}); - mapValues: - & ((object: Object, iteratee?: ?OIteratee) => Object) - & ((object: void | null, iteratee?: ?OIteratee) => {...}); - merge(object?: ?Object, ...sources?: $ReadOnlyArray): Object; - mergeWith: - & (() => {...}) - & (( - object: T, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A - ) => any | void - ) => Object) - & (( - object: T, - s1: A, - s2: B, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B - ) => any | void - ) => Object) - & (( - object: T, - s1: A, - s2: B, - s3: C, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B | C - ) => any | void - ) => Object) - & (( - object: T, - s1: A, - s2: B, - s3: C, - s4: D, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B | C | D - ) => any | void - ) => Object); - omit: - & ((object?: ?Object, ...props: $ReadOnlyArray) => Object) - & ((object?: ?Object, props: $ReadOnlyArray) => Object); - omitBy: - & (>( - object: $ReadOnly, - predicate?: ?OPredicate - ) => Object) - & ((object: void | null, predicate?: ?OPredicate) => {...}); - pick: - & ((object?: ?Object, ...props: $ReadOnlyArray) => Object) - & ((object?: ?Object, props: $ReadOnlyArray) => Object); - pickBy: - & (>( - object: $ReadOnly, - predicate?: ?OPredicate - ) => Object) - & ((object: void | null, predicate?: ?OPredicate) => {...}); - result( - object?: ?Object, - path?: ?Path, - defaultValue?: any - ): any; - set: - & ((object: Object, path?: ?Path, value: any) => Object) - & (( - object: T, - path?: ?Path, - value?: ?any - ) => T); - setWith: - & (( - object: T, - path?: ?Path, - value: any, - customizer?: (nsValue: any, key: string, nsObject: T) => any - ) => Object) - & (( - object: T, - path?: ?Path, - value?: ?any, - customizer?: ?(nsValue: any, key: string, nsObject: T) => any - ) => T); - toPairs(object?: ?Object | $ReadOnlyArray): Array<[string, any]>; - toPairsIn(object?: ?Object): Array<[string, any]>; - transform: - & (( - collection: Object | $ReadOnlyArray, - iteratee?: ?OIteratee, - accumulator?: any - ) => any) - & (( - collection: void | null, - iteratee?: ?OIteratee, - accumulator?: ?any - ) => {...}); - unset: - & ((object: void | null, path?: ?Path) => true) - & ((object: Object, path?: ?Path) => boolean); - update: - & ((object: Object, path: Path, updater: Function) => Object) - & (( - object: T, - path?: ?Path, - updater?: ?Function - ) => T); - updateWith: - & (( - object: Object, - path?: ?Path, - updater?: ?Function, - customizer?: ?Function - ) => Object) - & (( - object: T, - path?: ?Path, - updater?: ?Function, - customizer?: ?Function - ) => T); - values(object?: ?Object): Array; - valuesIn(object?: ?Object): Array; - - // Seq - // harder to read, but this is _() - (value: any): any; - chain(value: T): any; - tap(value: T, interceptor: (value: T) => any): T; - thru(value: T1, interceptor: (value: T1) => T2): T2; - // TODO: _.prototype.* - - // String - camelCase: - & ((string: string) => string) - & ((string: void | null) => ""); - capitalize: - & ((string: string) => string) - & ((string: void | null) => ""); - deburr: - & ((string: string) => string) - & ((string: void | null) => ""); - endsWith: - & ((string: string, target?: string, position?: ?number) => boolean) - & ((string: void | null, target?: ?string, position?: ?number) => false); - escape: - & ((string: string) => string) - & ((string: void | null) => ""); - escapeRegExp: - & ((string: string) => string) - & ((string: void | null) => ""); - kebabCase: - & ((string: string) => string) - & ((string: void | null) => ""); - lowerCase: - & ((string: string) => string) - & ((string: void | null) => ""); - lowerFirst: - & ((string: string) => string) - & ((string: void | null) => ""); - pad(string?: ?string, length?: ?number, chars?: ?string): string; - padEnd(string?: ?string, length?: ?number, chars?: ?string): string; - padStart(string?: ?string, length?: ?number, chars?: ?string): string; - parseInt(string: string, radix?: ?number): number; - repeat: - & ((string: string, n?: ?number) => string) - & ((string: void | null, n?: ?number) => ""); - replace: - & (( - string: string, - pattern: RegExp | string, - replacement: ((string: string) => string) | string - ) => string) - & (( - string: void | null, - pattern?: ?RegExp | ?string, - replacement: ?((string: string) => string) | ?string - ) => ""); - snakeCase: - & ((string: string) => string) - & ((string: void | null) => ""); - split( - string?: ?string, - separator?: ?RegExp | ?string, - limit?: ?number - ): Array; - startCase: - & ((string: string) => string) - & ((string: void | null) => ""); - startsWith: - & ((string: string, target?: string, position?: number) => boolean) - & (( - string: void | null, - target?: ?string, - position?: ?number - ) => false); - template(string?: ?string, options?: ?TemplateSettings): Function; - toLower: - & ((string: string) => string) - & ((string: void | null) => ""); - toUpper: - & ((string: string) => string) - & ((string: void | null) => ""); - trim: - & ((string: string, chars?: string) => string) - & ((string: void | null, chars?: ?string) => ""); - trimEnd: - & ((string: string, chars?: ?string) => string) - & ((string: void | null, chars?: ?string) => ""); - trimStart: - & ((string: string, chars?: ?string) => string) - & ((string: void | null, chars?: ?string) => ""); - truncate: - & ((string: string, options?: TruncateOptions) => string) - & ((string: void | null, options?: ?TruncateOptions) => ""); - unescape: - & ((string: string) => string) - & ((string: void | null) => ""); - upperCase: - & ((string: string) => string) - & ((string: void | null) => ""); - upperFirst: - & ((string: string) => string) - & ((string: void | null) => ""); - words(string?: ?string, pattern?: ?RegExp | ?string): Array; - - // Util - attempt(func: Function, ...args: $ReadOnlyArray): any; - bindAll: - & ((object: Object, methodNames?: ?$ReadOnlyArray) => Object) - & ((object: T, methodNames?: ?$ReadOnlyArray) => T) - & ((object: Object, ...methodNames: $ReadOnlyArray) => Object); - cond(pairs?: ?NestedArray): Function; - conforms(source?: ?Object): Function; - constant(value: T): () => T; - defaultTo: - & ((value: T1, defaultValue: T2) => T2) - & (( - value: T1, - defaultValue: T2 - ) => T1) - // NaN is a number instead of its own type, otherwise it would behave like null/void - & ((value: T1, defaultValue: T2) => T1 | T2); - flow: ((funcs: $ReadOnlyArray) => Function) & typeof composeReverse; - flowRight: ((funcs: $ReadOnlyArray) => Function) & typeof compose; - identity(value: T): T; - iteratee(func?: any): Function; - matches(source?: ?Object): Function; - matchesProperty(path?: ?Path, srcValue: any): Function; - method(path?: ?Path, ...args?: $ReadOnlyArray): Function; - methodOf(object?: ?Object, ...args?: $ReadOnlyArray): Function; - mixin( - object?: T, - source: Object, - options?: { chain: boolean, ... } - ): T; - noConflict(): Lodash; - noop(...args: $ReadOnlyArray): void; - nthArg(n?: ?number): Function; - over: - & ((...iteratees: $ReadOnlyArray) => Function) - & ((iteratees: $ReadOnlyArray) => Function); - overEvery: - & ((...predicates: $ReadOnlyArray) => Function) - & ((predicates: $ReadOnlyArray) => Function); - overSome: - & ((...predicates: $ReadOnlyArray) => Function) - & ((predicates: $ReadOnlyArray) => Function); - property(path?: ?Path): Function; - propertyOf(object?: ?Object): Function; - range: - & ((start: number, end: number, step?: number) => Array) - & ((end: number, step?: number) => Array); - rangeRight: - & ((start?: ?number, end?: ?number, step?: ?number) => Array) - & (end?: ?number, step?: ?number) => Array; - runInContext(context?: ?Object): Function; - - stubArray(): Array; - stubFalse(): false; - stubObject(): {...}; - stubString(): ""; - stubTrue(): true; - times: - & ((n?: ?number, ...rest?: $ReadOnlyArray) => Array) - & ((n: number, iteratee: (i: number) => T) => Array); - toPath(value: any): Array; - uniqueId(prefix?: ?string): string; - - // Properties - VERSION: string; - templateSettings: TemplateSettings; - |} - - declare module.exports: Lodash; -} - -declare module "lodash/fp" { - declare type Path = $ReadOnlyArray | string | number; - declare type __CurriedFunction1 = (...r: [AA]) => R; - declare type CurriedFunction1 = __CurriedFunction1; - - declare type __CurriedFunction2 = (( - ...r: [AA] - ) => CurriedFunction1) & - ((...r: [AA, BB]) => R); - declare type CurriedFunction2 = __CurriedFunction2; - - declare type __CurriedFunction3 = (( - ...r: [AA] - ) => CurriedFunction2) & - ((...r: [AA, BB]) => CurriedFunction1) & - ((...r: [AA, BB, CC]) => R); - declare type CurriedFunction3 = __CurriedFunction3; - - declare type __CurriedFunction4< - A, - B, - C, - D, - R, - AA: A, - BB: B, - CC: C, - DD: D - > = ((...r: [AA]) => CurriedFunction3) & - ((...r: [AA, BB]) => CurriedFunction2) & - ((...r: [AA, BB, CC]) => CurriedFunction1) & - ((...r: [AA, BB, CC, DD]) => R); - declare type CurriedFunction4 = __CurriedFunction4; - - declare type __CurriedFunction5< - A, - B, - C, - D, - E, - R, - AA: A, - BB: B, - CC: C, - DD: D, - EE: E - > = ((...r: [AA]) => CurriedFunction4) & - ((...r: [AA, BB]) => CurriedFunction3) & - ((...r: [AA, BB, CC]) => CurriedFunction2) & - ((...r: [AA, BB, CC, DD]) => CurriedFunction1) & - ((...r: [AA, BB, CC, DD, EE]) => R); - declare type CurriedFunction5 = __CurriedFunction5; - - declare type __CurriedFunction6< - A, - B, - C, - D, - E, - F, - R, - AA: A, - BB: B, - CC: C, - DD: D, - EE: E, - FF: F - > = ((...r: [AA]) => CurriedFunction5) & - ((...r: [AA, BB]) => CurriedFunction4) & - ((...r: [AA, BB, CC]) => CurriedFunction3) & - ((...r: [AA, BB, CC, DD]) => CurriedFunction2) & - ((...r: [AA, BB, CC, DD, EE]) => CurriedFunction1) & - ((...r: [AA, BB, CC, DD, EE, FF]) => R); - declare type CurriedFunction6 = __CurriedFunction6; - - declare type Curry = (((...r: [A]) => R) => CurriedFunction1) & - (((...r: [A, B]) => R) => CurriedFunction2) & - (((...r: [A, B, C]) => R) => CurriedFunction3) & - (( - (...r: [A, B, C, D]) => R - ) => CurriedFunction4) & - (( - (...r: [A, B, C, D, E]) => R - ) => CurriedFunction5) & - (( - (...r: [A, B, C, D, E, F]) => R - ) => CurriedFunction6); - - declare type UnaryFn = (a: A) => R; - - declare type TemplateSettings = { - escape?: RegExp, - evaluate?: RegExp, - imports?: Object, - interpolate?: RegExp, - variable?: string, - ... - }; - - declare type TruncateOptions = { - length?: number, - omission?: string, - separator?: RegExp | string, - ... - }; - - declare type DebounceOptions = { - leading?: boolean, - maxWait?: number, - trailing?: boolean, - ... - }; - - declare type ThrottleOptions = { - leading?: boolean, - trailing?: boolean, - ... - }; - - declare type Key = string | number; - declare type ReadOnlyIndexerObject = $ReadOnly<{ [id: K]: V, ... }> - declare type NestedArray = Array>; - declare type Collection = $ReadOnlyArray | ReadOnlyIndexerObject; - - declare type matchesIterateeShorthand = { [Key]: any, ... }; - declare type matchesPropertyIterateeShorthand = [string, any]; - declare type propertyIterateeShorthand = string; - - declare type OPredicate = - | ((value: A) => any) - | matchesIterateeShorthand - | matchesPropertyIterateeShorthand - | propertyIterateeShorthand; - - declare type IterateeWithResult = - | ((value: V) => R) - | string; - - declare type OIterateeWithResult = - | ReadOnlyIndexerObject - | IterateeWithResult; - declare type OIteratee = OIterateeWithResult; - - declare type Predicate = - | ((value: T) => any) - | matchesIterateeShorthand - | matchesPropertyIterateeShorthand - | propertyIterateeShorthand; - - declare type _ValueOnlyIteratee = (value: T) => mixed; - declare type ValueOnlyIteratee = _ValueOnlyIteratee | string; - declare type _Iteratee = (item: T) => mixed; - declare type Iteratee = _Iteratee | Object | string; - declare type AFlatMapIteratee = - | ((item: T) => Array) - | string; - declare type OFlatMapIteratee = IterateeWithResult>; - declare type Comparator = (item: T, item2: T) => boolean; - - declare type MapIterator = ((item: T) => U) | propertyIterateeShorthand; - - declare type OMapIterator = - | ((item: T) => U) - | propertyIterateeShorthand; - - declare type Lodash = {| - // Array - chunk: - & ((size: number) => ((array: $ReadOnlyArray) => Array>)) - & ((size: number, array: $ReadOnlyArray) => Array>); - compact(array?: ?$ReadOnlyArray): Array; - concat: - & ( | T, B: Array | U>( - base: A - ) => (elements: B) => Array) - & ( | T, B: Array | U>( - base: A, - elements: B - ) => Array); - difference: - & ((values: $ReadOnlyArray) => ((array: $ReadOnlyArray) => Array)) - & ((values: $ReadOnlyArray, array: $ReadOnlyArray) => Array); - differenceBy: - & (( - iteratee: ValueOnlyIteratee - ) => (((values: $ReadOnlyArray) => (array: $ReadOnlyArray) => Array) & - ((values: $ReadOnlyArray, array: $ReadOnlyArray) => Array))) - & (( - iteratee: ValueOnlyIteratee, - values: $ReadOnlyArray - ) => ((array: $ReadOnlyArray) => Array)) - & (( - iteratee: ValueOnlyIteratee, - values: $ReadOnlyArray, - array: $ReadOnlyArray - ) => Array); - differenceWith: - & (( - comparator: Comparator - ) => (((first: $ReadOnlyArray) => (second: $ReadOnlyArray) => Array) & - ((first: $ReadOnlyArray, second: $ReadOnlyArray) => Array))) - & (( - comparator: Comparator, - first: $ReadOnlyArray - ) => ((second: $ReadOnlyArray) => Array)) - & (( - comparator: Comparator, - first: $ReadOnlyArray, - second: $ReadOnlyArray - ) => Array); - drop: - & ((n: number) => ((array: $ReadOnlyArray) => Array)) - & ((n: number, array: $ReadOnlyArray) => Array); - dropLast: - & ((n: number) => ((array: $ReadOnlyArray) => Array)) - & ((n: number, array: $ReadOnlyArray) => Array); - dropRight: - & ((n: number) => ((array: $ReadOnlyArray) => Array)) - & ((n: number, array: $ReadOnlyArray) => Array); - dropRightWhile: - & ((predicate: Predicate) => (array: $ReadOnlyArray) => Array) - & ((predicate: Predicate, array: $ReadOnlyArray) => Array); - dropWhile: - & ((predicate: Predicate) => ((array: $ReadOnlyArray) => Array)) - & ((predicate: Predicate, array: $ReadOnlyArray) => Array); - dropLastWhile: - & ((predicate: Predicate) => ((array: $ReadOnlyArray) => Array)) - & ((predicate: Predicate, array: $ReadOnlyArray) => Array); - fill: - & (( - start: number - ) => ((( - end: number - ) => ((value: U) => (array: Array) => Array) & - ((value: U, array: Array) => Array)) & - ((end: number, value: U) => (array: Array) => Array) & - ((end: number, value: U, array: Array) => Array))) - & (( - start: number, - end: number - ) => (((value: U) => (array: Array) => Array) & - ((value: U, array: Array) => Array))) - & (( - start: number, - end: number, - value: U - ) => ((array: Array) => Array)) - & (( - start: number, - end: number, - value: U, - array: Array - ) => Array); - findIndex: - & ((predicate: Predicate) => ((array: $ReadOnlyArray) => number)) - & ((predicate: Predicate, array: $ReadOnlyArray) => number); - findIndexFrom: - & (( - predicate: Predicate - ) => (((fromIndex: number) => (array: $ReadOnlyArray) => number) & - ((fromIndex: number, array: $ReadOnlyArray) => number))) - & (( - predicate: Predicate, - fromIndex: number - ) => ((array: $ReadOnlyArray) => number)) - & (( - predicate: Predicate, - fromIndex: number, - array: $ReadOnlyArray - ) => number); - findLastIndex: - & (( - predicate: Predicate - ) => ((array: $ReadOnlyArray) => number)) - & ((predicate: Predicate, array: $ReadOnlyArray) => number); - findLastIndexFrom: - & (( - predicate: Predicate - ) => (((fromIndex: number) => (array: $ReadOnlyArray) => number) & - ((fromIndex: number, array: $ReadOnlyArray) => number))) - & (( - predicate: Predicate, - fromIndex: number - ) => ((array: $ReadOnlyArray) => number)) - & (( - predicate: Predicate, - fromIndex: number, - array: $ReadOnlyArray - ) => number); - // alias of _.head - first(array: $ReadOnlyArray): T; - flatten(array: $ReadOnlyArray<$ReadOnlyArray | X>): Array; - unnest(array: $ReadOnlyArray<$ReadOnlyArray | X>): Array; - flattenDeep(array: $ReadOnlyArray): Array; - flattenDepth: - & ((depth: number) => ((array: $ReadOnlyArray) => Array)) - & ((depth: number, array: $ReadOnlyArray) => Array); - fromPairs(pairs: $ReadOnlyArray<[A, B]>): {| [key: A]: B |}; - head(array: $ReadOnlyArray): T; - indexOf: - & ((value: T) => ((array: $ReadOnlyArray) => number)) - & ((value: T, array: $ReadOnlyArray) => number); - indexOfFrom: - & (( - value: T - ) => (((fromIndex: number) => (array: $ReadOnlyArray) => number) & - ((fromIndex: number, array: $ReadOnlyArray) => number))) - & ((value: T, fromIndex: number) => ((array: $ReadOnlyArray) => number)) - & ((value: T, fromIndex: number, array: $ReadOnlyArray) => number); - initial(array: $ReadOnlyArray): Array; - init(array: $ReadOnlyArray): Array; - intersection: - & ((a1: $ReadOnlyArray) => ((a2: $ReadOnlyArray) => Array)) - & ((a1: $ReadOnlyArray, a2: $ReadOnlyArray) => Array); - intersectionBy: - & (( - iteratee: ValueOnlyIteratee - ) => (((a1: $ReadOnlyArray) => (a2: $ReadOnlyArray) => Array) & - ((a1: $ReadOnlyArray, a2: $ReadOnlyArray) => Array))) - & (( - iteratee: ValueOnlyIteratee, - a1: $ReadOnlyArray - ) => ((a2: $ReadOnlyArray) => Array)) - & (( - iteratee: ValueOnlyIteratee, - a1: $ReadOnlyArray, - a2: $ReadOnlyArray - ) => Array); - intersectionWith: - & (( - comparator: Comparator - ) => ((a1: $ReadOnlyArray) => (a2: $ReadOnlyArray) => Array) & - ((a1: $ReadOnlyArray, a2: $ReadOnlyArray) => Array)) - & (( - comparator: Comparator, - a1: $ReadOnlyArray - ) => ((a2: $ReadOnlyArray) => Array)) - & (( - comparator: Comparator, - a1: $ReadOnlyArray, - a2: $ReadOnlyArray - ) => Array); - join: - & ((separator: string) => ((array: $ReadOnlyArray) => string)) - & ((separator: string, array: $ReadOnlyArray) => string); - last(array: $ReadOnlyArray): T; - lastIndexOf: - & ((value: T) => (array: $ReadOnlyArray) => number) - & ((value: T, array: $ReadOnlyArray) => number); - lastIndexOfFrom: - & (( - value: T - ) => (((fromIndex: number) => (array: $ReadOnlyArray) => number) & - ((fromIndex: number, array: $ReadOnlyArray) => number))) - & (( - value: T, - fromIndex: number - ) => ((array: $ReadOnlyArray) => number)) - & ((value: T, fromIndex: number, array: $ReadOnlyArray) => number); - nth: - & ((n: number) => ((array: $ReadOnlyArray) => T)) - & ((n: number, array: $ReadOnlyArray) => T); - pull: - & ((value: T) => ((array: Array) => Array)) - & ((value: T, array: Array) => Array); - pullAll: - & ((values: $ReadOnlyArray) => ((array: Array) => Array)) - & ((values: $ReadOnlyArray, array: Array) => Array); - pullAllBy: - & (( - iteratee: ValueOnlyIteratee - ) => (((values: $ReadOnlyArray) => (array: Array) => Array) & - ((values: $ReadOnlyArray, array: Array) => Array))) - & (( - iteratee: ValueOnlyIteratee, - values: $ReadOnlyArray - ) => ((array: Array) => Array)) - & (( - iteratee: ValueOnlyIteratee, - values: $ReadOnlyArray, - array: Array - ) => Array); - pullAllWith: - & (( - comparator: Function - ) => (((values: Array) => (array: Array) => Array) & - ((values: Array, array: Array) => Array))) - & ((comparator: Function, values: Array) => ((array: Array) => Array)) - & ((comparator: Function, values: Array, array: Array) => Array); - pullAt: - & ((indexed: Array) => ((array: Array) => Array)) - & ((indexed: Array, array: Array) => Array); - remove: - & ((predicate: Predicate) => ((array: Array) => Array)) - & ((predicate: Predicate, array: Array) => Array); - reverse(array: Array): Array; - slice: - & (( - start: number - ) => (((end: number) => (array: $ReadOnlyArray) => Array) & - ((end: number, array: $ReadOnlyArray) => Array))) - & ((start: number, end: number) => ((array: $ReadOnlyArray) => Array)) - & ((start: number, end: number, array: $ReadOnlyArray) => Array); - sortedIndex: - & ((value: T) => ((array: $ReadOnlyArray) => number)) - & ((value: T, array: $ReadOnlyArray) => number); - sortedIndexBy: - & (( - iteratee: ValueOnlyIteratee - ) => (((value: T) => (array: $ReadOnlyArray) => number) & - ((value: T, array: $ReadOnlyArray) => number))) - & (( - iteratee: ValueOnlyIteratee, - value: T - ) => ((array: $ReadOnlyArray) => number)) - & (( - iteratee: ValueOnlyIteratee, - value: T, - array: $ReadOnlyArray - ) => number); - sortedIndexOf: - & ((value: T) => ((array: $ReadOnlyArray) => number)) - & ((value: T, array: $ReadOnlyArray) => number); - sortedLastIndex: - & ((value: T) => ((array: $ReadOnlyArray) => number)) - & ((value: T, array: $ReadOnlyArray) => number); - sortedLastIndexBy: - & (( - iteratee: ValueOnlyIteratee - ) => (((value: T) => (array: $ReadOnlyArray) => number) & - ((value: T, array: $ReadOnlyArray) => number))) - & (( - iteratee: ValueOnlyIteratee, - value: T - ) => ((array: $ReadOnlyArray) => number)) - & (( - iteratee: ValueOnlyIteratee, - value: T, - array: $ReadOnlyArray - ) => number); - sortedLastIndexOf: - & ((value: T) => ((array: $ReadOnlyArray) => number)) - & ((value: T, array: $ReadOnlyArray) => number); - sortedUniq(array: $ReadOnlyArray): Array; - sortedUniqBy(iteratee: ValueOnlyIteratee, array: $ReadOnlyArray): Array; - tail(array: $ReadOnlyArray): Array; - take: - & ((n: number) => ((array: $ReadOnlyArray) => Array)) - & ((n: number, array: $ReadOnlyArray) => Array); - takeRight: - & ((n: number) => ((array: $ReadOnlyArray) => Array)) - & ((n: number, array: $ReadOnlyArray) => Array); - takeLast: - & ((n: number) => (array: $ReadOnlyArray) => Array) - & ((n: number, array: $ReadOnlyArray) => Array); - takeRightWhile: - & ((predicate: Predicate) => ((array: $ReadOnlyArray) => Array)) - & ((predicate: Predicate, array: $ReadOnlyArray) => Array); - takeLastWhile: - & ((predicate: Predicate) => ((array: $ReadOnlyArray) => Array)) - & ((predicate: Predicate, array: $ReadOnlyArray) => Array); - takeWhile: - & ((predicate: Predicate) => ((array: $ReadOnlyArray) => Array)) - & ((predicate: Predicate, array: $ReadOnlyArray) => Array); - union: - & ((a1: $ReadOnlyArray) => ((a2: $ReadOnlyArray) => Array)) - & ((a1: $ReadOnlyArray, a2: $ReadOnlyArray) => Array); - unionBy: - & (( - iteratee: ValueOnlyIteratee - ) => (((a1: $ReadOnlyArray) => (a2: $ReadOnlyArray) => Array) & - ((a1: $ReadOnlyArray, a2: $ReadOnlyArray) => Array))) - & (( - iteratee: ValueOnlyIteratee, - a1: $ReadOnlyArray - ) => ((a2: $ReadOnlyArray) => Array)) - & (( - iteratee: ValueOnlyIteratee, - a1: $ReadOnlyArray, - a2: $ReadOnlyArray - ) => Array); - unionWith: - & (( - comparator: Comparator - ) => (((a1: $ReadOnlyArray) => (a2: $ReadOnlyArray) => Array) & - ((a1: $ReadOnlyArray, a2: $ReadOnlyArray) => Array))) - & (( - comparator: Comparator, - a1: $ReadOnlyArray - ) => ((a2: $ReadOnlyArray) => Array)) - & (( - comparator: Comparator, - a1: $ReadOnlyArray, - a2: $ReadOnlyArray - ) => Array); - uniq(array: $ReadOnlyArray): Array; - uniqBy: - & ((iteratee: ValueOnlyIteratee) => ((array: $ReadOnlyArray) => Array)) - & ((iteratee: ValueOnlyIteratee, array: $ReadOnlyArray) => Array); - uniqWith: - & ((comparator: Comparator) => ((array: $ReadOnlyArray) => Array)) - & ((comparator: Comparator, array: $ReadOnlyArray) => Array); - unzip(array: $ReadOnlyArray): Array; - unzipWith: - & ((iteratee: Iteratee) => ((array: $ReadOnlyArray) => Array)) - & ((iteratee: Iteratee, array: $ReadOnlyArray) => Array); - without: - & ((values: $ReadOnlyArray) => ((array: $ReadOnlyArray) => Array)) - & ((values: $ReadOnlyArray, array: $ReadOnlyArray) => Array); - xor: - & ((a1: $ReadOnlyArray) => ((a2: $ReadOnlyArray) => Array)) - & ((a1: $ReadOnlyArray, a2: $ReadOnlyArray) => Array); - symmetricDifference: - & ((a1: $ReadOnlyArray) => ((a2: $ReadOnlyArray) => Array)) - & ((a1: $ReadOnlyArray, a2: $ReadOnlyArray) => Array); - xorBy: - & (( - iteratee: ValueOnlyIteratee - ) => (((a1: $ReadOnlyArray) => (a2: $ReadOnlyArray) => Array) & - ((a1: $ReadOnlyArray, a2: $ReadOnlyArray) => Array))) - & (( - iteratee: ValueOnlyIteratee, - a1: $ReadOnlyArray - ) => ((a2: $ReadOnlyArray) => Array)) - & (( - iteratee: ValueOnlyIteratee, - a1: $ReadOnlyArray, - a2: $ReadOnlyArray - ) => Array); - symmetricDifferenceBy: - & (( - iteratee: ValueOnlyIteratee - ) => ((a1: $ReadOnlyArray) => (a2: $ReadOnlyArray) => Array) & - ((a1: $ReadOnlyArray, a2: $ReadOnlyArray) => Array)) - & (( - iteratee: ValueOnlyIteratee, - a1: $ReadOnlyArray - ) => (a2: $ReadOnlyArray) => Array) - & (( - iteratee: ValueOnlyIteratee, - a1: $ReadOnlyArray, - a2: $ReadOnlyArray - ) => Array); - xorWith: - & (( - comparator: Comparator - ) => (((a1: $ReadOnlyArray) => (a2: $ReadOnlyArray) => Array) & - ((a1: $ReadOnlyArray, a2: $ReadOnlyArray) => Array))) - & (( - comparator: Comparator, - a1: $ReadOnlyArray - ) => ((a2: $ReadOnlyArray) => Array)) - & ((comparator: Comparator, a1: $ReadOnlyArray, a2: $ReadOnlyArray) => Array); - symmetricDifferenceWith: - & (( - comparator: Comparator - ) => (((a1: $ReadOnlyArray) => (a2: $ReadOnlyArray) => Array) & - ((a1: $ReadOnlyArray, a2: $ReadOnlyArray) => Array))) - & (( - comparator: Comparator, - a1: $ReadOnlyArray - ) => ((a2: $ReadOnlyArray) => Array)) - & (( - comparator: Comparator, - a1: $ReadOnlyArray, - a2: $ReadOnlyArray - ) => Array); - zip: - & ((a1: $ReadOnlyArray) => ((a2: $ReadOnlyArray) => Array<[A, B]>)) - & ((a1: $ReadOnlyArray, a2: $ReadOnlyArray) => Array<[A, B]>); - zipAll(arrays: $ReadOnlyArray<$ReadOnlyArray>): Array; - zipObject: - & ((props?: $ReadOnlyArray) => ((values?: $ReadOnlyArray) => { [key: K]: V, ... })) - & ((props?: $ReadOnlyArray, values?: $ReadOnlyArray) => { [key: K]: V, ... }); - zipObj: - & ((props: $ReadOnlyArray) => ((values: $ReadOnlyArray) => Object)) - & ((props: $ReadOnlyArray, values: $ReadOnlyArray) => Object); - zipObjectDeep: - & ((props: $ReadOnlyArray) => ((values: any) => Object)) - & ((props: $ReadOnlyArray, values: any) => Object); - zipWith: - & (( - iteratee: Iteratee - ) => (((a1: NestedArray) => (a2: NestedArray) => Array) & - ((a1: NestedArray, a2: NestedArray) => Array))) - & (( - iteratee: Iteratee, - a1: NestedArray - ) => ((a2: NestedArray) => Array)) - & (( - iteratee: Iteratee, - a1: NestedArray, - a2: NestedArray - ) => Array); - - // Collection - countBy: - & (( - iteratee: ValueOnlyIteratee - ) => ((collection: Collection) => { [string]: number, ... })) - & (( - iteratee: ValueOnlyIteratee, - collection: Collection - ) => { [string]: number, ... }); - // alias of _.forEach - each: - & (( - iteratee: Iteratee | OIteratee - ) => ((collection: Collection) => Array)) - & (( - iteratee: Iteratee | OIteratee, - collection: Collection - ) => Array); - // alias of _.forEachRight - eachRight: - & (( - iteratee: Iteratee | OIteratee - ) => ((collection: Collection) => Array)) - & (( - iteratee: Iteratee | OIteratee, - collection: Collection - ) => Array); - every: - & (( - iteratee: Iteratee | OIteratee - ) => ((collection: Collection) => boolean)) - & (( - iteratee: Iteratee | OIteratee, - collection: Collection - ) => boolean); - all: - & (( - iteratee: Iteratee | OIteratee - ) => ((collection: Collection) => boolean)) - & (( - iteratee: Iteratee | OIteratee, - collection: Collection - ) => boolean); - filter: - & (( - predicate: Predicate | OPredicate - ) => ((collection: Collection) => Array)) - & (( - predicate: Predicate | OPredicate, - collection: Collection - ) => Array); - find: - & (( - predicate: Predicate | OPredicate - ) => ((collection: Collection) => T | void)) - & (( - predicate: Predicate | OPredicate, - collection: Collection - ) => (T | void)); - findFrom: - & (( - predicate: Predicate | OPredicate - ) => ((( - fromIndex: number - ) => (collection: Collection) => T | void) & - (( - fromIndex: number, - collection: Collection - ) => T | void))) - & (( - predicate: Predicate | OPredicate, - fromIndex: number - ) => ((collection: Collection) => T | void)) - & (( - predicate: Predicate | OPredicate, - fromIndex: number, - collection: Collection - ) => (T | void)); - findLast: - & (( - predicate: Predicate | OPredicate - ) => ((collection: Collection) => T | void)) - & (( - predicate: Predicate | OPredicate, - collection: Collection - ) => (T | void)); - findLastFrom: - & (( - predicate: Predicate | OPredicate - ) => ((( - fromIndex: number - ) => (collection: Collection) => T | void) & - (( - fromIndex: number, - collection: Collection - ) => T | void))) - & (( - predicate: Predicate | OPredicate, - fromIndex: number - ) => ((collection: Collection) => T | void)) - & (( - predicate: Predicate | OPredicate, - fromIndex: number, - collection: Collection - ) => T | void); - flatMap: - & (( - iteratee: AFlatMapIteratee | OFlatMapIteratee - ) => ((collection: Collection) => Array)) - & (( - iteratee: AFlatMapIteratee | OFlatMapIteratee, - collection: Collection - ) => Array); - flatMapDeep: - & (( - iteratee: AFlatMapIteratee | OFlatMapIteratee - ) => ((collection: Collection) => Array)) - & (( - iteratee: AFlatMapIteratee | OFlatMapIteratee, - collection: Collection - ) => Array); - flatMapDepth: - & (( - iteratee: AFlatMapIteratee | OFlatMapIteratee - ) => ((( - depth: number - ) => (collection: Collection) => Array) & - ((depth: number, collection: Collection) => Array))) - & (( - iteratee: AFlatMapIteratee | OFlatMapIteratee, - depth: number - ) => ((collection: Collection) => Array)) - & (( - iteratee: AFlatMapIteratee | OFlatMapIteratee, - depth: number, - collection: Collection - ) => Array); - forEach: - & (( - iteratee: Iteratee | OIteratee - ) => ((collection: Collection) => Array)) - & (( - iteratee: Iteratee | OIteratee, - collection: Collection - ) => Array); - forEachRight: - & (( - iteratee: Iteratee | OIteratee - ) => ((collection: Collection) => Array)) - & (( - iteratee: Iteratee | OIteratee, - collection: Collection - ) => Array); - groupBy: - & (( - iteratee: ValueOnlyIteratee - ) => (( - collection: Collection - ) => { [key: V]: Array, ... })) - & (( - iteratee: ValueOnlyIteratee, - collection: Collection - ) => { [key: V]: Array, ... }); - includes: - & ((value: T) => ((collection: Collection) => boolean)) - & ((value: T, collection: Collection) => boolean) - & ((value: string) => ((str: string) => boolean)) - & ((value: string, str: string) => boolean); - contains: - & ((value: string) => ((str: string) => boolean)) - & ((value: string, str: string) => boolean) - & ((value: T) => ((collection: Collection) => boolean)) - & ((value: T, collection: Collection) => boolean); - includesFrom: - & (( - value: string - ) => (((fromIndex: number) => (str: string) => boolean) & - ((fromIndex: number, str: string) => boolean))) - & ((value: string, fromIndex: number) => ((str: string) => boolean)) - & ((value: string, fromIndex: number, str: string) => boolean) - & (( - value: T - ) => (((fromIndex: number) => (collection: $ReadOnlyArray) => boolean) & - ((fromIndex: number, collection: $ReadOnlyArray) => boolean))) - & (( - value: T, - fromIndex: number - ) => ((collection: $ReadOnlyArray) => boolean)) - & ((value: T, fromIndex: number, collection: $ReadOnlyArray) => boolean); - invokeMap: - & (( - path: ((value: T) => Path) | Path - ) => ((collection: Collection) => Array)) - & (( - path: ((value: T) => Path) | Path, - collection: Collection - ) => Array); - invokeArgsMap: - & (( - path: ((value: T) => Path) | Path - ) => ((( - collection: Collection - ) => (args: $ReadOnlyArray) => Array) & - (( - collection: Collection, - args: $ReadOnlyArray - ) => Array))) - & (( - path: ((value: T) => Path) | Path, - collection: Collection - ) => ((args: $ReadOnlyArray) => Array)) - & (( - path: ((value: T) => Path) | Path, - collection: Collection, - args: $ReadOnlyArray - ) => Array); - keyBy: - & (( - iteratee: ValueOnlyIteratee - ) => ((collection: Collection) => { [key: V]: T, ... })) - & (( - iteratee: ValueOnlyIteratee, - collection: Collection - ) => { [key: V]: T, ... }); - indexBy: - & (( - iteratee: ValueOnlyIteratee - ) => ((collection: Collection) => { [key: V]: T, ... })) - & (( - iteratee: ValueOnlyIteratee, - collection: Collection - ) => { [key: V]: T, ... }); - map: - & (( - iteratee: MapIterator | OMapIterator - ) => ((collection: Collection) => Array)) - & (( - iteratee: MapIterator | OMapIterator, - collection: Collection - ) => Array) - & ((iteratee: (char: string) => any) => ((str: string) => string)) - & ((iteratee: (char: string) => any, str: string) => string); - pluck: - & (( - iteratee: MapIterator | OMapIterator - ) => ((collection: Collection) => Array)) - & (( - iteratee: MapIterator | OMapIterator, - collection: Collection - ) => Array) - & ((iteratee: (char: string) => any) => ((str: string) => string)) - & ((iteratee: (char: string) => any, str: string) => string); - orderBy: - & (( - iteratees: $ReadOnlyArray | OIteratee> | string - ) => ((( - orders: $ReadOnlyArray<"asc" | "desc"> | string - ) => (collection: Collection) => Array) & - (( - orders: $ReadOnlyArray<"asc" | "desc"> | string, - collection: Collection - ) => Array))) - & (( - iteratees: $ReadOnlyArray | OIteratee> | string, - orders: $ReadOnlyArray<"asc" | "desc"> | string - ) => ((collection: Collection) => Array)) - & ( - iteratees: $ReadOnlyArray | OIteratee> | string, - orders: $ReadOnlyArray<"asc" | "desc"> | string, - collection: Collection - ) => Array; - partition: - & (( - predicate: Predicate | OPredicate - ) => ((collection: Collection) => [Array, Array])) - & (( - predicate: Predicate | OPredicate, - collection: Collection - ) => [Array, Array]); - reduce: - & (( - iteratee: (accumulator: U, value: T) => U - ) => (((accumulator: U) => (collection: Collection) => U) & - ((accumulator: U, collection: Collection) => U))) - & (( - iteratee: (accumulator: U, value: T) => U, - accumulator: U - ) => ((collection: Collection) => U)) - & (( - iteratee: (accumulator: U, value: T) => U, - accumulator: U, - collection: Collection - ) => U); - reduceRight: - & (( - iteratee: (value: T, accumulator: U) => U - ) => ((accumulator: U) => (collection: Collection) => U) & - ((accumulator: U, collection: Collection) => U)) - & (( - iteratee: (value: T, accumulator: U) => U, - accumulator: U - ) => (collection: Collection) => U) - & (( - iteratee: (value: T, accumulator: U) => U, - accumulator: U, - collection: Collection - ) => U); - reject: - & (( - predicate: Predicate | OPredicate - ) => ((collection: Collection) => Array)) - & (( - predicate: Predicate | OPredicate, - collection: Collection - ) => Array); - sample(collection: Collection): T; - sampleSize: - & (( - n: number - ) => ((collection: Collection) => Array)) - & ((n: number, collection: Collection) => Array); - shuffle(collection: Collection): Array; - size(collection: $ReadOnlyArray | Object | string): number; - some: - & (( - predicate: Predicate | OPredicate - ) => (collection: Collection) => boolean) - & (( - predicate: Predicate | OPredicate, - collection: Collection - ) => boolean); - any: - & (( - predicate: Predicate | OPredicate - ) => ((collection: Collection) => boolean)) - & (( - predicate: Predicate | OPredicate, - collection: Collection - ) => boolean); - sortBy: - & (( - iteratees: - | $ReadOnlyArray | OIteratee> - | Iteratee - | OIteratee - ) => ((collection: Collection) => Array)) - & (( - iteratees: - | $ReadOnlyArray | OIteratee> - | Iteratee - | OIteratee, - collection: Collection - ) => Array); - - // Date - now(): number; - - // Function - after: - & ((fn: Function) => ((n: number) => Function)) - & ((fn: Function, n: number) => Function); - ary(func: Function): Function; - nAry: - & ((n: number) => ((func: Function) => Function)) - & ((n: number, func: Function) => Function); - before: - & ((fn: Function) => ((n: number) => Function)) - & ((fn: Function, n: number) => Function); - bind: - & ((func: Function) => ((thisArg: any) => Function)) - & ((func: Function, thisArg: any) => Function); - bindKey: - & ((obj: Object) => (key: string) => Function) - & ((obj: Object, key: string) => Function); - curry: Curry; - curryN: - & ((arity: number) => ((func: Function) => Function)) - & ((arity: number, func: Function) => Function); - curryRight(func: Function): Function; - curryRightN: - & ((arity: number) => ((func: Function) => Function)) - & ((arity: number, func: Function) => Function); - debounce: - & ((wait: number) => ((func: (...A) => R) => (...A) => R)) - & ((wait: number, func: (...A) => R) => ((...A) => R)); - defer(func: (...$ReadOnlyArray) => any): TimeoutID; - delay: - & ((wait: number) => ((func: Function) => TimeoutID)) - & ((wait: number, func: Function) => TimeoutID); - flip(func: Function): Function; - memoize(func: F): F; - negate(predicate: (...A) => R): (...A) => boolean; - complement(predicate: Function): Function; - once(func: Function): Function; - overArgs: - & ((func: Function) => ((transforms: $ReadOnlyArray) => Function)) - & ((func: Function, transforms: $ReadOnlyArray) => Function); - useWith: - & ((func: Function) => ((transforms: $ReadOnlyArray) => Function)) - & ((func: Function, transforms: $ReadOnlyArray) => Function); - partial: - & ((func: Function) => ((partials: $ReadOnlyArray) => Function)) - & ((func: Function, partials: $ReadOnlyArray) => Function); - partialRight: - & ((func: Function) => (partials: $ReadOnlyArray) => Function) - & ((func: Function, partials: $ReadOnlyArray) => Function); - rearg: - & ((indexes: $ReadOnlyArray) => ((func: Function) => Function)) - & ((indexes: $ReadOnlyArray, func: Function) => Function); - rest(func: Function): Function; - unapply(func: Function): Function; - restFrom: - & ((start: number) => ((func: Function) => Function)) - & ((start: number, func: Function) => Function); - spread(func: Function): Function; - apply(func: Function): Function; - spreadFrom: - & ((start: number) => ((func: Function) => Function)) - & ((start: number, func: Function) => Function); - throttle: - & ((wait: number) => ((func: (...A) => R) => (...A) => R)) - & ((wait: number, func: (...A) => R) => ((...A) => R)); - unary(func: (T, ...$ReadOnlyArray) => R): (T) => R; - wrap: - & ((wrapper: Function) => ((value: any) => Function)) - & ((wrapper: Function, value: any) => Function); - - // Lang - castArray: - & (() => Array) - & ((value: T) => Array) - & (>(value: T) => T); - clone(value: T): T; - cloneDeep(value: T): T; - cloneDeepWith: - & (( - customizer: (value: T, key: number | string, object: T, stack: any) => U - ) => ((value: T) => U)) - & (( - customizer: (value: T, key: number | string, object: T, stack: any) => U, - value: T - ) => U); - cloneWith: - & (( - customizer: (value: T, key: number | string, object: T, stack: any) => U - ) => ((value: T) => U)) - & (( - customizer: (value: T, key: number | string, object: T, stack: any) => U, - value: T - ) => U); - conformsTo: - & (>( - predicates: T & $ReadOnly<{ [key: string]: (x: any) => boolean, ... }> - ) => ((source: T) => boolean)) - & (>( - predicates: T & $ReadOnly<{ [key: string]: (x: any) => boolean, ... }>, - source: T - ) => boolean); - where: - & (>( - predicates: T & $ReadOnly<{ [key: string]: (x: any) => boolean, ... }> - ) => ((source: T) => boolean)) - & (>( - predicates: T & $ReadOnly<{ [key: string]: (x: any) => boolean, ... }>, - source: T - ) => boolean); - conforms: - & (>( - predicates: T & $ReadOnly<{ [key: string]: (x: any) => boolean, ... }> - ) => ((source: T) => boolean)) - & (>( - predicates: T & $ReadOnly<{ [key: string]: (x: any) => boolean, ... }>, - source: T - ) => boolean); - eq: - & ((value: any) => ((other: any) => boolean)) - & ((value: any, other: any) => boolean); - identical: - & ((value: any) => ((other: any) => boolean)) - & ((value: any, other: any) => boolean); - gt: - & ((value: any) => (other: any) => boolean) - & ((value: any, other: any) => boolean); - gte: - & ((value: any) => ((other: any) => boolean)) - & ((value: any, other: any) => boolean); - isArguments(value: any): boolean; - isArray(value: any): boolean; - isArrayBuffer(value: any): boolean; - isArrayLike(value: any): boolean; - isArrayLikeObject(value: any): boolean; - isBoolean(value: any): boolean; - isBuffer(value: any): boolean; - isDate(value: any): boolean; - isElement(value: any): boolean; - isEmpty(value: any): boolean; - isEqual: - & ((value: any) => ((other: any) => boolean)) - & ((value: any, other: any) => boolean); - equals: - & ((value: any) => (other: any) => boolean) - & ((value: any, other: any) => boolean); - isEqualWith: - & (( - customizer: ( - objValue: any, - otherValue: any, - key: number | string, - object: T, - other: U, - stack: any - ) => boolean | void - ) => (((value: T) => (other: U) => boolean) & - ((value: T, other: U) => boolean))) - & (( - customizer: ( - objValue: any, - otherValue: any, - key: number | string, - object: T, - other: U, - stack: any - ) => boolean | void, - value: T - ) => ((other: U) => boolean)) - & (( - customizer: ( - objValue: any, - otherValue: any, - key: number | string, - object: T, - other: U, - stack: any - ) => boolean | void, - value: T, - other: U - ) => boolean); - isError(value: any): boolean; - isFinite(value: any): boolean; - isFunction(value: any): boolean; - isInteger(value: any): boolean; - isLength(value: any): boolean; - isMap(value: any): boolean; - isMatch: - & ((source: Object) => (object: Object) => boolean) - & ((source: Object, object: Object) => boolean); - whereEq: - & ((source: Object) => (object: Object) => boolean) - & ((source: Object, object: Object) => boolean); - isMatchWith: - & (( - customizer: ( - objValue: any, - srcValue: any, - key: number | string, - object: T, - source: U - ) => boolean | void - ) => (((source: U) => (object: T) => boolean) & - ((source: U, object: T) => boolean))) - & (( - customizer: ( - objValue: any, - srcValue: any, - key: number | string, - object: T, - source: U - ) => boolean | void, - source: U - ) => ((object: T) => boolean)) - & (( - customizer: ( - objValue: any, - srcValue: any, - key: number | string, - object: T, - source: U - ) => boolean | void, - source: U, - object: T - ) => boolean); - isNaN(value: any): boolean; - isNative(value: any): boolean; - isNil(value: any): boolean; - isNull(value: any): boolean; - isNumber(value: any): boolean; - isObject(value: any): boolean; - isObjectLike(value: any): boolean; - isPlainObject(value: any): boolean; - isRegExp(value: any): boolean; - isSafeInteger(value: any): boolean; - isSet(value: any): boolean; - isString: - & ((value: string) => true) - & ((value: any) => false); - isSymbol(value: any): boolean; - isTypedArray(value: any): boolean; - isUndefined(value: any): boolean; - isWeakMap(value: any): boolean; - isWeakSet(value: any): boolean; - lt: - & ((value: any) => ((other: any) => boolean)) - & ((value: any, other: any) => boolean); - lte: - & ((value: any) => ((other: any) => boolean)) - & ((value: any, other: any) => boolean); - toArray(value: any): Array; - toFinite(value: any): number; - toInteger(value: any): number; - toLength(value: any): number; - toNumber(value: any): number; - toPlainObject(value: any): Object; - toSafeInteger(value: any): number; - toString(value: any): string; - - // Math - add(augend: number): (addend: number) => number; - add(augend: number, addend: number): number; - ceil(number: number): number; - divide(dividend: number): (divisor: number) => number; - divide(dividend: number, divisor: number): number; - floor(number: number): number; - max(array: $ReadOnlyArray): T; - maxBy(iteratee: Iteratee): (array: $ReadOnlyArray) => T; - maxBy(iteratee: Iteratee, array: $ReadOnlyArray): T; - mean(array: $ReadOnlyArray): number; - meanBy(iteratee: Iteratee): (array: $ReadOnlyArray) => number; - meanBy(iteratee: Iteratee, array: $ReadOnlyArray): number; - min(array: $ReadOnlyArray): T; - minBy(iteratee: Iteratee): (array: $ReadOnlyArray) => T; - minBy(iteratee: Iteratee, array: $ReadOnlyArray): T; - multiply(multiplier: number): (multiplicand: number) => number; - multiply(multiplier: number, multiplicand: number): number; - round(number: number): number; - subtract(minuend: number): (subtrahend: number) => number; - subtract(minuend: number, subtrahend: number): number; - sum(array: $ReadOnlyArray): number; - sumBy(iteratee: Iteratee): (array: $ReadOnlyArray) => number; - sumBy(iteratee: Iteratee, array: $ReadOnlyArray): number; - - // number - clamp: - & (( - lower: number - ) => (((upper: number) => (number: number) => number) & - ((upper: number, number: number) => number))) - & ((lower: number, upper: number) => ((number: number) => number)) - & ((lower: number, upper: number, number: number) => number); - inRange: - & (( - start: number - ) => (((end: number) => (number: number) => boolean) & - ((end: number, number: number) => boolean))) - & ((start: number, end: number) => ((number: number) => boolean)) - & ((start: number, end: number, number: number) => boolean); - random: - & ((lower: number) => ((upper: number) => number)) - & ((lower: number, upper: number) => number); - - // Object - assign: - & ((object: Object) => ((source: Object) => Object)) - & ((object: Object, source: Object) => Object); - assignAll(objects: Array): Object; - assignInAll(objects: Array): Object; - extendAll(objects: Array): Object; - assignIn: - & ((a: A) => ((b: B) => A & B)) - & ((a: A, b: B) => A & B); - assignInWith: - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A - ) => any | void - ) => (((object: T) => (s1: A) => Object) & ((object: T, s1: A) => Object))) - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A - ) => any | void, - object: T - ) => ((s1: A) => Object)) - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A - ) => any | void, - object: T, - s1: A - ) => Object); - assignWith: - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A - ) => any | void - ) => (((object: T) => (s1: A) => Object) & ((object: T, s1: A) => Object))) - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A - ) => any | void, - object: T - ) => ((s1: A) => Object)) - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A - ) => any | void, - object: T, - s1: A - ) => Object); - assignInAllWith: - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: Object, - source: Object - ) => any | void - ) => ((objects: Array) => Object)) - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: Object, - source: Object - ) => any | void, - objects: Array - ) => Object); - extendAllWith: - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: Object, - source: Object - ) => any | void - ) => ((objects: Array) => Object)) - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: Object, - source: Object - ) => any | void, - objects: Array - ) => Object); - assignAllWith: - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: Object, - source: Object - ) => any | void - ) => ((objects: Array) => Object)) - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: Object, - source: Object - ) => any | void, - objects: Array - ) => Object); - at: - & ((paths: $ReadOnlyArray) => ((object: Object) => Array)) - & ((paths: $ReadOnlyArray, object: Object) => Array); - props: - & ((paths: $ReadOnlyArray) => ((object: Object) => Array)) - & ((paths: $ReadOnlyArray, object: Object) => Array); - paths: - & ((paths: $ReadOnlyArray) => ((object: Object) => Array)) - & ((paths: $ReadOnlyArray, object: Object) => Array); - create(prototype: T): T; - defaults: - & ((source: Object) => ((object: Object) => Object)) - & ((source: Object, object: Object) => Object); - defaultsAll(objects: Array): Object; - defaultsDeep: - & ((source: Object) => ((object: Object) => Object)) - & ((source: Object, object: Object) => Object); - defaultsDeepAll(objects: Array): Object; - // alias for _.toPairs - entries(object: Object): Array<[string, any]>; - // alias for _.toPairsIn - entriesIn(object: Object): Array<[string, any]>; - // alias for _.assignIn - extend: - & ((a: A) => ((b: B) => A & B)) - & ((a: A, b: B) => A & B); - // alias for _.assignInWith - extendWith: - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A - ) => any | void - ) => (((object: T) => (s1: A) => Object) & ((object: T, s1: A) => Object))) - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A - ) => any | void, - object: T - ) => ((s1: A) => Object)) - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A - ) => any | void, - object: T, - s1: A - ) => Object); - findKey: - & (>( - predicate: OPredicate - ) => ((object: T) => string | void)) - & (>( - predicate: OPredicate, - object: T - ) => string | void); - findLastKey: - & (>( - predicate: OPredicate - ) => ((object: T) => string | void)) - & (>( - predicate: OPredicate, - object: T - ) => string | void); - forIn: - & ((iteratee: OIteratee) => ((object: Object) => Object)) - & ((iteratee: OIteratee, object: Object) => Object); - forInRight: - & ((iteratee: OIteratee) => ((object: Object) => Object)) - & ((iteratee: OIteratee, object: Object) => Object); - forOwn: - & ((iteratee: OIteratee) => ((object: Object) => Object)) - & ((iteratee: OIteratee, object: Object) => Object); - forOwnRight: - & ((iteratee: OIteratee) => ((object: Object) => Object)) - & ((iteratee: OIteratee, object: Object) => Object); - functions(object: Object): Array; - functionsIn(object: Object): Array; - get: - & (( - path: Path - ) => ((object: Object | $ReadOnlyArray | void | null) => any)) - & (( - path: Path, - object: Object | $ReadOnlyArray | void | null - ) => any); - prop: - & ((path: Path) => ((object: Object | $ReadOnlyArray) => any)) - & ((path: Path, object: Object | $ReadOnlyArray) => any); - path: - & ((path: Path) => ((object: Object | $ReadOnlyArray) => any)) - & ((path: Path, object: Object | $ReadOnlyArray) => any); - getOr: - & (( - defaultValue: any - ) => ((( - path: Path - ) => (object: Object | $ReadOnlyArray) => any) & - (( - path: Path, - object: Object | $ReadOnlyArray | void | null - ) => any))) - & (( - defaultValue: any, - path: Path - ) => ((object: Object | $ReadOnlyArray | void | null) => any)) - & (( - defaultValue: any, - path: Path, - object: Object | $ReadOnlyArray | void | null - ) => any); - propOr: - & (( - defaultValue: any - ) => ((( - path: Path - ) => (object: Object | $ReadOnlyArray) => any) & - ((path: Path, object: Object | $ReadOnlyArray) => any))) - & (( - defaultValue: any, - path: Path - ) => ((object: Object | $ReadOnlyArray) => any)) - & (( - defaultValue: any, - path: Path, - object: Object | $ReadOnlyArray - ) => any); - pathOr: - & (( - defaultValue: any - ) => ((( - path: Path - ) => (object: Object | $ReadOnlyArray) => any) & - ((path: Path, object: Object | $ReadOnlyArray) => any))) - & (( - defaultValue: any, - path: Path - ) => ((object: Object | $ReadOnlyArray) => any)) - & (( - defaultValue: any, - path: Path, - object: Object | $ReadOnlyArray - ) => any); - has: - & ((path: Path) => ((object: Object) => boolean)) - & ((path: Path, object: Object) => boolean); - hasIn: - & ((path: Path) => ((object: Object) => boolean)) - & ((path: Path, object: Object) => boolean); - invert(object: Object): Object; - invertObj(object: Object): Object; - invertBy: - & ((iteratee: Function) => ((object: Object) => Object)) - & ((iteratee: Function, object: Object) => Object); - invoke: - & ((path: Path) => ((object: Object) => any)) - & ((path: Path, object: Object) => any); - invokeArgs: - & (( - path: Path - ) => (((object: Object) => (args: Array) => any) & - ((object: Object, args: Array) => any))) - & (( - path: Path, - object: Object - ) => ((args: Array) => any)) - & ( - path: Path, - object: Object, - args: Array - ) => any; - keys: - & ((object: ReadOnlyIndexerObject) => Array) - & ((object: Object) => Array); - keysIn(object: Object): Array; - mapKeys: - & ((iteratee: OIteratee) => ((object: Object) => Object)) - & ((iteratee: OIteratee, object: Object) => Object); - mapValues: - & ((iteratee: OIteratee) => ((object: Object) => Object)) - & ((iteratee: OIteratee, object: Object) => Object); - merge: - & ((object: Object) => ((source: Object) => Object)) - & ((object: Object, source: Object) => Object); - mergeAll(objects: $ReadOnlyArray): Object; - mergeWith: - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B - ) => any | void - ) => (((object: T) => (s1: A) => Object) & ((object: T, s1: A) => Object))) - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B - ) => any | void, - object: T - ) => ((s1: A) => Object)) - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B - ) => any | void, - object: T, - s1: A - ) => Object); - mergeAllWith: - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: Object, - source: Object - ) => any | void - ) => ((objects: $ReadOnlyArray) => Object)) - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: Object, - source: Object - ) => any | void, - objects: $ReadOnlyArray - ) => Object); - omit: - & ((props: $ReadOnlyArray) => ((object: Object) => Object)) - & ((props: $ReadOnlyArray, object: Object) => Object); - omitAll: - & ((props: $ReadOnlyArray) => ((object: Object) => Object)) - & ((props: $ReadOnlyArray, object: Object) => Object); - omitBy: - & (>( - predicate: OPredicate - ) => ((object: T) => Object)) - & (>(predicate: OPredicate, object: T) => Object); - pick: - & ((...props: $ReadOnlyArray) => Object) - & ((props: $ReadOnlyArray, object: Object) => Object) - & ((...props: $ReadOnlyArray) => ((object: Object) => Object)) - & ((props: $ReadOnlyArray) => ((object: Object) => Object)); - pickAll: - & ((props: $ReadOnlyArray) => ((object: Object) => Object)) - & ((props: $ReadOnlyArray, object: Object) => Object); - pickBy: - & (>( - predicate: OPredicate - ) => ((object: T) => Object)) - & (>(predicate: OPredicate, object: T) => Object); - result: - & ((path: Path) => ((object: Object) => any)) - & ((path: Path, object: Object) => any); - set: - & (( - path: Path - ) => (((value: any) => (object: Object) => Object) & - ((value: any, object: Object) => Object))) - & ((path: Path, value: any) => ((object: Object) => Object)) - & ((path: Path, value: any, object: Object) => Object); - assoc: - & (( - path: Path - ) => (((value: any) => (object: Object) => Object) & - ((value: any, object: Object) => Object))) - & ((path: Path, value: any) => ((object: Object) => Object)) - & ((path: Path, value: any, object: Object) => Object); - assocPath: - & (( - path: Path - ) => (((value: any) => (object: Object) => Object) & - ((value: any, object: Object) => Object))) - & (( - path: Path, - value: any - ) => ((object: Object) => Object)) - & ((path: Path, value: any, object: Object) => Object); - setWith: - & (( - customizer: (nsValue: any, key: string, nsObject: T) => any - ) => ((( - path: Path - ) => ((value: any) => (object: T) => Object) & - ((value: any, object: T) => Object)) & - ((path: Path, value: any) => (object: T) => Object) & - ((path: Path, value: any, object: T) => Object))) - & (( - customizer: (nsValue: any, key: string, nsObject: T) => any, - path: Path - ) => (((value: any) => (object: T) => Object) & - ((value: any, object: T) => Object))) - & (( - customizer: (nsValue: any, key: string, nsObject: T) => any, - path: Path, - value: any - ) => ((object: T) => Object)) - & (( - customizer: (nsValue: any, key: string, nsObject: T) => any, - path: Path, - value: any, - object: T - ) => Object); - toPairs(object: Object | $ReadOnlyArray): Array<[string, any]>; - toPairsIn(object: Object): Array<[string, any]>; - transform: - & (( - iteratee: OIteratee - ) => ((( - accumulator: any - ) => (collection: Object | $ReadOnlyArray) => any) & - ((accumulator: any, collection: Object | $ReadOnlyArray) => any))) - & (( - iteratee: OIteratee, - accumulator: any - ) => ((collection: Object | $ReadOnlyArray) => any)) - & (( - iteratee: OIteratee, - accumulator: any, - collection: Object | $ReadOnlyArray - ) => any); - unset: - & ((path: Path) => ((object: Object) => Object)) - & ((path: Path, object: Object) => Object); - update: - & (( - path: Path - ) => (((updater: Function) => (object: Object) => Object) & - ((updater: Function, object: Object) => Object))) - & (( - path: Path, - updater: Function - ) => ((object: Object) => Object)) - & ((path: Path, updater: Function, object: Object) => Object); - updateWith: - & (( - customizer: Function - ) => ((( - path: Path - ) => ((updater: Function) => (object: Object) => Object) & - ((updater: Function, object: Object) => Object)) & - (( - path: Path, - updater: Function - ) => (object: Object) => Object) & - ((path: Path, updater: Function, object: Object) => Object))) - & (( - customizer: Function, - path: Path - ) => (((updater: Function) => (object: Object) => Object) & - ((updater: Function, object: Object) => Object))) - & (( - customizer: Function, - path: Path, - updater: Function - ) => ((object: Object) => Object)) - & (( - customizer: Function, - path: Path, - updater: Function, - object: Object - ) => Object); - values(object: Object): Array; - valuesIn(object: Object): Array; - - tap: - & ((interceptor: (value: T) => any) => ((value: T) => T)) - & ((interceptor: (value: T) => any, value: T) => T); - thru: - & ((interceptor: (value: T1) => T2) => ((value: T1) => T2)) - & ((interceptor: (value: T1) => T2, value: T1) => T2); - - // String - camelCase(string: string): string; - capitalize(string: string): string; - deburr(string: string): string; - endsWith: - & ((target: string) => ((string: string) => boolean)) - & ((target: string, string: string) => boolean); - escape(string: string): string; - escapeRegExp(string: string): string; - kebabCase(string: string): string; - lowerCase(string: string): string; - lowerFirst(string: string): string; - pad: - & ((length: number) => ((string: string) => string)) - & ((length: number, string: string) => string); - padChars: - & (( - chars: string - ) => (((length: number) => (string: string) => string) & - ((length: number, string: string) => string))) - & ((chars: string, length: number) => ((string: string) => string)) - & ((chars: string, length: number, string: string) => string); - padEnd: - & ((length: number) => ((string: string) => string)) - & ((length: number, string: string) => string); - padCharsEnd: - & (( - chars: string - ) => (((length: number) => (string: string) => string) & - ((length: number, string: string) => string))) - & ((chars: string, length: number) => ((string: string) => string)) - & ((chars: string, length: number, string: string) => string); - padStart: - & ((length: number) => ((string: string) => string)) - & ((length: number, string: string) => string); - padCharsStart: - & (( - chars: string - ) => (((length: number) => (string: string) => string) & - ((length: number, string: string) => string))) - & ((chars: string, length: number) => ((string: string) => string)) - & ((chars: string, length: number, string: string) => string); - parseInt: - & ((radix: number) => ((string: string) => number)) - & ((radix: number, string: string) => number); - repeat: - & ((n: number) => (string: string) => string) - & ((n: number, string: string) => string); - replace: - & (( - pattern: RegExp | string - ) => ((( - replacement: ((string: string) => string) | string - ) => (string: string) => string) & - (( - replacement: ((string: string) => string) | string, - string: string - ) => string))) - & (( - pattern: RegExp | string, - replacement: ((string: string) => string) | string - ) => ((string: string) => string)) - & (( - pattern: RegExp | string, - replacement: ((string: string) => string) | string, - string: string - ) => string); - snakeCase(string: string): string; - split: - & ((separator: RegExp | string) => ((string: string) => Array)) - & ((separator: RegExp | string, string: string) => Array); - startCase(string: string): string; - startsWith: - & ((target: string) => ((string: string) => boolean)) - & ((target: string, string: string) => boolean); - template(string: string): Function; - toLower(string: string): string; - toUpper(string: string): string; - trim(string: string): string; - trimChars: - & ((chars: string) => ((string: string) => string)) - & ((chars: string, string: string) => string); - trimEnd(string: string): string; - trimCharsEnd: - & ((chars: string) => ((string: string) => string)) - & ((chars: string, string: string) => string); - trimStart(string: string): string; - trimCharsStart: - & ((chars: string) => ((string: string) => string)) - & ((chars: string, string: string) => string); - truncate: - & ((options: TruncateOptions) => ((string: string) => string)) - & ((options: TruncateOptions, string: string) => string); - unescape(string: string): string; - upperCase(string: string): string; - upperFirst(string: string): string; - words(string: string): Array; - - // Util - attempt(func: Function): any; - bindAll: - & ((methodNames: $ReadOnlyArray) => ((object: Object) => Object)) - & ((methodNames: $ReadOnlyArray, object: Object) => Object); - cond(pairs: NestedArray): Function; - constant(value: T): () => T; - always(value: T): () => T; - defaultTo: - & ((defaultValue: T2) => ((value: T1) => T2)) - & ((defaultValue: T2, value: T1) => T2) - & (( - defaultValue: T2 - ) => ((value: T1) => T1)) - & (( - defaultValue: T2, - value: T1 - ) => T1) - // NaN is a number instead of its own type, otherwise it would behave like null/void - & ((defaultValue: T2) => ((value: T1) => T1 | T2)) - & ((defaultValue: T2, value: T1) => T1 | T2); - flow: ((funcs: $ReadOnlyArray) => Function) & typeof composeReverse; - pipe: ((funcs: $ReadOnlyArray) => Function) & typeof composeReverse; - flowRight: ((funcs: $ReadOnlyArray) => Function) & typeof compose; - compose: ((funcs: $ReadOnlyArray) => Function) & typeof compose; - identity(value: T): T; - iteratee(func: any): Function; - matches: - & ((source: Object) => ((object: Object) => boolean)) - & ((source: Object, object: Object) => boolean); - matchesProperty: - & ((path: Path) => ((srcValue: any) => Function)) - & ((path: Path, srcValue: any) => Function); - propEq: - & ((path: Path) => ((srcValue: any) => Function)) - & ((path: Path, srcValue: any) => Function); - pathEq: - & ((path: Path) => ((srcValue: any) => Function)) - & ((path: Path, srcValue: any) => Function); - method(path: Path): Function; - methodOf(object: Object): Function; - mixin: - & (( - object: T - ) => (((source: Object) => (options: { chain: boolean, ... }) => T) & - ((source: Object, options: { chain: boolean, ... }) => T))) - & (( - object: T, - source: Object - ) => ((options: { chain: boolean, ... }) => T)) - & (( - object: T, - source: Object, - options: { chain: boolean, ... } - ) => T); - noConflict(): Lodash; - noop(...args: $ReadOnlyArray): void; - nthArg(n: number): Function; - over(iteratees: $ReadOnlyArray): Function; - juxt(iteratees: $ReadOnlyArray): Function; - overEvery(predicates: $ReadOnlyArray): Function; - allPass(predicates: $ReadOnlyArray): Function; - overSome(predicates: $ReadOnlyArray): Function; - anyPass(predicates: $ReadOnlyArray): Function; - property: - & (( - path: Path - ) => ((object: Object | $ReadOnlyArray) => any)) - & ((path: Path, object: Object | $ReadOnlyArray) => any); - propertyOf: - & ((object: Object) => ((path: Path) => Function)) - & ((object: Object, path: Path) => Function); - range: - & ((start: number) => ((end: number) => Array)) - & (start: number, end: number) => Array; - rangeStep: - & (( - step: number - ) => (((start: number) => (end: number) => Array) & - ((start: number, end: number) => Array))) - & ((step: number, start: number) => ((end: number) => Array)) - & ((step: number, start: number, end: number) => Array); - rangeRight: - & ((start: number) => ((end: number) => Array)) - & ((start: number, end: number) => Array); - rangeStepRight: - & (( - step: number - ) => (((start: number) => (end: number) => Array) & - ((start: number, end: number) => Array))) - & ((step: number, start: number) => ((end: number) => Array)) - & ((step: number, start: number, end: number) => Array); - runInContext(context: Object): Function; - - stubArray(): Array; - stubFalse(): false; - F(): false; - stubObject(): {...}; - stubString(): ""; - stubTrue(): true; - T(): true; - times: - & ((iteratee: (i: number) => T) => ((n: number) => Array)) - & ((iteratee: (i: number) => T, n: number) => Array); - toPath(value: any): Array; - uniqueId(prefix: string): string; - - __: any; - placeholder: any; - - convert(options: { - cap?: boolean, - curry?: boolean, - fixed?: boolean, - immutable?: boolean, - rearg?: boolean, - ... - }): void; - - // Properties - VERSION: string; - templateSettings: TemplateSettings; - |} - - declare module.exports: Lodash; -} - -declare module "lodash/chunk" { - declare module.exports: $Exports<"lodash">["chunk"]; -} - -declare module "lodash/compact" { - declare module.exports: $Exports<"lodash">["compact"]; -} - -declare module "lodash/concat" { - declare module.exports: $Exports<"lodash">["concat"]; -} - -declare module "lodash/difference" { - declare module.exports: $Exports<"lodash">["difference"]; -} - -declare module "lodash/differenceBy" { - declare module.exports: $Exports<"lodash">["differenceBy"]; -} - -declare module "lodash/differenceWith" { - declare module.exports: $Exports<"lodash">["differenceWith"]; -} - -declare module "lodash/drop" { - declare module.exports: $Exports<"lodash">["drop"]; -} - -declare module "lodash/dropRight" { - declare module.exports: $Exports<"lodash">["dropRight"]; -} - -declare module "lodash/dropRightWhile" { - declare module.exports: $Exports<"lodash">["dropRightWhile"]; -} - -declare module "lodash/dropWhile" { - declare module.exports: $Exports<"lodash">["dropWhile"]; -} - -declare module "lodash/fill" { - declare module.exports: $Exports<"lodash">["fill"]; -} - -declare module "lodash/findIndex" { - declare module.exports: $Exports<"lodash">["findIndex"]; -} - -declare module "lodash/findLastIndex" { - declare module.exports: $Exports<"lodash">["findLastIndex"]; -} - -declare module "lodash/first" { - declare module.exports: $Exports<"lodash">["first"]; -} - -declare module "lodash/flatten" { - declare module.exports: $Exports<"lodash">["flatten"]; -} - -declare module "lodash/flattenDeep" { - declare module.exports: $Exports<"lodash">["flattenDeep"]; -} - -declare module "lodash/flattenDepth" { - declare module.exports: $Exports<"lodash">["flattenDepth"]; -} - -declare module "lodash/fromPairs" { - declare module.exports: $Exports<"lodash">["fromPairs"]; -} - -declare module "lodash/head" { - declare module.exports: $Exports<"lodash">["head"]; -} - -declare module "lodash/indexOf" { - declare module.exports: $Exports<"lodash">["indexOf"]; -} - -declare module "lodash/initial" { - declare module.exports: $Exports<"lodash">["initial"]; -} - -declare module "lodash/intersection" { - declare module.exports: $Exports<"lodash">["intersection"]; -} - -declare module "lodash/intersectionBy" { - declare module.exports: $Exports<"lodash">["intersectionBy"]; -} - -declare module "lodash/intersectionWith" { - declare module.exports: $Exports<"lodash">["intersectionWith"]; -} - -declare module "lodash/join" { - declare module.exports: $Exports<"lodash">["join"]; -} - -declare module "lodash/last" { - declare module.exports: $Exports<"lodash">["last"]; -} - -declare module "lodash/lastIndexOf" { - declare module.exports: $Exports<"lodash">["lastIndexOf"]; -} - -declare module "lodash/nth" { - declare module.exports: $Exports<"lodash">["nth"]; -} - -declare module "lodash/pull" { - declare module.exports: $Exports<"lodash">["pull"]; -} - -declare module "lodash/pullAll" { - declare module.exports: $Exports<"lodash">["pullAll"]; -} - -declare module "lodash/pullAllBy" { - declare module.exports: $Exports<"lodash">["pullAllBy"]; -} - -declare module "lodash/pullAllWith" { - declare module.exports: $Exports<"lodash">["pullAllWith"]; -} - -declare module "lodash/pullAt" { - declare module.exports: $Exports<"lodash">["pullAt"]; -} - -declare module "lodash/remove" { - declare module.exports: $Exports<"lodash">["remove"]; -} - -declare module "lodash/reverse" { - declare module.exports: $Exports<"lodash">["reverse"]; -} - -declare module "lodash/slice" { - declare module.exports: $Exports<"lodash">["slice"]; -} - -declare module "lodash/sortedIndex" { - declare module.exports: $Exports<"lodash">["sortedIndex"]; -} - -declare module "lodash/sortedIndexBy" { - declare module.exports: $Exports<"lodash">["sortedIndexBy"]; -} - -declare module "lodash/sortedIndexOf" { - declare module.exports: $Exports<"lodash">["sortedIndexOf"]; -} - -declare module "lodash/sortedLastIndex" { - declare module.exports: $Exports<"lodash">["sortedLastIndex"]; -} - -declare module "lodash/sortedLastIndexBy" { - declare module.exports: $Exports<"lodash">["sortedLastIndexBy"]; -} - -declare module "lodash/sortedLastIndexOf" { - declare module.exports: $Exports<"lodash">["sortedLastIndexOf"]; -} - -declare module "lodash/sortedUniq" { - declare module.exports: $Exports<"lodash">["sortedUniq"]; -} - -declare module "lodash/sortedUniqBy" { - declare module.exports: $Exports<"lodash">["sortedUniqBy"]; -} - -declare module "lodash/tail" { - declare module.exports: $Exports<"lodash">["tail"]; -} - -declare module "lodash/take" { - declare module.exports: $Exports<"lodash">["take"]; -} - -declare module "lodash/takeRight" { - declare module.exports: $Exports<"lodash">["takeRight"]; -} - -declare module "lodash/takeRightWhile" { - declare module.exports: $Exports<"lodash">["takeRightWhile"]; -} - -declare module "lodash/takeWhile" { - declare module.exports: $Exports<"lodash">["takeWhile"]; -} - -declare module "lodash/union" { - declare module.exports: $Exports<"lodash">["union"]; -} - -declare module "lodash/unionBy" { - declare module.exports: $Exports<"lodash">["unionBy"]; -} - -declare module "lodash/unionWith" { - declare module.exports: $Exports<"lodash">["unionWith"]; -} - -declare module "lodash/uniq" { - declare module.exports: $Exports<"lodash">["uniq"]; -} - -declare module "lodash/uniqBy" { - declare module.exports: $Exports<"lodash">["uniqBy"]; -} - -declare module "lodash/uniqWith" { - declare module.exports: $Exports<"lodash">["uniqWith"]; -} - -declare module "lodash/unzip" { - declare module.exports: $Exports<"lodash">["unzip"]; -} - -declare module "lodash/unzipWith" { - declare module.exports: $Exports<"lodash">["unzipWith"]; -} - -declare module "lodash/without" { - declare module.exports: $Exports<"lodash">["without"]; -} - -declare module "lodash/xor" { - declare module.exports: $Exports<"lodash">["xor"]; -} - -declare module "lodash/xorBy" { - declare module.exports: $Exports<"lodash">["xorBy"]; -} - -declare module "lodash/xorWith" { - declare module.exports: $Exports<"lodash">["xorWith"]; -} - -declare module "lodash/zip" { - declare module.exports: $Exports<"lodash">["zip"]; -} - -declare module "lodash/zipObject" { - declare module.exports: $Exports<"lodash">["zipObject"]; -} - -declare module "lodash/zipObjectDeep" { - declare module.exports: $Exports<"lodash">["zipObjectDeep"]; -} - -declare module "lodash/zipWith" { - declare module.exports: $Exports<"lodash">["zipWith"]; -} - -declare module "lodash/countBy" { - declare module.exports: $Exports<"lodash">["countBy"]; -} - -declare module "lodash/each" { - declare module.exports: $Exports<"lodash">["each"]; -} - -declare module "lodash/eachRight" { - declare module.exports: $Exports<"lodash">["eachRight"]; -} - -declare module "lodash/every" { - declare module.exports: $Exports<"lodash">["every"]; -} - -declare module "lodash/filter" { - declare module.exports: $Exports<"lodash">["filter"]; -} - -declare module "lodash/find" { - declare module.exports: $Exports<"lodash">["find"]; -} - -declare module "lodash/findLast" { - declare module.exports: $Exports<"lodash">["findLast"]; -} - -declare module "lodash/flatMap" { - declare module.exports: $Exports<"lodash">["flatMap"]; -} - -declare module "lodash/flatMapDeep" { - declare module.exports: $Exports<"lodash">["flatMapDeep"]; -} - -declare module "lodash/flatMapDepth" { - declare module.exports: $Exports<"lodash">["flatMapDepth"]; -} - -declare module "lodash/forEach" { - declare module.exports: $Exports<"lodash">["forEach"]; -} - -declare module "lodash/forEachRight" { - declare module.exports: $Exports<"lodash">["forEachRight"]; -} - -declare module "lodash/groupBy" { - declare module.exports: $Exports<"lodash">["groupBy"]; -} - -declare module "lodash/includes" { - declare module.exports: $Exports<"lodash">["includes"]; -} - -declare module "lodash/invokeMap" { - declare module.exports: $Exports<"lodash">["invokeMap"]; -} - -declare module "lodash/keyBy" { - declare module.exports: $Exports<"lodash">["keyBy"]; -} - -declare module "lodash/map" { - declare module.exports: $Exports<"lodash">["map"]; -} - -declare module "lodash/orderBy" { - declare module.exports: $Exports<"lodash">["orderBy"]; -} - -declare module "lodash/partition" { - declare module.exports: $Exports<"lodash">["partition"]; -} - -declare module "lodash/reduce" { - declare module.exports: $Exports<"lodash">["reduce"]; -} - -declare module "lodash/reduceRight" { - declare module.exports: $Exports<"lodash">["reduceRight"]; -} - -declare module "lodash/reject" { - declare module.exports: $Exports<"lodash">["reject"]; -} - -declare module "lodash/sample" { - declare module.exports: $Exports<"lodash">["sample"]; -} - -declare module "lodash/sampleSize" { - declare module.exports: $Exports<"lodash">["sampleSize"]; -} - -declare module "lodash/shuffle" { - declare module.exports: $Exports<"lodash">["shuffle"]; -} - -declare module "lodash/size" { - declare module.exports: $Exports<"lodash">["size"]; -} - -declare module "lodash/some" { - declare module.exports: $Exports<"lodash">["some"]; -} - -declare module "lodash/sortBy" { - declare module.exports: $Exports<"lodash">["sortBy"]; -} - -declare module "lodash/now" { - declare module.exports: $Exports<"lodash">["now"]; -} - -declare module "lodash/after" { - declare module.exports: $Exports<"lodash">["after"]; -} - -declare module "lodash/ary" { - declare module.exports: $Exports<"lodash">["ary"]; -} - -declare module "lodash/before" { - declare module.exports: $Exports<"lodash">["before"]; -} - -declare module "lodash/bind" { - declare module.exports: $Exports<"lodash">["bind"]; -} - -declare module "lodash/bindKey" { - declare module.exports: $Exports<"lodash">["bindKey"]; -} - -declare module "lodash/curry" { - declare module.exports: $Exports<"lodash">["curry"]; -} - -declare module "lodash/curryRight" { - declare module.exports: $Exports<"lodash">["curryRight"]; -} - -declare module "lodash/debounce" { - declare module.exports: $Exports<"lodash">["debounce"]; -} - -declare module "lodash/defer" { - declare module.exports: $Exports<"lodash">["defer"]; -} - -declare module "lodash/delay" { - declare module.exports: $Exports<"lodash">["delay"]; -} - -declare module "lodash/flip" { - declare module.exports: $Exports<"lodash">["flip"]; -} - -declare module "lodash/memoize" { - declare module.exports: $Exports<"lodash">["memoize"]; -} - -declare module "lodash/negate" { - declare module.exports: $Exports<"lodash">["negate"]; -} - -declare module "lodash/once" { - declare module.exports: $Exports<"lodash">["once"]; -} - -declare module "lodash/overArgs" { - declare module.exports: $Exports<"lodash">["overArgs"]; -} - -declare module "lodash/partial" { - declare module.exports: $Exports<"lodash">["partial"]; -} - -declare module "lodash/partialRight" { - declare module.exports: $Exports<"lodash">["partialRight"]; -} - -declare module "lodash/rearg" { - declare module.exports: $Exports<"lodash">["rearg"]; -} - -declare module "lodash/rest" { - declare module.exports: $Exports<"lodash">["rest"]; -} - -declare module "lodash/spread" { - declare module.exports: $Exports<"lodash">["spread"]; -} - -declare module "lodash/throttle" { - declare module.exports: $Exports<"lodash">["throttle"]; -} - -declare module "lodash/unary" { - declare module.exports: $Exports<"lodash">["unary"]; -} - -declare module "lodash/wrap" { - declare module.exports: $Exports<"lodash">["wrap"]; -} - -declare module "lodash/castArray" { - declare module.exports: $Exports<"lodash">["castArray"]; -} - -declare module "lodash/clone" { - declare module.exports: $Exports<"lodash">["clone"]; -} - -declare module "lodash/cloneDeep" { - declare module.exports: $Exports<"lodash">["cloneDeep"]; -} - -declare module "lodash/cloneDeepWith" { - declare module.exports: $Exports<"lodash">["cloneDeepWith"]; -} - -declare module "lodash/cloneWith" { - declare module.exports: $Exports<"lodash">["cloneWith"]; -} - -declare module "lodash/conformsTo" { - declare module.exports: $Exports<"lodash">["conformsTo"]; -} - -declare module "lodash/eq" { - declare module.exports: $Exports<"lodash">["eq"]; -} - -declare module "lodash/gt" { - declare module.exports: $Exports<"lodash">["gt"]; -} - -declare module "lodash/gte" { - declare module.exports: $Exports<"lodash">["gte"]; -} - -declare module "lodash/isArguments" { - declare module.exports: $Exports<"lodash">["isArguments"]; -} - -declare module "lodash/isArray" { - declare module.exports: $Exports<"lodash">["isArray"]; -} - -declare module "lodash/isArrayBuffer" { - declare module.exports: $Exports<"lodash">["isArrayBuffer"]; -} - -declare module "lodash/isArrayLike" { - declare module.exports: $Exports<"lodash">["isArrayLike"]; -} - -declare module "lodash/isArrayLikeObject" { - declare module.exports: $Exports<"lodash">["isArrayLikeObject"]; -} - -declare module "lodash/isBoolean" { - declare module.exports: $Exports<"lodash">["isBoolean"]; -} - -declare module "lodash/isBuffer" { - declare module.exports: $Exports<"lodash">["isBuffer"]; -} - -declare module "lodash/isDate" { - declare module.exports: $Exports<"lodash">["isDate"]; -} - -declare module "lodash/isElement" { - declare module.exports: $Exports<"lodash">["isElement"]; -} - -declare module "lodash/isEmpty" { - declare module.exports: $Exports<"lodash">["isEmpty"]; -} - -declare module "lodash/isEqual" { - declare module.exports: $Exports<"lodash">["isEqual"]; -} - -declare module "lodash/isEqualWith" { - declare module.exports: $Exports<"lodash">["isEqualWith"]; -} - -declare module "lodash/isError" { - declare module.exports: $Exports<"lodash">["isError"]; -} - -declare module "lodash/isFinite" { - declare module.exports: $Exports<"lodash">["isFinite"]; -} - -declare module "lodash/isFunction" { - declare module.exports: $Exports<"lodash">["isFunction"]; -} - -declare module "lodash/isInteger" { - declare module.exports: $Exports<"lodash">["isInteger"]; -} - -declare module "lodash/isLength" { - declare module.exports: $Exports<"lodash">["isLength"]; -} - -declare module "lodash/isMap" { - declare module.exports: $Exports<"lodash">["isMap"]; -} - -declare module "lodash/isMatch" { - declare module.exports: $Exports<"lodash">["isMatch"]; -} - -declare module "lodash/isMatchWith" { - declare module.exports: $Exports<"lodash">["isMatchWith"]; -} - -declare module "lodash/isNaN" { - declare module.exports: $Exports<"lodash">["isNaN"]; -} - -declare module "lodash/isNative" { - declare module.exports: $Exports<"lodash">["isNative"]; -} - -declare module "lodash/isNil" { - declare module.exports: $Exports<"lodash">["isNil"]; -} - -declare module "lodash/isNull" { - declare module.exports: $Exports<"lodash">["isNull"]; -} - -declare module "lodash/isNumber" { - declare module.exports: $Exports<"lodash">["isNumber"]; -} - -declare module "lodash/isObject" { - declare module.exports: $Exports<"lodash">["isObject"]; -} - -declare module "lodash/isObjectLike" { - declare module.exports: $Exports<"lodash">["isObjectLike"]; -} - -declare module "lodash/isPlainObject" { - declare module.exports: $Exports<"lodash">["isPlainObject"]; -} - -declare module "lodash/isRegExp" { - declare module.exports: $Exports<"lodash">["isRegExp"]; -} - -declare module "lodash/isSafeInteger" { - declare module.exports: $Exports<"lodash">["isSafeInteger"]; -} - -declare module "lodash/isSet" { - declare module.exports: $Exports<"lodash">["isSet"]; -} - -declare module "lodash/isString" { - declare module.exports: $Exports<"lodash">["isString"]; -} - -declare module "lodash/isSymbol" { - declare module.exports: $Exports<"lodash">["isSymbol"]; -} - -declare module "lodash/isTypedArray" { - declare module.exports: $Exports<"lodash">["isTypedArray"]; -} - -declare module "lodash/isUndefined" { - declare module.exports: $Exports<"lodash">["isUndefined"]; -} - -declare module "lodash/isWeakMap" { - declare module.exports: $Exports<"lodash">["isWeakMap"]; -} - -declare module "lodash/isWeakSet" { - declare module.exports: $Exports<"lodash">["isWeakSet"]; -} - -declare module "lodash/lt" { - declare module.exports: $Exports<"lodash">["lt"]; -} - -declare module "lodash/lte" { - declare module.exports: $Exports<"lodash">["lte"]; -} - -declare module "lodash/toArray" { - declare module.exports: $Exports<"lodash">["toArray"]; -} - -declare module "lodash/toFinite" { - declare module.exports: $Exports<"lodash">["toFinite"]; -} - -declare module "lodash/toInteger" { - declare module.exports: $Exports<"lodash">["toInteger"]; -} - -declare module "lodash/toLength" { - declare module.exports: $Exports<"lodash">["toLength"]; -} - -declare module "lodash/toNumber" { - declare module.exports: $Exports<"lodash">["toNumber"]; -} - -declare module "lodash/toPlainObject" { - declare module.exports: $Exports<"lodash">["toPlainObject"]; -} - -declare module "lodash/toSafeInteger" { - declare module.exports: $Exports<"lodash">["toSafeInteger"]; -} - -declare module "lodash/toString" { - declare module.exports: $Exports<"lodash">["toString"]; -} - -declare module "lodash/add" { - declare module.exports: $Exports<"lodash">["add"]; -} - -declare module "lodash/ceil" { - declare module.exports: $Exports<"lodash">["ceil"]; -} - -declare module "lodash/divide" { - declare module.exports: $Exports<"lodash">["divide"]; -} - -declare module "lodash/floor" { - declare module.exports: $Exports<"lodash">["floor"]; -} - -declare module "lodash/max" { - declare module.exports: $Exports<"lodash">["max"]; -} - -declare module "lodash/maxBy" { - declare module.exports: $Exports<"lodash">["maxBy"]; -} - -declare module "lodash/mean" { - declare module.exports: $Exports<"lodash">["mean"]; -} - -declare module "lodash/meanBy" { - declare module.exports: $Exports<"lodash">["meanBy"]; -} - -declare module "lodash/min" { - declare module.exports: $Exports<"lodash">["min"]; -} - -declare module "lodash/minBy" { - declare module.exports: $Exports<"lodash">["minBy"]; -} - -declare module "lodash/multiply" { - declare module.exports: $Exports<"lodash">["multiply"]; -} - -declare module "lodash/round" { - declare module.exports: $Exports<"lodash">["round"]; -} - -declare module "lodash/subtract" { - declare module.exports: $Exports<"lodash">["subtract"]; -} - -declare module "lodash/sum" { - declare module.exports: $Exports<"lodash">["sum"]; -} - -declare module "lodash/sumBy" { - declare module.exports: $Exports<"lodash">["sumBy"]; -} - -declare module "lodash/clamp" { - declare module.exports: $Exports<"lodash">["clamp"]; -} - -declare module "lodash/inRange" { - declare module.exports: $Exports<"lodash">["inRange"]; -} - -declare module "lodash/random" { - declare module.exports: $Exports<"lodash">["random"]; -} - -declare module "lodash/assign" { - declare module.exports: $Exports<"lodash">["assign"]; -} - -declare module "lodash/assignIn" { - declare module.exports: $Exports<"lodash">["assignIn"]; -} - -declare module "lodash/assignInWith" { - declare module.exports: $Exports<"lodash">["assignInWith"]; -} - -declare module "lodash/assignWith" { - declare module.exports: $Exports<"lodash">["assignWith"]; -} - -declare module "lodash/at" { - declare module.exports: $Exports<"lodash">["at"]; -} - -declare module "lodash/create" { - declare module.exports: $Exports<"lodash">["create"]; -} - -declare module "lodash/defaults" { - declare module.exports: $Exports<"lodash">["defaults"]; -} - -declare module "lodash/defaultsDeep" { - declare module.exports: $Exports<"lodash">["defaultsDeep"]; -} - -declare module "lodash/entries" { - declare module.exports: $Exports<"lodash">["entries"]; -} - -declare module "lodash/entriesIn" { - declare module.exports: $Exports<"lodash">["entriesIn"]; -} - -declare module "lodash/extend" { - declare module.exports: $Exports<"lodash">["extend"]; -} - -declare module "lodash/extendWith" { - declare module.exports: $Exports<"lodash">["extendWith"]; -} - -declare module "lodash/findKey" { - declare module.exports: $Exports<"lodash">["findKey"]; -} - -declare module "lodash/findLastKey" { - declare module.exports: $Exports<"lodash">["findLastKey"]; -} - -declare module "lodash/forIn" { - declare module.exports: $Exports<"lodash">["forIn"]; -} - -declare module "lodash/forInRight" { - declare module.exports: $Exports<"lodash">["forInRight"]; -} - -declare module "lodash/forOwn" { - declare module.exports: $Exports<"lodash">["forOwn"]; -} - -declare module "lodash/forOwnRight" { - declare module.exports: $Exports<"lodash">["forOwnRight"]; -} - -declare module "lodash/functions" { - declare module.exports: $Exports<"lodash">["functions"]; -} - -declare module "lodash/functionsIn" { - declare module.exports: $Exports<"lodash">["functionsIn"]; -} - -declare module "lodash/get" { - declare module.exports: $Exports<"lodash">["get"]; -} - -declare module "lodash/has" { - declare module.exports: $Exports<"lodash">["has"]; -} - -declare module "lodash/hasIn" { - declare module.exports: $Exports<"lodash">["hasIn"]; -} - -declare module "lodash/invert" { - declare module.exports: $Exports<"lodash">["invert"]; -} - -declare module "lodash/invertBy" { - declare module.exports: $Exports<"lodash">["invertBy"]; -} - -declare module "lodash/invoke" { - declare module.exports: $Exports<"lodash">["invoke"]; -} - -declare module "lodash/keys" { - declare module.exports: $Exports<"lodash">["keys"]; -} - -declare module "lodash/keysIn" { - declare module.exports: $Exports<"lodash">["keysIn"]; -} - -declare module "lodash/mapKeys" { - declare module.exports: $Exports<"lodash">["mapKeys"]; -} - -declare module "lodash/mapValues" { - declare module.exports: $Exports<"lodash">["mapValues"]; -} - -declare module "lodash/merge" { - declare module.exports: $Exports<"lodash">["merge"]; -} - -declare module "lodash/mergeWith" { - declare module.exports: $Exports<"lodash">["mergeWith"]; -} - -declare module "lodash/omit" { - declare module.exports: $Exports<"lodash">["omit"]; -} - -declare module "lodash/omitBy" { - declare module.exports: $Exports<"lodash">["omitBy"]; -} - -declare module "lodash/pick" { - declare module.exports: $Exports<"lodash">["pick"]; -} - -declare module "lodash/pickBy" { - declare module.exports: $Exports<"lodash">["pickBy"]; -} - -declare module "lodash/result" { - declare module.exports: $Exports<"lodash">["result"]; -} - -declare module "lodash/set" { - declare module.exports: $Exports<"lodash">["set"]; -} - -declare module "lodash/setWith" { - declare module.exports: $Exports<"lodash">["setWith"]; -} - -declare module "lodash/toPairs" { - declare module.exports: $Exports<"lodash">["toPairs"]; -} - -declare module "lodash/toPairsIn" { - declare module.exports: $Exports<"lodash">["toPairsIn"]; -} - -declare module "lodash/transform" { - declare module.exports: $Exports<"lodash">["transform"]; -} - -declare module "lodash/unset" { - declare module.exports: $Exports<"lodash">["unset"]; -} - -declare module "lodash/update" { - declare module.exports: $Exports<"lodash">["update"]; -} - -declare module "lodash/updateWith" { - declare module.exports: $Exports<"lodash">["updateWith"]; -} - -declare module "lodash/values" { - declare module.exports: $Exports<"lodash">["values"]; -} - -declare module "lodash/valuesIn" { - declare module.exports: $Exports<"lodash">["valuesIn"]; -} - -declare module "lodash/chain" { - declare module.exports: $Exports<"lodash">["chain"]; -} - -declare module "lodash/tap" { - declare module.exports: $Exports<"lodash">["tap"]; -} - -declare module "lodash/thru" { - declare module.exports: $Exports<"lodash">["thru"]; -} - -declare module "lodash/camelCase" { - declare module.exports: $Exports<"lodash">["camelCase"]; -} - -declare module "lodash/capitalize" { - declare module.exports: $Exports<"lodash">["capitalize"]; -} - -declare module "lodash/deburr" { - declare module.exports: $Exports<"lodash">["deburr"]; -} - -declare module "lodash/endsWith" { - declare module.exports: $Exports<"lodash">["endsWith"]; -} - -declare module "lodash/escape" { - declare module.exports: $Exports<"lodash">["escape"]; -} - -declare module "lodash/escapeRegExp" { - declare module.exports: $Exports<"lodash">["escapeRegExp"]; -} - -declare module "lodash/kebabCase" { - declare module.exports: $Exports<"lodash">["kebabCase"]; -} - -declare module "lodash/lowerCase" { - declare module.exports: $Exports<"lodash">["lowerCase"]; -} - -declare module "lodash/lowerFirst" { - declare module.exports: $Exports<"lodash">["lowerFirst"]; -} - -declare module "lodash/pad" { - declare module.exports: $Exports<"lodash">["pad"]; -} - -declare module "lodash/padEnd" { - declare module.exports: $Exports<"lodash">["padEnd"]; -} - -declare module "lodash/padStart" { - declare module.exports: $Exports<"lodash">["padStart"]; -} - -declare module "lodash/parseInt" { - declare module.exports: $Exports<"lodash">["parseInt"]; -} - -declare module "lodash/repeat" { - declare module.exports: $Exports<"lodash">["repeat"]; -} - -declare module "lodash/replace" { - declare module.exports: $Exports<"lodash">["replace"]; -} - -declare module "lodash/snakeCase" { - declare module.exports: $Exports<"lodash">["snakeCase"]; -} - -declare module "lodash/split" { - declare module.exports: $Exports<"lodash">["split"]; -} - -declare module "lodash/startCase" { - declare module.exports: $Exports<"lodash">["startCase"]; -} - -declare module "lodash/startsWith" { - declare module.exports: $Exports<"lodash">["startsWith"]; -} - -declare module "lodash/template" { - declare module.exports: $Exports<"lodash">["template"]; -} - -declare module "lodash/toLower" { - declare module.exports: $Exports<"lodash">["toLower"]; -} - -declare module "lodash/toUpper" { - declare module.exports: $Exports<"lodash">["toUpper"]; -} - -declare module "lodash/trim" { - declare module.exports: $Exports<"lodash">["trim"]; -} - -declare module "lodash/trimEnd" { - declare module.exports: $Exports<"lodash">["trimEnd"]; -} - -declare module "lodash/trimStart" { - declare module.exports: $Exports<"lodash">["trimStart"]; -} - -declare module "lodash/truncate" { - declare module.exports: $Exports<"lodash">["truncate"]; -} - -declare module "lodash/unescape" { - declare module.exports: $Exports<"lodash">["unescape"]; -} - -declare module "lodash/upperCase" { - declare module.exports: $Exports<"lodash">["upperCase"]; -} - -declare module "lodash/upperFirst" { - declare module.exports: $Exports<"lodash">["upperFirst"]; -} - -declare module "lodash/words" { - declare module.exports: $Exports<"lodash">["words"]; -} - -declare module "lodash/attempt" { - declare module.exports: $Exports<"lodash">["attempt"]; -} - -declare module "lodash/bindAll" { - declare module.exports: $Exports<"lodash">["bindAll"]; -} - -declare module "lodash/cond" { - declare module.exports: $Exports<"lodash">["cond"]; -} - -declare module "lodash/conforms" { - declare module.exports: $Exports<"lodash">["conforms"]; -} - -declare module "lodash/constant" { - declare module.exports: $Exports<"lodash">["constant"]; -} - -declare module "lodash/defaultTo" { - declare module.exports: $Exports<"lodash">["defaultTo"]; -} - -declare module "lodash/flow" { - declare module.exports: $Exports<"lodash">["flow"]; -} - -declare module "lodash/flowRight" { - declare module.exports: $Exports<"lodash">["flowRight"]; -} - -declare module "lodash/identity" { - declare module.exports: $Exports<"lodash">["identity"]; -} - -declare module "lodash/iteratee" { - declare module.exports: $Exports<"lodash">["iteratee"]; -} - -declare module "lodash/matches" { - declare module.exports: $Exports<"lodash">["matches"]; -} - -declare module "lodash/matchesProperty" { - declare module.exports: $Exports<"lodash">["matchesProperty"]; -} - -declare module "lodash/method" { - declare module.exports: $Exports<"lodash">["method"]; -} - -declare module "lodash/methodOf" { - declare module.exports: $Exports<"lodash">["methodOf"]; -} - -declare module "lodash/mixin" { - declare module.exports: $Exports<"lodash">["mixin"]; -} - -declare module "lodash/noConflict" { - declare module.exports: $Exports<"lodash">["noConflict"]; -} - -declare module "lodash/noop" { - declare module.exports: $Exports<"lodash">["noop"]; -} - -declare module "lodash/nthArg" { - declare module.exports: $Exports<"lodash">["nthArg"]; -} - -declare module "lodash/over" { - declare module.exports: $Exports<"lodash">["over"]; -} - -declare module "lodash/overEvery" { - declare module.exports: $Exports<"lodash">["overEvery"]; -} - -declare module "lodash/overSome" { - declare module.exports: $Exports<"lodash">["overSome"]; -} - -declare module "lodash/property" { - declare module.exports: $Exports<"lodash">["property"]; -} - -declare module "lodash/propertyOf" { - declare module.exports: $Exports<"lodash">["propertyOf"]; -} - -declare module "lodash/range" { - declare module.exports: $Exports<"lodash">["range"]; -} - -declare module "lodash/rangeRight" { - declare module.exports: $Exports<"lodash">["rangeRight"]; -} - -declare module "lodash/runInContext" { - declare module.exports: $Exports<"lodash">["runInContext"]; -} - -declare module "lodash/stubArray" { - declare module.exports: $Exports<"lodash">["stubArray"]; -} - -declare module "lodash/stubFalse" { - declare module.exports: $Exports<"lodash">["stubFalse"]; -} - -declare module "lodash/stubObject" { - declare module.exports: $Exports<"lodash">["stubObject"]; -} - -declare module "lodash/stubString" { - declare module.exports: $Exports<"lodash">["stubString"]; -} - -declare module "lodash/stubTrue" { - declare module.exports: $Exports<"lodash">["stubTrue"]; -} - -declare module "lodash/times" { - declare module.exports: $Exports<"lodash">["times"]; -} - -declare module "lodash/toPath" { - declare module.exports: $Exports<"lodash">["toPath"]; -} - -declare module "lodash/uniqueId" { - declare module.exports: $Exports<"lodash">["uniqueId"]; -} - -declare module "lodash/fp/chunk" { - declare module.exports: $Exports<"lodash/fp">["chunk"]; -} - -declare module "lodash/fp/compact" { - declare module.exports: $Exports<"lodash/fp">["compact"]; -} - -declare module "lodash/fp/concat" { - declare module.exports: $Exports<"lodash/fp">["concat"]; -} - -declare module "lodash/fp/difference" { - declare module.exports: $Exports<"lodash/fp">["difference"]; -} - -declare module "lodash/fp/differenceBy" { - declare module.exports: $Exports<"lodash/fp">["differenceBy"]; -} - -declare module "lodash/fp/differenceWith" { - declare module.exports: $Exports<"lodash/fp">["differenceWith"]; -} - -declare module "lodash/fp/drop" { - declare module.exports: $Exports<"lodash/fp">["drop"]; -} - -declare module "lodash/fp/dropLast" { - declare module.exports: $Exports<"lodash/fp">["dropLast"]; -} - -declare module "lodash/fp/dropRight" { - declare module.exports: $Exports<"lodash/fp">["dropRight"]; -} - -declare module "lodash/fp/dropRightWhile" { - declare module.exports: $Exports<"lodash/fp">["dropRightWhile"]; -} - -declare module "lodash/fp/dropWhile" { - declare module.exports: $Exports<"lodash/fp">["dropWhile"]; -} - -declare module "lodash/fp/dropLastWhile" { - declare module.exports: $Exports<"lodash/fp">["dropLastWhile"]; -} - -declare module "lodash/fp/fill" { - declare module.exports: $Exports<"lodash/fp">["fill"]; -} - -declare module "lodash/fp/findIndex" { - declare module.exports: $Exports<"lodash/fp">["findIndex"]; -} - -declare module "lodash/fp/findIndexFrom" { - declare module.exports: $Exports<"lodash/fp">["findIndexFrom"]; -} - -declare module "lodash/fp/findLastIndex" { - declare module.exports: $Exports<"lodash/fp">["findLastIndex"]; -} - -declare module "lodash/fp/findLastIndexFrom" { - declare module.exports: $Exports<"lodash/fp">["findLastIndexFrom"]; -} - -declare module "lodash/fp/first" { - declare module.exports: $Exports<"lodash/fp">["first"]; -} - -declare module "lodash/fp/flatten" { - declare module.exports: $Exports<"lodash/fp">["flatten"]; -} - -declare module "lodash/fp/unnest" { - declare module.exports: $Exports<"lodash/fp">["unnest"]; -} - -declare module "lodash/fp/flattenDeep" { - declare module.exports: $Exports<"lodash/fp">["flattenDeep"]; -} - -declare module "lodash/fp/flattenDepth" { - declare module.exports: $Exports<"lodash/fp">["flattenDepth"]; -} - -declare module "lodash/fp/fromPairs" { - declare module.exports: $Exports<"lodash/fp">["fromPairs"]; -} - -declare module "lodash/fp/head" { - declare module.exports: $Exports<"lodash/fp">["head"]; -} - -declare module "lodash/fp/indexOf" { - declare module.exports: $Exports<"lodash/fp">["indexOf"]; -} - -declare module "lodash/fp/indexOfFrom" { - declare module.exports: $Exports<"lodash/fp">["indexOfFrom"]; -} - -declare module "lodash/fp/initial" { - declare module.exports: $Exports<"lodash/fp">["initial"]; -} - -declare module "lodash/fp/init" { - declare module.exports: $Exports<"lodash/fp">["init"]; -} - -declare module "lodash/fp/intersection" { - declare module.exports: $Exports<"lodash/fp">["intersection"]; -} - -declare module "lodash/fp/intersectionBy" { - declare module.exports: $Exports<"lodash/fp">["intersectionBy"]; -} - -declare module "lodash/fp/intersectionWith" { - declare module.exports: $Exports<"lodash/fp">["intersectionWith"]; -} - -declare module "lodash/fp/join" { - declare module.exports: $Exports<"lodash/fp">["join"]; -} - -declare module "lodash/fp/last" { - declare module.exports: $Exports<"lodash/fp">["last"]; -} - -declare module "lodash/fp/lastIndexOf" { - declare module.exports: $Exports<"lodash/fp">["lastIndexOf"]; -} - -declare module "lodash/fp/lastIndexOfFrom" { - declare module.exports: $Exports<"lodash/fp">["lastIndexOfFrom"]; -} - -declare module "lodash/fp/nth" { - declare module.exports: $Exports<"lodash/fp">["nth"]; -} - -declare module "lodash/fp/pull" { - declare module.exports: $Exports<"lodash/fp">["pull"]; -} - -declare module "lodash/fp/pullAll" { - declare module.exports: $Exports<"lodash/fp">["pullAll"]; -} - -declare module "lodash/fp/pullAllBy" { - declare module.exports: $Exports<"lodash/fp">["pullAllBy"]; -} - -declare module "lodash/fp/pullAllWith" { - declare module.exports: $Exports<"lodash/fp">["pullAllWith"]; -} - -declare module "lodash/fp/pullAt" { - declare module.exports: $Exports<"lodash/fp">["pullAt"]; -} - -declare module "lodash/fp/remove" { - declare module.exports: $Exports<"lodash/fp">["remove"]; -} - -declare module "lodash/fp/reverse" { - declare module.exports: $Exports<"lodash/fp">["reverse"]; -} - -declare module "lodash/fp/slice" { - declare module.exports: $Exports<"lodash/fp">["slice"]; -} - -declare module "lodash/fp/sortedIndex" { - declare module.exports: $Exports<"lodash/fp">["sortedIndex"]; -} - -declare module "lodash/fp/sortedIndexBy" { - declare module.exports: $Exports<"lodash/fp">["sortedIndexBy"]; -} - -declare module "lodash/fp/sortedIndexOf" { - declare module.exports: $Exports<"lodash/fp">["sortedIndexOf"]; -} - -declare module "lodash/fp/sortedLastIndex" { - declare module.exports: $Exports<"lodash/fp">["sortedLastIndex"]; -} - -declare module "lodash/fp/sortedLastIndexBy" { - declare module.exports: $Exports<"lodash/fp">["sortedLastIndexBy"]; -} - -declare module "lodash/fp/sortedLastIndexOf" { - declare module.exports: $Exports<"lodash/fp">["sortedLastIndexOf"]; -} - -declare module "lodash/fp/sortedUniq" { - declare module.exports: $Exports<"lodash/fp">["sortedUniq"]; -} - -declare module "lodash/fp/sortedUniqBy" { - declare module.exports: $Exports<"lodash/fp">["sortedUniqBy"]; -} - -declare module "lodash/fp/tail" { - declare module.exports: $Exports<"lodash/fp">["tail"]; -} - -declare module "lodash/fp/take" { - declare module.exports: $Exports<"lodash/fp">["take"]; -} - -declare module "lodash/fp/takeRight" { - declare module.exports: $Exports<"lodash/fp">["takeRight"]; -} - -declare module "lodash/fp/takeLast" { - declare module.exports: $Exports<"lodash/fp">["takeLast"]; -} - -declare module "lodash/fp/takeRightWhile" { - declare module.exports: $Exports<"lodash/fp">["takeRightWhile"]; -} - -declare module "lodash/fp/takeLastWhile" { - declare module.exports: $Exports<"lodash/fp">["takeLastWhile"]; -} - -declare module "lodash/fp/takeWhile" { - declare module.exports: $Exports<"lodash/fp">["takeWhile"]; -} - -declare module "lodash/fp/union" { - declare module.exports: $Exports<"lodash/fp">["union"]; -} - -declare module "lodash/fp/unionBy" { - declare module.exports: $Exports<"lodash/fp">["unionBy"]; -} - -declare module "lodash/fp/unionWith" { - declare module.exports: $Exports<"lodash/fp">["unionWith"]; -} - -declare module "lodash/fp/uniq" { - declare module.exports: $Exports<"lodash/fp">["uniq"]; -} - -declare module "lodash/fp/uniqBy" { - declare module.exports: $Exports<"lodash/fp">["uniqBy"]; -} - -declare module "lodash/fp/uniqWith" { - declare module.exports: $Exports<"lodash/fp">["uniqWith"]; -} - -declare module "lodash/fp/unzip" { - declare module.exports: $Exports<"lodash/fp">["unzip"]; -} - -declare module "lodash/fp/unzipWith" { - declare module.exports: $Exports<"lodash/fp">["unzipWith"]; -} - -declare module "lodash/fp/without" { - declare module.exports: $Exports<"lodash/fp">["without"]; -} - -declare module "lodash/fp/xor" { - declare module.exports: $Exports<"lodash/fp">["xor"]; -} - -declare module "lodash/fp/symmetricDifference" { - declare module.exports: $Exports<"lodash/fp">["symmetricDifference"]; -} - -declare module "lodash/fp/xorBy" { - declare module.exports: $Exports<"lodash/fp">["xorBy"]; -} - -declare module "lodash/fp/symmetricDifferenceBy" { - declare module.exports: $Exports<"lodash/fp">["symmetricDifferenceBy"]; -} - -declare module "lodash/fp/xorWith" { - declare module.exports: $Exports<"lodash/fp">["xorWith"]; -} - -declare module "lodash/fp/symmetricDifferenceWith" { - declare module.exports: $Exports<"lodash/fp">["symmetricDifferenceWith"]; -} - -declare module "lodash/fp/zip" { - declare module.exports: $Exports<"lodash/fp">["zip"]; -} - -declare module "lodash/fp/zipAll" { - declare module.exports: $Exports<"lodash/fp">["zipAll"]; -} - -declare module "lodash/fp/zipObject" { - declare module.exports: $Exports<"lodash/fp">["zipObject"]; -} - -declare module "lodash/fp/zipObj" { - declare module.exports: $Exports<"lodash/fp">["zipObj"]; -} - -declare module "lodash/fp/zipObjectDeep" { - declare module.exports: $Exports<"lodash/fp">["zipObjectDeep"]; -} - -declare module "lodash/fp/zipWith" { - declare module.exports: $Exports<"lodash/fp">["zipWith"]; -} - -declare module "lodash/fp/countBy" { - declare module.exports: $Exports<"lodash/fp">["countBy"]; -} - -declare module "lodash/fp/each" { - declare module.exports: $Exports<"lodash/fp">["each"]; -} - -declare module "lodash/fp/eachRight" { - declare module.exports: $Exports<"lodash/fp">["eachRight"]; -} - -declare module "lodash/fp/every" { - declare module.exports: $Exports<"lodash/fp">["every"]; -} - -declare module "lodash/fp/all" { - declare module.exports: $Exports<"lodash/fp">["all"]; -} - -declare module "lodash/fp/filter" { - declare module.exports: $Exports<"lodash/fp">["filter"]; -} - -declare module "lodash/fp/find" { - declare module.exports: $Exports<"lodash/fp">["find"]; -} - -declare module "lodash/fp/findFrom" { - declare module.exports: $Exports<"lodash/fp">["findFrom"]; -} - -declare module "lodash/fp/findLast" { - declare module.exports: $Exports<"lodash/fp">["findLast"]; -} - -declare module "lodash/fp/findLastFrom" { - declare module.exports: $Exports<"lodash/fp">["findLastFrom"]; -} - -declare module "lodash/fp/flatMap" { - declare module.exports: $Exports<"lodash/fp">["flatMap"]; -} - -declare module "lodash/fp/flatMapDeep" { - declare module.exports: $Exports<"lodash/fp">["flatMapDeep"]; -} - -declare module "lodash/fp/flatMapDepth" { - declare module.exports: $Exports<"lodash/fp">["flatMapDepth"]; -} - -declare module "lodash/fp/forEach" { - declare module.exports: $Exports<"lodash/fp">["forEach"]; -} - -declare module "lodash/fp/forEachRight" { - declare module.exports: $Exports<"lodash/fp">["forEachRight"]; -} - -declare module "lodash/fp/groupBy" { - declare module.exports: $Exports<"lodash/fp">["groupBy"]; -} - -declare module "lodash/fp/includes" { - declare module.exports: $Exports<"lodash/fp">["includes"]; -} - -declare module "lodash/fp/contains" { - declare module.exports: $Exports<"lodash/fp">["contains"]; -} - -declare module "lodash/fp/includesFrom" { - declare module.exports: $Exports<"lodash/fp">["includesFrom"]; -} - -declare module "lodash/fp/invokeMap" { - declare module.exports: $Exports<"lodash/fp">["invokeMap"]; -} - -declare module "lodash/fp/invokeArgsMap" { - declare module.exports: $Exports<"lodash/fp">["invokeArgsMap"]; -} - -declare module "lodash/fp/keyBy" { - declare module.exports: $Exports<"lodash/fp">["keyBy"]; -} - -declare module "lodash/fp/indexBy" { - declare module.exports: $Exports<"lodash/fp">["indexBy"]; -} - -declare module "lodash/fp/map" { - declare module.exports: $Exports<"lodash/fp">["map"]; -} - -declare module "lodash/fp/pluck" { - declare module.exports: $Exports<"lodash/fp">["pluck"]; -} - -declare module "lodash/fp/orderBy" { - declare module.exports: $Exports<"lodash/fp">["orderBy"]; -} - -declare module "lodash/fp/partition" { - declare module.exports: $Exports<"lodash/fp">["partition"]; -} - -declare module "lodash/fp/reduce" { - declare module.exports: $Exports<"lodash/fp">["reduce"]; -} - -declare module "lodash/fp/reduceRight" { - declare module.exports: $Exports<"lodash/fp">["reduceRight"]; -} - -declare module "lodash/fp/reject" { - declare module.exports: $Exports<"lodash/fp">["reject"]; -} - -declare module "lodash/fp/sample" { - declare module.exports: $Exports<"lodash/fp">["sample"]; -} - -declare module "lodash/fp/sampleSize" { - declare module.exports: $Exports<"lodash/fp">["sampleSize"]; -} - -declare module "lodash/fp/shuffle" { - declare module.exports: $Exports<"lodash/fp">["shuffle"]; -} - -declare module "lodash/fp/size" { - declare module.exports: $Exports<"lodash/fp">["size"]; -} - -declare module "lodash/fp/some" { - declare module.exports: $Exports<"lodash/fp">["some"]; -} - -declare module "lodash/fp/any" { - declare module.exports: $Exports<"lodash/fp">["any"]; -} - -declare module "lodash/fp/sortBy" { - declare module.exports: $Exports<"lodash/fp">["sortBy"]; -} - -declare module "lodash/fp/now" { - declare module.exports: $Exports<"lodash/fp">["now"]; -} - -declare module "lodash/fp/after" { - declare module.exports: $Exports<"lodash/fp">["after"]; -} - -declare module "lodash/fp/ary" { - declare module.exports: $Exports<"lodash/fp">["ary"]; -} - -declare module "lodash/fp/nAry" { - declare module.exports: $Exports<"lodash/fp">["nAry"]; -} - -declare module "lodash/fp/before" { - declare module.exports: $Exports<"lodash/fp">["before"]; -} - -declare module "lodash/fp/bind" { - declare module.exports: $Exports<"lodash/fp">["bind"]; -} - -declare module "lodash/fp/bindKey" { - declare module.exports: $Exports<"lodash/fp">["bindKey"]; -} - -declare module "lodash/fp/curry" { - declare module.exports: $Exports<"lodash/fp">["curry"]; -} - -declare module "lodash/fp/curryN" { - declare module.exports: $Exports<"lodash/fp">["curryN"]; -} - -declare module "lodash/fp/curryRight" { - declare module.exports: $Exports<"lodash/fp">["curryRight"]; -} - -declare module "lodash/fp/curryRightN" { - declare module.exports: $Exports<"lodash/fp">["curryRightN"]; -} - -declare module "lodash/fp/debounce" { - declare module.exports: $Exports<"lodash/fp">["debounce"]; -} - -declare module "lodash/fp/defer" { - declare module.exports: $Exports<"lodash/fp">["defer"]; -} - -declare module "lodash/fp/delay" { - declare module.exports: $Exports<"lodash/fp">["delay"]; -} - -declare module "lodash/fp/flip" { - declare module.exports: $Exports<"lodash/fp">["flip"]; -} - -declare module "lodash/fp/memoize" { - declare module.exports: $Exports<"lodash/fp">["memoize"]; -} - -declare module "lodash/fp/negate" { - declare module.exports: $Exports<"lodash/fp">["negate"]; -} - -declare module "lodash/fp/complement" { - declare module.exports: $Exports<"lodash/fp">["complement"]; -} - -declare module "lodash/fp/once" { - declare module.exports: $Exports<"lodash/fp">["once"]; -} - -declare module "lodash/fp/overArgs" { - declare module.exports: $Exports<"lodash/fp">["overArgs"]; -} - -declare module "lodash/fp/useWith" { - declare module.exports: $Exports<"lodash/fp">["useWith"]; -} - -declare module "lodash/fp/partial" { - declare module.exports: $Exports<"lodash/fp">["partial"]; -} - -declare module "lodash/fp/partialRight" { - declare module.exports: $Exports<"lodash/fp">["partialRight"]; -} - -declare module "lodash/fp/rearg" { - declare module.exports: $Exports<"lodash/fp">["rearg"]; -} - -declare module "lodash/fp/rest" { - declare module.exports: $Exports<"lodash/fp">["rest"]; -} - -declare module "lodash/fp/unapply" { - declare module.exports: $Exports<"lodash/fp">["unapply"]; -} - -declare module "lodash/fp/restFrom" { - declare module.exports: $Exports<"lodash/fp">["restFrom"]; -} - -declare module "lodash/fp/spread" { - declare module.exports: $Exports<"lodash/fp">["spread"]; -} - -declare module "lodash/fp/apply" { - declare module.exports: $Exports<"lodash/fp">["apply"]; -} - -declare module "lodash/fp/spreadFrom" { - declare module.exports: $Exports<"lodash/fp">["spreadFrom"]; -} - -declare module "lodash/fp/throttle" { - declare module.exports: $Exports<"lodash/fp">["throttle"]; -} - -declare module "lodash/fp/unary" { - declare module.exports: $Exports<"lodash/fp">["unary"]; -} - -declare module "lodash/fp/wrap" { - declare module.exports: $Exports<"lodash/fp">["wrap"]; -} - -declare module "lodash/fp/castArray" { - declare module.exports: $Exports<"lodash/fp">["castArray"]; -} - -declare module "lodash/fp/clone" { - declare module.exports: $Exports<"lodash/fp">["clone"]; -} - -declare module "lodash/fp/cloneDeep" { - declare module.exports: $Exports<"lodash/fp">["cloneDeep"]; -} - -declare module "lodash/fp/cloneDeepWith" { - declare module.exports: $Exports<"lodash/fp">["cloneDeepWith"]; -} - -declare module "lodash/fp/cloneWith" { - declare module.exports: $Exports<"lodash/fp">["cloneWith"]; -} - -declare module "lodash/fp/conformsTo" { - declare module.exports: $Exports<"lodash/fp">["conformsTo"]; -} - -declare module "lodash/fp/where" { - declare module.exports: $Exports<"lodash/fp">["where"]; -} - -declare module "lodash/fp/conforms" { - declare module.exports: $Exports<"lodash/fp">["conforms"]; -} - -declare module "lodash/fp/eq" { - declare module.exports: $Exports<"lodash/fp">["eq"]; -} - -declare module "lodash/fp/identical" { - declare module.exports: $Exports<"lodash/fp">["identical"]; -} - -declare module "lodash/fp/gt" { - declare module.exports: $Exports<"lodash/fp">["gt"]; -} - -declare module "lodash/fp/gte" { - declare module.exports: $Exports<"lodash/fp">["gte"]; -} - -declare module "lodash/fp/isArguments" { - declare module.exports: $Exports<"lodash/fp">["isArguments"]; -} - -declare module "lodash/fp/isArray" { - declare module.exports: $Exports<"lodash/fp">["isArray"]; -} - -declare module "lodash/fp/isArrayBuffer" { - declare module.exports: $Exports<"lodash/fp">["isArrayBuffer"]; -} - -declare module "lodash/fp/isArrayLike" { - declare module.exports: $Exports<"lodash/fp">["isArrayLike"]; -} - -declare module "lodash/fp/isArrayLikeObject" { - declare module.exports: $Exports<"lodash/fp">["isArrayLikeObject"]; -} - -declare module "lodash/fp/isBoolean" { - declare module.exports: $Exports<"lodash/fp">["isBoolean"]; -} - -declare module "lodash/fp/isBuffer" { - declare module.exports: $Exports<"lodash/fp">["isBuffer"]; -} - -declare module "lodash/fp/isDate" { - declare module.exports: $Exports<"lodash/fp">["isDate"]; -} - -declare module "lodash/fp/isElement" { - declare module.exports: $Exports<"lodash/fp">["isElement"]; -} - -declare module "lodash/fp/isEmpty" { - declare module.exports: $Exports<"lodash/fp">["isEmpty"]; -} - -declare module "lodash/fp/isEqual" { - declare module.exports: $Exports<"lodash/fp">["isEqual"]; -} - -declare module "lodash/fp/equals" { - declare module.exports: $Exports<"lodash/fp">["equals"]; -} - -declare module "lodash/fp/isEqualWith" { - declare module.exports: $Exports<"lodash/fp">["isEqualWith"]; -} - -declare module "lodash/fp/isError" { - declare module.exports: $Exports<"lodash/fp">["isError"]; -} - -declare module "lodash/fp/isFinite" { - declare module.exports: $Exports<"lodash/fp">["isFinite"]; -} - -declare module "lodash/fp/isFunction" { - declare module.exports: $Exports<"lodash/fp">["isFunction"]; -} - -declare module "lodash/fp/isInteger" { - declare module.exports: $Exports<"lodash/fp">["isInteger"]; -} - -declare module "lodash/fp/isLength" { - declare module.exports: $Exports<"lodash/fp">["isLength"]; -} - -declare module "lodash/fp/isMap" { - declare module.exports: $Exports<"lodash/fp">["isMap"]; -} - -declare module "lodash/fp/isMatch" { - declare module.exports: $Exports<"lodash/fp">["isMatch"]; -} - -declare module "lodash/fp/whereEq" { - declare module.exports: $Exports<"lodash/fp">["whereEq"]; -} - -declare module "lodash/fp/isMatchWith" { - declare module.exports: $Exports<"lodash/fp">["isMatchWith"]; -} - -declare module "lodash/fp/isNaN" { - declare module.exports: $Exports<"lodash/fp">["isNaN"]; -} - -declare module "lodash/fp/isNative" { - declare module.exports: $Exports<"lodash/fp">["isNative"]; -} - -declare module "lodash/fp/isNil" { - declare module.exports: $Exports<"lodash/fp">["isNil"]; -} - -declare module "lodash/fp/isNull" { - declare module.exports: $Exports<"lodash/fp">["isNull"]; -} - -declare module "lodash/fp/isNumber" { - declare module.exports: $Exports<"lodash/fp">["isNumber"]; -} - -declare module "lodash/fp/isObject" { - declare module.exports: $Exports<"lodash/fp">["isObject"]; -} - -declare module "lodash/fp/isObjectLike" { - declare module.exports: $Exports<"lodash/fp">["isObjectLike"]; -} - -declare module "lodash/fp/isPlainObject" { - declare module.exports: $Exports<"lodash/fp">["isPlainObject"]; -} - -declare module "lodash/fp/isRegExp" { - declare module.exports: $Exports<"lodash/fp">["isRegExp"]; -} - -declare module "lodash/fp/isSafeInteger" { - declare module.exports: $Exports<"lodash/fp">["isSafeInteger"]; -} - -declare module "lodash/fp/isSet" { - declare module.exports: $Exports<"lodash/fp">["isSet"]; -} - -declare module "lodash/fp/isString" { - declare module.exports: $Exports<"lodash/fp">["isString"]; -} - -declare module "lodash/fp/isSymbol" { - declare module.exports: $Exports<"lodash/fp">["isSymbol"]; -} - -declare module "lodash/fp/isTypedArray" { - declare module.exports: $Exports<"lodash/fp">["isTypedArray"]; -} - -declare module "lodash/fp/isUndefined" { - declare module.exports: $Exports<"lodash/fp">["isUndefined"]; -} - -declare module "lodash/fp/isWeakMap" { - declare module.exports: $Exports<"lodash/fp">["isWeakMap"]; -} - -declare module "lodash/fp/isWeakSet" { - declare module.exports: $Exports<"lodash/fp">["isWeakSet"]; -} - -declare module "lodash/fp/lt" { - declare module.exports: $Exports<"lodash/fp">["lt"]; -} - -declare module "lodash/fp/lte" { - declare module.exports: $Exports<"lodash/fp">["lte"]; -} - -declare module "lodash/fp/toArray" { - declare module.exports: $Exports<"lodash/fp">["toArray"]; -} - -declare module "lodash/fp/toFinite" { - declare module.exports: $Exports<"lodash/fp">["toFinite"]; -} - -declare module "lodash/fp/toInteger" { - declare module.exports: $Exports<"lodash/fp">["toInteger"]; -} - -declare module "lodash/fp/toLength" { - declare module.exports: $Exports<"lodash/fp">["toLength"]; -} - -declare module "lodash/fp/toNumber" { - declare module.exports: $Exports<"lodash/fp">["toNumber"]; -} - -declare module "lodash/fp/toPlainObject" { - declare module.exports: $Exports<"lodash/fp">["toPlainObject"]; -} - -declare module "lodash/fp/toSafeInteger" { - declare module.exports: $Exports<"lodash/fp">["toSafeInteger"]; -} - -declare module "lodash/fp/toString" { - declare module.exports: $Exports<"lodash/fp">["toString"]; -} - -declare module "lodash/fp/add" { - declare module.exports: $Exports<"lodash/fp">["add"]; -} - -declare module "lodash/fp/ceil" { - declare module.exports: $Exports<"lodash/fp">["ceil"]; -} - -declare module "lodash/fp/divide" { - declare module.exports: $Exports<"lodash/fp">["divide"]; -} - -declare module "lodash/fp/floor" { - declare module.exports: $Exports<"lodash/fp">["floor"]; -} - -declare module "lodash/fp/max" { - declare module.exports: $Exports<"lodash/fp">["max"]; -} - -declare module "lodash/fp/maxBy" { - declare module.exports: $Exports<"lodash/fp">["maxBy"]; -} - -declare module "lodash/fp/mean" { - declare module.exports: $Exports<"lodash/fp">["mean"]; -} - -declare module "lodash/fp/meanBy" { - declare module.exports: $Exports<"lodash/fp">["meanBy"]; -} - -declare module "lodash/fp/min" { - declare module.exports: $Exports<"lodash/fp">["min"]; -} - -declare module "lodash/fp/minBy" { - declare module.exports: $Exports<"lodash/fp">["minBy"]; -} - -declare module "lodash/fp/multiply" { - declare module.exports: $Exports<"lodash/fp">["multiply"]; -} - -declare module "lodash/fp/round" { - declare module.exports: $Exports<"lodash/fp">["round"]; -} - -declare module "lodash/fp/subtract" { - declare module.exports: $Exports<"lodash/fp">["subtract"]; -} - -declare module "lodash/fp/sum" { - declare module.exports: $Exports<"lodash/fp">["sum"]; -} - -declare module "lodash/fp/sumBy" { - declare module.exports: $Exports<"lodash/fp">["sumBy"]; -} - -declare module "lodash/fp/clamp" { - declare module.exports: $Exports<"lodash/fp">["clamp"]; -} - -declare module "lodash/fp/inRange" { - declare module.exports: $Exports<"lodash/fp">["inRange"]; -} - -declare module "lodash/fp/random" { - declare module.exports: $Exports<"lodash/fp">["random"]; -} - -declare module "lodash/fp/assign" { - declare module.exports: $Exports<"lodash/fp">["assign"]; -} - -declare module "lodash/fp/assignAll" { - declare module.exports: $Exports<"lodash/fp">["assignAll"]; -} - -declare module "lodash/fp/assignInAll" { - declare module.exports: $Exports<"lodash/fp">["assignInAll"]; -} - -declare module "lodash/fp/extendAll" { - declare module.exports: $Exports<"lodash/fp">["extendAll"]; -} - -declare module "lodash/fp/assignIn" { - declare module.exports: $Exports<"lodash/fp">["assignIn"]; -} - -declare module "lodash/fp/assignInWith" { - declare module.exports: $Exports<"lodash/fp">["assignInWith"]; -} - -declare module "lodash/fp/assignWith" { - declare module.exports: $Exports<"lodash/fp">["assignWith"]; -} - -declare module "lodash/fp/assignInAllWith" { - declare module.exports: $Exports<"lodash/fp">["assignInAllWith"]; -} - -declare module "lodash/fp/extendAllWith" { - declare module.exports: $Exports<"lodash/fp">["extendAllWith"]; -} - -declare module "lodash/fp/assignAllWith" { - declare module.exports: $Exports<"lodash/fp">["assignAllWith"]; -} - -declare module "lodash/fp/at" { - declare module.exports: $Exports<"lodash/fp">["at"]; -} - -declare module "lodash/fp/props" { - declare module.exports: $Exports<"lodash/fp">["props"]; -} - -declare module "lodash/fp/paths" { - declare module.exports: $Exports<"lodash/fp">["paths"]; -} - -declare module "lodash/fp/create" { - declare module.exports: $Exports<"lodash/fp">["create"]; -} - -declare module "lodash/fp/defaults" { - declare module.exports: $Exports<"lodash/fp">["defaults"]; -} - -declare module "lodash/fp/defaultsAll" { - declare module.exports: $Exports<"lodash/fp">["defaultsAll"]; -} - -declare module "lodash/fp/defaultsDeep" { - declare module.exports: $Exports<"lodash/fp">["defaultsDeep"]; -} - -declare module "lodash/fp/defaultsDeepAll" { - declare module.exports: $Exports<"lodash/fp">["defaultsDeepAll"]; -} - -declare module "lodash/fp/entries" { - declare module.exports: $Exports<"lodash/fp">["entries"]; -} - -declare module "lodash/fp/entriesIn" { - declare module.exports: $Exports<"lodash/fp">["entriesIn"]; -} - -declare module "lodash/fp/extend" { - declare module.exports: $Exports<"lodash/fp">["extend"]; -} - -declare module "lodash/fp/extendWith" { - declare module.exports: $Exports<"lodash/fp">["extendWith"]; -} - -declare module "lodash/fp/findKey" { - declare module.exports: $Exports<"lodash/fp">["findKey"]; -} - -declare module "lodash/fp/findLastKey" { - declare module.exports: $Exports<"lodash/fp">["findLastKey"]; -} - -declare module "lodash/fp/forIn" { - declare module.exports: $Exports<"lodash/fp">["forIn"]; -} - -declare module "lodash/fp/forInRight" { - declare module.exports: $Exports<"lodash/fp">["forInRight"]; -} - -declare module "lodash/fp/forOwn" { - declare module.exports: $Exports<"lodash/fp">["forOwn"]; -} - -declare module "lodash/fp/forOwnRight" { - declare module.exports: $Exports<"lodash/fp">["forOwnRight"]; -} - -declare module "lodash/fp/functions" { - declare module.exports: $Exports<"lodash/fp">["functions"]; -} - -declare module "lodash/fp/functionsIn" { - declare module.exports: $Exports<"lodash/fp">["functionsIn"]; -} - -declare module "lodash/fp/get" { - declare module.exports: $Exports<"lodash/fp">["get"]; -} - -declare module "lodash/fp/prop" { - declare module.exports: $Exports<"lodash/fp">["prop"]; -} - -declare module "lodash/fp/path" { - declare module.exports: $Exports<"lodash/fp">["path"]; -} - -declare module "lodash/fp/getOr" { - declare module.exports: $Exports<"lodash/fp">["getOr"]; -} - -declare module "lodash/fp/propOr" { - declare module.exports: $Exports<"lodash/fp">["propOr"]; -} - -declare module "lodash/fp/pathOr" { - declare module.exports: $Exports<"lodash/fp">["pathOr"]; -} - -declare module "lodash/fp/has" { - declare module.exports: $Exports<"lodash/fp">["has"]; -} - -declare module "lodash/fp/hasIn" { - declare module.exports: $Exports<"lodash/fp">["hasIn"]; -} - -declare module "lodash/fp/invert" { - declare module.exports: $Exports<"lodash/fp">["invert"]; -} - -declare module "lodash/fp/invertObj" { - declare module.exports: $Exports<"lodash/fp">["invertObj"]; -} - -declare module "lodash/fp/invertBy" { - declare module.exports: $Exports<"lodash/fp">["invertBy"]; -} - -declare module "lodash/fp/invoke" { - declare module.exports: $Exports<"lodash/fp">["invoke"]; -} - -declare module "lodash/fp/invokeArgs" { - declare module.exports: $Exports<"lodash/fp">["invokeArgs"]; -} - -declare module "lodash/fp/keys" { - declare module.exports: $Exports<"lodash/fp">["keys"]; -} - -declare module "lodash/fp/keysIn" { - declare module.exports: $Exports<"lodash/fp">["keysIn"]; -} - -declare module "lodash/fp/mapKeys" { - declare module.exports: $Exports<"lodash/fp">["mapKeys"]; -} - -declare module "lodash/fp/mapValues" { - declare module.exports: $Exports<"lodash/fp">["mapValues"]; -} - -declare module "lodash/fp/merge" { - declare module.exports: $Exports<"lodash/fp">["merge"]; -} - -declare module "lodash/fp/mergeAll" { - declare module.exports: $Exports<"lodash/fp">["mergeAll"]; -} - -declare module "lodash/fp/mergeWith" { - declare module.exports: $Exports<"lodash/fp">["mergeWith"]; -} - -declare module "lodash/fp/mergeAllWith" { - declare module.exports: $Exports<"lodash/fp">["mergeAllWith"]; -} - -declare module "lodash/fp/omit" { - declare module.exports: $Exports<"lodash/fp">["omit"]; -} - -declare module "lodash/fp/omitAll" { - declare module.exports: $Exports<"lodash/fp">["omitAll"]; -} - -declare module "lodash/fp/omitBy" { - declare module.exports: $Exports<"lodash/fp">["omitBy"]; -} - -declare module "lodash/fp/pick" { - declare module.exports: $Exports<"lodash/fp">["pick"]; -} - -declare module "lodash/fp/pickAll" { - declare module.exports: $Exports<"lodash/fp">["pickAll"]; -} - -declare module "lodash/fp/pickBy" { - declare module.exports: $Exports<"lodash/fp">["pickBy"]; -} - -declare module "lodash/fp/result" { - declare module.exports: $Exports<"lodash/fp">["result"]; -} - -declare module "lodash/fp/set" { - declare module.exports: $Exports<"lodash/fp">["set"]; -} - -declare module "lodash/fp/assoc" { - declare module.exports: $Exports<"lodash/fp">["assoc"]; -} - -declare module "lodash/fp/assocPath" { - declare module.exports: $Exports<"lodash/fp">["assocPath"]; -} - -declare module "lodash/fp/setWith" { - declare module.exports: $Exports<"lodash/fp">["setWith"]; -} - -declare module "lodash/fp/toPairs" { - declare module.exports: $Exports<"lodash/fp">["toPairs"]; -} - -declare module "lodash/fp/toPairsIn" { - declare module.exports: $Exports<"lodash/fp">["toPairsIn"]; -} - -declare module "lodash/fp/transform" { - declare module.exports: $Exports<"lodash/fp">["transform"]; -} - -declare module "lodash/fp/unset" { - declare module.exports: $Exports<"lodash/fp">["unset"]; -} - -declare module "lodash/fp/update" { - declare module.exports: $Exports<"lodash/fp">["update"]; -} - -declare module "lodash/fp/updateWith" { - declare module.exports: $Exports<"lodash/fp">["updateWith"]; -} - -declare module "lodash/fp/values" { - declare module.exports: $Exports<"lodash/fp">["values"]; -} - -declare module "lodash/fp/valuesIn" { - declare module.exports: $Exports<"lodash/fp">["valuesIn"]; -} - -declare module "lodash/fp/tap" { - declare module.exports: $Exports<"lodash/fp">["tap"]; -} - -declare module "lodash/fp/thru" { - declare module.exports: $Exports<"lodash/fp">["thru"]; -} - -declare module "lodash/fp/camelCase" { - declare module.exports: $Exports<"lodash/fp">["camelCase"]; -} - -declare module "lodash/fp/capitalize" { - declare module.exports: $Exports<"lodash/fp">["capitalize"]; -} - -declare module "lodash/fp/deburr" { - declare module.exports: $Exports<"lodash/fp">["deburr"]; -} - -declare module "lodash/fp/endsWith" { - declare module.exports: $Exports<"lodash/fp">["endsWith"]; -} - -declare module "lodash/fp/escape" { - declare module.exports: $Exports<"lodash/fp">["escape"]; -} - -declare module "lodash/fp/escapeRegExp" { - declare module.exports: $Exports<"lodash/fp">["escapeRegExp"]; -} - -declare module "lodash/fp/kebabCase" { - declare module.exports: $Exports<"lodash/fp">["kebabCase"]; -} - -declare module "lodash/fp/lowerCase" { - declare module.exports: $Exports<"lodash/fp">["lowerCase"]; -} - -declare module "lodash/fp/lowerFirst" { - declare module.exports: $Exports<"lodash/fp">["lowerFirst"]; -} - -declare module "lodash/fp/pad" { - declare module.exports: $Exports<"lodash/fp">["pad"]; -} - -declare module "lodash/fp/padChars" { - declare module.exports: $Exports<"lodash/fp">["padChars"]; -} - -declare module "lodash/fp/padEnd" { - declare module.exports: $Exports<"lodash/fp">["padEnd"]; -} - -declare module "lodash/fp/padCharsEnd" { - declare module.exports: $Exports<"lodash/fp">["padCharsEnd"]; -} - -declare module "lodash/fp/padStart" { - declare module.exports: $Exports<"lodash/fp">["padStart"]; -} - -declare module "lodash/fp/padCharsStart" { - declare module.exports: $Exports<"lodash/fp">["padCharsStart"]; -} - -declare module "lodash/fp/parseInt" { - declare module.exports: $Exports<"lodash/fp">["parseInt"]; -} - -declare module "lodash/fp/repeat" { - declare module.exports: $Exports<"lodash/fp">["repeat"]; -} - -declare module "lodash/fp/replace" { - declare module.exports: $Exports<"lodash/fp">["replace"]; -} - -declare module "lodash/fp/snakeCase" { - declare module.exports: $Exports<"lodash/fp">["snakeCase"]; -} - -declare module "lodash/fp/split" { - declare module.exports: $Exports<"lodash/fp">["split"]; -} - -declare module "lodash/fp/startCase" { - declare module.exports: $Exports<"lodash/fp">["startCase"]; -} - -declare module "lodash/fp/startsWith" { - declare module.exports: $Exports<"lodash/fp">["startsWith"]; -} - -declare module "lodash/fp/template" { - declare module.exports: $Exports<"lodash/fp">["template"]; -} - -declare module "lodash/fp/toLower" { - declare module.exports: $Exports<"lodash/fp">["toLower"]; -} - -declare module "lodash/fp/toUpper" { - declare module.exports: $Exports<"lodash/fp">["toUpper"]; -} - -declare module "lodash/fp/trim" { - declare module.exports: $Exports<"lodash/fp">["trim"]; -} - -declare module "lodash/fp/trimChars" { - declare module.exports: $Exports<"lodash/fp">["trimChars"]; -} - -declare module "lodash/fp/trimEnd" { - declare module.exports: $Exports<"lodash/fp">["trimEnd"]; -} - -declare module "lodash/fp/trimCharsEnd" { - declare module.exports: $Exports<"lodash/fp">["trimCharsEnd"]; -} - -declare module "lodash/fp/trimStart" { - declare module.exports: $Exports<"lodash/fp">["trimStart"]; -} - -declare module "lodash/fp/trimCharsStart" { - declare module.exports: $Exports<"lodash/fp">["trimCharsStart"]; -} - -declare module "lodash/fp/truncate" { - declare module.exports: $Exports<"lodash/fp">["truncate"]; -} - -declare module "lodash/fp/unescape" { - declare module.exports: $Exports<"lodash/fp">["unescape"]; -} - -declare module "lodash/fp/upperCase" { - declare module.exports: $Exports<"lodash/fp">["upperCase"]; -} - -declare module "lodash/fp/upperFirst" { - declare module.exports: $Exports<"lodash/fp">["upperFirst"]; -} - -declare module "lodash/fp/words" { - declare module.exports: $Exports<"lodash/fp">["words"]; -} - -declare module "lodash/fp/attempt" { - declare module.exports: $Exports<"lodash/fp">["attempt"]; -} - -declare module "lodash/fp/bindAll" { - declare module.exports: $Exports<"lodash/fp">["bindAll"]; -} - -declare module "lodash/fp/cond" { - declare module.exports: $Exports<"lodash/fp">["cond"]; -} - -declare module "lodash/fp/constant" { - declare module.exports: $Exports<"lodash/fp">["constant"]; -} - -declare module "lodash/fp/always" { - declare module.exports: $Exports<"lodash/fp">["always"]; -} - -declare module "lodash/fp/defaultTo" { - declare module.exports: $Exports<"lodash/fp">["defaultTo"]; -} - -declare module "lodash/fp/flow" { - declare module.exports: $Exports<"lodash/fp">["flow"]; -} - -declare module "lodash/fp/pipe" { - declare module.exports: $Exports<"lodash/fp">["pipe"]; -} - -declare module "lodash/fp/flowRight" { - declare module.exports: $Exports<"lodash/fp">["flowRight"]; -} - -declare module "lodash/fp/compose" { - declare module.exports: $Exports<"lodash/fp">["compose"]; -} - -declare module "lodash/fp/identity" { - declare module.exports: $Exports<"lodash/fp">["identity"]; -} - -declare module "lodash/fp/iteratee" { - declare module.exports: $Exports<"lodash/fp">["iteratee"]; -} - -declare module "lodash/fp/matches" { - declare module.exports: $Exports<"lodash/fp">["matches"]; -} - -declare module "lodash/fp/matchesProperty" { - declare module.exports: $Exports<"lodash/fp">["matchesProperty"]; -} - -declare module "lodash/fp/propEq" { - declare module.exports: $Exports<"lodash/fp">["propEq"]; -} - -declare module "lodash/fp/pathEq" { - declare module.exports: $Exports<"lodash/fp">["pathEq"]; -} - -declare module "lodash/fp/method" { - declare module.exports: $Exports<"lodash/fp">["method"]; -} - -declare module "lodash/fp/methodOf" { - declare module.exports: $Exports<"lodash/fp">["methodOf"]; -} - -declare module "lodash/fp/mixin" { - declare module.exports: $Exports<"lodash/fp">["mixin"]; -} - -declare module "lodash/fp/noConflict" { - declare module.exports: $Exports<"lodash/fp">["noConflict"]; -} - -declare module "lodash/fp/noop" { - declare module.exports: $Exports<"lodash/fp">["noop"]; -} - -declare module "lodash/fp/nthArg" { - declare module.exports: $Exports<"lodash/fp">["nthArg"]; -} - -declare module "lodash/fp/over" { - declare module.exports: $Exports<"lodash/fp">["over"]; -} - -declare module "lodash/fp/juxt" { - declare module.exports: $Exports<"lodash/fp">["juxt"]; -} - -declare module "lodash/fp/overEvery" { - declare module.exports: $Exports<"lodash/fp">["overEvery"]; -} - -declare module "lodash/fp/allPass" { - declare module.exports: $Exports<"lodash/fp">["allPass"]; -} - -declare module "lodash/fp/overSome" { - declare module.exports: $Exports<"lodash/fp">["overSome"]; -} - -declare module "lodash/fp/anyPass" { - declare module.exports: $Exports<"lodash/fp">["anyPass"]; -} - -declare module "lodash/fp/property" { - declare module.exports: $Exports<"lodash/fp">["property"]; -} - -declare module "lodash/fp/propertyOf" { - declare module.exports: $Exports<"lodash/fp">["propertyOf"]; -} - -declare module "lodash/fp/range" { - declare module.exports: $Exports<"lodash/fp">["range"]; -} - -declare module "lodash/fp/rangeStep" { - declare module.exports: $Exports<"lodash/fp">["rangeStep"]; -} - -declare module "lodash/fp/rangeRight" { - declare module.exports: $Exports<"lodash/fp">["rangeRight"]; -} - -declare module "lodash/fp/rangeStepRight" { - declare module.exports: $Exports<"lodash/fp">["rangeStepRight"]; -} - -declare module "lodash/fp/runInContext" { - declare module.exports: $Exports<"lodash/fp">["runInContext"]; -} - -declare module "lodash/fp/stubArray" { - declare module.exports: $Exports<"lodash/fp">["stubArray"]; -} - -declare module "lodash/fp/stubFalse" { - declare module.exports: $Exports<"lodash/fp">["stubFalse"]; -} - -declare module "lodash/fp/F" { - declare module.exports: $Exports<"lodash/fp">["F"]; -} - -declare module "lodash/fp/stubObject" { - declare module.exports: $Exports<"lodash/fp">["stubObject"]; -} - -declare module "lodash/fp/stubString" { - declare module.exports: $Exports<"lodash/fp">["stubString"]; -} - -declare module "lodash/fp/stubTrue" { - declare module.exports: $Exports<"lodash/fp">["stubTrue"]; -} - -declare module "lodash/fp/T" { - declare module.exports: $Exports<"lodash/fp">["T"]; -} - -declare module "lodash/fp/times" { - declare module.exports: $Exports<"lodash/fp">["times"]; -} - -declare module "lodash/fp/toPath" { - declare module.exports: $Exports<"lodash/fp">["toPath"]; -} - -declare module "lodash/fp/uniqueId" { - declare module.exports: $Exports<"lodash/fp">["uniqueId"]; -} diff --git a/native/flow-typed/npm/react-redux_v7.x.x.js b/native/flow-typed/npm/react-redux_v7.x.x.js deleted file mode 100644 --- a/native/flow-typed/npm/react-redux_v7.x.x.js +++ /dev/null @@ -1,344 +0,0 @@ -// flow-typed signature: d3d375af4b8c9095e7360110a2a087fa -// flow-typed version: 6912183195/react-redux_v7.x.x/flow_>=v0.201.x - -/** -The order of type arguments for connect() is as follows: - -connect(…) - -In Flow v0.89 only the first two are mandatory to specify. Other 4 can be repaced with the new awesome type placeholder: - -connect(…) - -But beware, in case of weird type errors somewhere in random places -just type everything and get to a green field and only then try to -remove the definitions you see bogus. - -Decrypting the abbreviations: - WC = Component being wrapped - S = State - D = Dispatch - OP = OwnProps - SP = StateProps - DP = DispatchProps - MP = Merge props - RSP = Returned state props - RDP = Returned dispatch props - RMP = Returned merge props - CP = Props for returned component - Com = React Component - SS = Selected state - ST = Static properties of Com - EFO = Extra factory options (used only in connectAdvanced) -*/ - -declare module "react-redux" { - import * as React from 'react'; - // ------------------------------------------------------------ - // Typings for connect() - // ------------------------------------------------------------ - - declare export type Options = {| - pure?: boolean, - forwardRef?: boolean, - areStatesEqual?: (next: S, prev: S) => boolean, - areOwnPropsEqual?: (next: OP, prev: OP) => boolean, - areStatePropsEqual?: (next: SP, prev: SP) => boolean, - areMergedPropsEqual?: (next: MP, prev: MP) => boolean, - storeKey?: string, - |}; - - declare type MapStateToProps = - | ((state: S, ownProps: OP) => SP) - // If you want to use the factory function but get a strange error - // like "function is not an object" then just type the factory function - // like this: - // const factory: (State, OwnProps) => (State, OwnProps) => StateProps - // and provide the StateProps type to the SP type parameter. - | ((state: S, ownProps: OP) => (state: S, ownProps: OP) => SP); - - declare type Bind = ((...A) => R) => (...A) => ReturnType; - - declare type MapDispatchToPropsFn = - | ((dispatch: D, ownProps: OP) => DP) - // If you want to use the factory function but get a strange error - // like "function is not an object" then just type the factory function - // like this: - // const factory: (Dispatch, OwnProps) => (Dispatch, OwnProps) => DispatchProps - // and provide the DispatchProps type to the DP type parameter. - | ((dispatch: D, ownProps: OP) => (dispatch: D, ownProps: OP) => DP); - - declare class ConnectedComponentClass extends React.Component { - static +WrappedComponent: WC; - getWrappedInstance(): React$ElementRef; - } - - declare export type ConnectedComponent = ConnectedComponentClass; - - // The connection of the Wrapped Component and the Connected Component - // happens here in `MP: P`. It means that type wise MP belongs to P, - // so to say MP >= P. - declare type Connector = >( - WC, - ) => Class> & WC; - - // No `mergeProps` argument - - // Got error like inexact OwnProps is incompatible with exact object type? - // Just make the OP parameter for `connect()` an exact object. - declare type MergeOP = {| ...$Exact, dispatch: D |}; - declare type MergeOPSP = {| ...$Exact, ...SP, dispatch: D |}; - declare type MergeOPDP = {| ...$Exact, ...DP |}; - declare type MergeOPSPDP = {| ...$Exact, ...SP, ...DP |}; - - declare type MapDispatch = { - [K in $Keys]: - DP[K] extends (...args: infer A) => R - ? (...A) => ReturnType - : empty - }; - - declare export function connect( - mapStateToProps?: null | void, - mapDispatchToProps?: null | void, - mergeProps?: null | void, - options?: ?Options>, - ): Connector>; - - declare export function connect( - // If you get error here try adding return type to your mapStateToProps function - mapStateToProps: MapStateToProps, - mapDispatchToProps?: null | void, - mergeProps?: null | void, - options?: ?Options>, - ): Connector>; - - // In this case DP is an object of functions which has been bound to dispatch - // by the given mapDispatchToProps function. - declare export function connect( - mapStateToProps: null | void, - mapDispatchToProps: MapDispatchToPropsFn, - mergeProps?: null | void, - options?: ?Options>, - ): Connector>; - - // In this case DP is an object of action creators not yet bound to dispatch, - // this difference is not important in the vanila redux, - // but in case of usage with redux-thunk, the return type may differ. - declare export function connect( - mapStateToProps: null | void, - mapDispatchToProps: DP, - mergeProps?: null | void, - options?: ?Options>, - ): Connector>>; - - declare export function connect( - // If you get error here try adding return type to your mapStateToProps function - mapStateToProps: MapStateToProps, - mapDispatchToProps: MapDispatchToPropsFn, - mergeProps?: null | void, - options?: ?Options, - ): Connector; - - declare export function connect( - // If you get error here try adding return type to your mapStateToProps function - mapStateToProps: MapStateToProps, - mapDispatchToProps: DP, - mergeProps?: null | void, - options?: ?Options>, - ): Connector>>; - - // With `mergeProps` argument - - declare type MergeProps = ( - stateProps: SP, - dispatchProps: DP, - ownProps: OP, - ) => P; - - declare export function connect( - mapStateToProps: null | void, - mapDispatchToProps: null | void, - // If you get error here try adding return type to you mapStateToProps function - mergeProps: MergeProps, - options?: ?Options, - ): Connector; - - declare export function connect( - mapStateToProps: MapStateToProps, - mapDispatchToProps: null | void, - // If you get error here try adding return type to you mapStateToProps function - mergeProps: MergeProps, - options?: ?Options, - ): Connector; - - // In this case DP is an object of functions which has been bound to dispatch - // by the given mapDispatchToProps function. - declare export function connect( - mapStateToProps: null | void, - mapDispatchToProps: MapDispatchToPropsFn, - mergeProps: MergeProps, - options?: ?Options, - ): Connector; - - // In this case DP is an object of action creators not yet bound to dispatch, - // this difference is not important in the vanila redux, - // but in case of usage with redux-thunk, the return type may differ. - declare export function connect( - mapStateToProps: null | void, - mapDispatchToProps: DP, - mergeProps: MergeProps}>, - options?: ?Options, - ): Connector; - - // In this case DP is an object of functions which has been bound to dispatch - // by the given mapDispatchToProps function. - declare export function connect( - mapStateToProps: MapStateToProps, - mapDispatchToProps: MapDispatchToPropsFn, - mergeProps: MergeProps, - options?: ?Options, - ): Connector; - - // In this case DP is an object of action creators not yet bound to dispatch, - // this difference is not important in the vanila redux, - // but in case of usage with redux-thunk, the return type may differ. - declare export function connect( - mapStateToProps: MapStateToProps, - mapDispatchToProps: DP, - mergeProps: MergeProps}>, - options?: ?Options, - ): Connector; - - // ------------------------------------------------------------ - // Typings for Hooks - // ------------------------------------------------------------ - - /* Action and AnyAction are taken from the redux TypeScript types defined here: - * https://github.com/reduxjs/redux/blob/d794c56f78eccb56ba3c67971c26df8ee34dacc1/src/types/actions.ts - * - * We turn them into objects so that they can be spread. - * - * We use AnyAction as the default for useDispatch as DefinitelyTyped does: - * https://github.com/DefinitelyTyped/DefinitelyTyped/blob/f7ec78508c6797e42f87a4390735bc2c650a1bfd/types/react-redux/index.d.ts#L540 - */ - declare export type Action = { - type: T, - ... - } - - declare export type AnyAction = { - ...Action, - [string]: any, - ... - } - - declare export type Dispatch<-A: Action> = (action: A, ...extraArgs: any[]) => mixed - - // Since A is contravariant in Dispatch, empty is a reasonable bound here. This is equivalent - // to using mixed as a default in a read-only position. - declare export function useDispatch = Dispatch>(): ( - & ((T) => T) - // Supports thunks at their various lengths and use cases depending if user has typed them as tuple vs array - & (((...args: [any]) => T) => T) - & (((...args: [any, any]) => T) => T) - & (((...args: [any, any, any]) => T) => T) - & (((...args: Array) => T) => T) - & D - ); - - declare export function useSelector( - selector: (state: S) => SS, - equalityFn?: (a: SS, b: SS) => boolean, - ): SS; - - declare export function useStore(): Store; - - // ------------------------------------------------------------ - // Typings for Provider - // ------------------------------------------------------------ - - declare export class Provider extends React.Component<{ - store: Store, - children?: React.Node, - ... - }> {} - - declare export function createProvider( - storeKey?: string, - subKey?: string, - ): Class>; - - // ------------------------------------------------------------ - // Typings for connectAdvanced() - // ------------------------------------------------------------ - - declare type ConnectAdvancedOptions = { - getDisplayName?: (name: string) => string, - methodName?: string, - renderCountProp?: string, - shouldHandleStateChanges?: boolean, - storeKey?: string, - forwardRef?: boolean, - ... - }; - - declare type SelectorFactoryOptions = { - getDisplayName: (name: string) => string, - methodName: string, - renderCountProp: ?string, - shouldHandleStateChanges: boolean, - storeKey: string, - forwardRef: boolean, - displayName: string, - wrappedComponentName: string, - WrappedComponent: Com, - ... - }; - - declare type MapStateToPropsEx = ( - state: S, - props: SP, - ) => RSP; - - declare type SelectorFactory< - Com: React.ComponentType, - Dispatch, - S: Object, - OP: Object, - EFO: Object, - CP: Object, - > = ( - dispatch: Dispatch, - factoryOptions: SelectorFactoryOptions & EFO, - ) => MapStateToPropsEx; - - declare export function connectAdvanced< - Com: React.ComponentType, - D, - S: Object, - OP: Object, - CP: Object, - EFO: Object, - ST: { [_: $Keys]: any, ... }, - >( - selectorFactory: SelectorFactory, - connectAdvancedOptions: ?(ConnectAdvancedOptions & EFO), - ): (component: Com) => React.ComponentType & Partial; - - declare export function batch(() => void): void - - declare export function shallowEqual(left: T, right: any): boolean - - declare export default { - Provider: typeof Provider, - createProvider: typeof createProvider, - connect: typeof connect, - connectAdvanced: typeof connectAdvanced, - useDispatch: typeof useDispatch, - useSelector: typeof useSelector, - useStore: typeof useStore, - batch: typeof batch, - ... - }; -} diff --git a/native/flow-typed/npm/redux_v4.x.x.js b/native/flow-typed/npm/redux_v4.x.x.js deleted file mode 100644 --- a/native/flow-typed/npm/redux_v4.x.x.js +++ /dev/null @@ -1,131 +0,0 @@ -// flow-typed signature: f42950aebee3189b48dae0d4697c6776 -// flow-typed version: 0e28de5e8a/redux_v4.x.x/flow_>=v0.201.x - -declare module 'redux' { - /* - - S = State - A = Action - D = Dispatch - - */ - - declare export type Action = { type: T, ... } - - declare export type DispatchAPI = (action: A) => A; - - declare export type Dispatch = DispatchAPI; - - declare export type MiddlewareAPI> = { - dispatch: D, - getState(): S, - ... - }; - - declare export type Store> = { - // rewrite MiddlewareAPI members in order to get nicer error messages (intersections produce long messages) - dispatch: D, - getState(): S, - subscribe(listener: () => void): () => void, - replaceReducer(nextReducer: Reducer): void, - ... - }; - - declare export type Reducer = (state: S, action: A) => S; - - declare export type Middleware> = ( - api: MiddlewareAPI - ) => (next: D) => D; - - declare export type StoreCreator> = { - (reducer: Reducer, enhancer?: StoreEnhancer): Store, - ( - reducer: Reducer, - preloadedState: S, - enhancer?: StoreEnhancer - ): Store, - ... - }; - - declare export type StoreEnhancer> = ( - next: StoreCreator - ) => StoreCreator; - - declare export function createStore( - reducer: Reducer, - enhancer?: StoreEnhancer - ): Store; - declare export function createStore( - reducer: Reducer, - preloadedState?: S, - enhancer?: StoreEnhancer - ): Store; - - declare export function legacy_createStore( - reducer: Reducer, - enhancer?: StoreEnhancer - ): Store; - declare export function legacy_createStore( - reducer: Reducer, - preloadedState?: S, - enhancer?: StoreEnhancer - ): Store; - - declare export function applyMiddleware( - ...middlewares: Array> - ): StoreEnhancer; - - declare export type ActionCreator = (...args: Array) => A; - declare export type ActionCreators = { [key: K]: ActionCreator, ... }; - - declare export function bindActionCreators< - A, - C: ActionCreator, - D: DispatchAPI - >( - actionCreator: C, - dispatch: D - ): C; - declare export function bindActionCreators< - A, - K, - C: ActionCreators, - D: DispatchAPI - >( - actionCreators: C, - dispatch: D - ): C; - - declare export function combineReducers( - reducers: {[K in keyof RootState]: Reducer} - ): Reducer; - - declare function _compose(): (a: T) => T; - declare function _compose) => mixed>( - f: F, - ): F; - declare function _compose, R>( - f1: (a: A) => R, - f2: (...T) => A, - ): (...T) => R; - declare function _compose, R>( - f1: (b: B) => R, - f2: (a: A) => B, - f3: (...T) => A, - ): (...T) => R; - declare function _compose, R>( - f1: (c: C) => R, - f2: (b: B) => C, - f3: (a: A) => B, - f4: (...T) => A, - ): (...T) => R; - declare function _compose( - f1: (b: any) => R, - ...funcs: $ReadOnlyArray<(...$ReadOnlyArray) => mixed> - ): (...$ReadOnlyArray) => R; - declare function _compose( - ...funcs: $ReadOnlyArray<(...$ReadOnlyArray) => mixed> - ): (...$ReadOnlyArray) => R; - - declare export var compose: typeof _compose; -} diff --git a/native/flow-typed/npm/reselect_v3.x.x.js b/native/flow-typed/npm/reselect_v3.x.x.js deleted file mode 100644 --- a/native/flow-typed/npm/reselect_v3.x.x.js +++ /dev/null @@ -1,895 +0,0 @@ -// flow-typed signature: 76cd084ba22dd6276af7e44a634b4878 -// flow-typed version: c6154227d1/reselect_v3.x.x/flow_>=v0.47.x <=v0.103.x - -type ExtractReturnType = ((...rest: any[]) => Return) => Return; - -declare module "reselect" { - declare type InputSelector<-TState, TProps, TResult> = - (state: TState, props: TProps, ...rest: any[]) => TResult - - declare type OutputSelector<-TState, TProps, TResult> = - & InputSelector - & { - recomputations(): number, - resetRecomputations(): number, - resultFunc(state: TState, props: TProps, ...rest: Array): TResult, - }; - - declare type SelectorCreator = { - ( - selector1: InputSelector, - resultFunc: (arg1: T1) => TResult - ): OutputSelector, - ( - selectors: [InputSelector], - resultFunc: (arg1: T1) => TResult - ): OutputSelector, - - ( - selector1: InputSelector, - selector2: InputSelector, - resultFunc: (arg1: T1, arg2: T2) => TResult - ): OutputSelector, - ( - selectors: [InputSelector, InputSelector], - resultFunc: (arg1: T1, arg2: T2) => TResult - ): OutputSelector, - - ( - selector1: InputSelector, - selector2: InputSelector, - selector3: InputSelector, - resultFunc: (arg1: T1, arg2: T2, arg3: T3) => TResult - ): OutputSelector, - ( - selectors: [ - InputSelector, - InputSelector, - InputSelector - ], - resultFunc: (arg1: T1, arg2: T2, arg3: T3) => TResult - ): OutputSelector, - - ( - selector1: InputSelector, - selector2: InputSelector, - selector3: InputSelector, - selector4: InputSelector, - resultFunc: (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => TResult - ): OutputSelector, - ( - selectors: [ - InputSelector, - InputSelector, - InputSelector, - InputSelector - ], - resultFunc: (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => TResult - ): OutputSelector, - - ( - selector1: InputSelector, - selector2: InputSelector, - selector3: InputSelector, - selector4: InputSelector, - selector5: InputSelector, - resultFunc: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => TResult - ): OutputSelector, - ( - selectors: [ - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector - ], - resultFunc: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => TResult - ): OutputSelector, - - ( - selector1: InputSelector, - selector2: InputSelector, - selector3: InputSelector, - selector4: InputSelector, - selector5: InputSelector, - selector6: InputSelector, - resultFunc: ( - arg1: T1, - arg2: T2, - arg3: T3, - arg4: T4, - arg5: T5, - arg6: T6 - ) => TResult - ): OutputSelector, - ( - selectors: [ - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector - ], - resultFunc: ( - arg1: T1, - arg2: T2, - arg3: T3, - arg4: T4, - arg5: T5, - arg6: T6 - ) => TResult - ): OutputSelector, - - ( - selector1: InputSelector, - selector2: InputSelector, - selector3: InputSelector, - selector4: InputSelector, - selector5: InputSelector, - selector6: InputSelector, - selector7: InputSelector, - resultFunc: ( - arg1: T1, - arg2: T2, - arg3: T3, - arg4: T4, - arg5: T5, - arg6: T6, - arg7: T7 - ) => TResult - ): OutputSelector, - ( - selectors: [ - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector - ], - resultFunc: ( - arg1: T1, - arg2: T2, - arg3: T3, - arg4: T4, - arg5: T5, - arg6: T6, - arg7: T7 - ) => TResult - ): OutputSelector, - - ( - selector1: InputSelector, - selector2: InputSelector, - selector3: InputSelector, - selector4: InputSelector, - selector5: InputSelector, - selector6: InputSelector, - selector7: InputSelector, - selector8: InputSelector, - resultFunc: ( - arg1: T1, - arg2: T2, - arg3: T3, - arg4: T4, - arg5: T5, - arg6: T6, - arg7: T7, - arg8: T8 - ) => TResult - ): OutputSelector, - ( - selectors: [ - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector - ], - resultFunc: ( - arg1: T1, - arg2: T2, - arg3: T3, - arg4: T4, - arg5: T5, - arg6: T6, - arg7: T7, - arg8: T8 - ) => TResult - ): OutputSelector, - - ( - selector1: InputSelector, - selector2: InputSelector, - selector3: InputSelector, - selector4: InputSelector, - selector5: InputSelector, - selector6: InputSelector, - selector7: InputSelector, - selector8: InputSelector, - selector9: InputSelector, - resultFunc: ( - arg1: T1, - arg2: T2, - arg3: T3, - arg4: T4, - arg5: T5, - arg6: T6, - arg7: T7, - arg8: T8, - arg9: T9 - ) => TResult - ): OutputSelector, - ( - selectors: [ - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector - ], - resultFunc: ( - arg1: T1, - arg2: T2, - arg3: T3, - arg4: T4, - arg5: T5, - arg6: T6, - arg7: T7, - arg8: T8, - arg9: T9 - ) => TResult - ): OutputSelector, - - ( - selector1: InputSelector, - selector2: InputSelector, - selector3: InputSelector, - selector4: InputSelector, - selector5: InputSelector, - selector6: InputSelector, - selector7: InputSelector, - selector8: InputSelector, - selector9: InputSelector, - selector10: InputSelector, - resultFunc: ( - arg1: T1, - arg2: T2, - arg3: T3, - arg4: T4, - arg5: T5, - arg6: T6, - arg7: T7, - arg8: T8, - arg9: T9, - arg10: T10 - ) => TResult - ): OutputSelector, - ( - selectors: [ - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector - ], - resultFunc: ( - arg1: T1, - arg2: T2, - arg3: T3, - arg4: T4, - arg5: T5, - arg6: T6, - arg7: T7, - arg8: T8, - arg9: T9, - arg10: T10 - ) => TResult - ): OutputSelector, - - ( - selector1: InputSelector, - selector2: InputSelector, - selector3: InputSelector, - selector4: InputSelector, - selector5: InputSelector, - selector6: InputSelector, - selector7: InputSelector, - selector8: InputSelector, - selector9: InputSelector, - selector10: InputSelector, - selector11: InputSelector, - resultFunc: ( - arg1: T1, - arg2: T2, - arg3: T3, - arg4: T4, - arg5: T5, - arg6: T6, - arg7: T7, - arg8: T8, - arg9: T9, - arg10: T10, - arg11: T11 - ) => TResult - ): OutputSelector, - ( - selectors: [ - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector - ], - resultFunc: ( - arg1: T1, - arg2: T2, - arg3: T3, - arg4: T4, - arg5: T5, - arg6: T6, - arg7: T7, - arg8: T8, - arg9: T9, - arg10: T10, - arg11: T11 - ) => TResult - ): OutputSelector, - - < - TState, - TProps, - TResult, - T1, - T2, - T3, - T4, - T5, - T6, - T7, - T8, - T9, - T10, - T11, - T12 - >( - selector1: InputSelector, - selector2: InputSelector, - selector3: InputSelector, - selector4: InputSelector, - selector5: InputSelector, - selector6: InputSelector, - selector7: InputSelector, - selector8: InputSelector, - selector9: InputSelector, - selector10: InputSelector, - selector11: InputSelector, - selector12: InputSelector, - resultFunc: ( - arg1: T1, - arg2: T2, - arg3: T3, - arg4: T4, - arg5: T5, - arg6: T6, - arg7: T7, - arg8: T8, - arg9: T9, - arg10: T10, - arg11: T11, - arg12: T12 - ) => TResult - ): OutputSelector, - < - TState, - TProps, - TResult, - T1, - T2, - T3, - T4, - T5, - T6, - T7, - T8, - T9, - T10, - T11, - T12 - >( - selectors: [ - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector - ], - resultFunc: ( - arg1: T1, - arg2: T2, - arg3: T3, - arg4: T4, - arg5: T5, - arg6: T6, - arg7: T7, - arg8: T8, - arg9: T9, - arg10: T10, - arg11: T11, - arg12: T12 - ) => TResult - ): OutputSelector, - - < - TState, - TProps, - TResult, - T1, - T2, - T3, - T4, - T5, - T6, - T7, - T8, - T9, - T10, - T11, - T12, - T13 - >( - selector1: InputSelector, - selector2: InputSelector, - selector3: InputSelector, - selector4: InputSelector, - selector5: InputSelector, - selector6: InputSelector, - selector7: InputSelector, - selector8: InputSelector, - selector9: InputSelector, - selector10: InputSelector, - selector11: InputSelector, - selector12: InputSelector, - selector13: InputSelector, - resultFunc: ( - arg1: T1, - arg2: T2, - arg3: T3, - arg4: T4, - arg5: T5, - arg6: T6, - arg7: T7, - arg8: T8, - arg9: T9, - arg10: T10, - arg11: T11, - arg12: T12, - arg13: T13 - ) => TResult - ): OutputSelector, - < - TState, - TProps, - TResult, - T1, - T2, - T3, - T4, - T5, - T6, - T7, - T8, - T9, - T10, - T11, - T12, - T13 - >( - selectors: [ - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector - ], - resultFunc: ( - arg1: T1, - arg2: T2, - arg3: T3, - arg4: T4, - arg5: T5, - arg6: T6, - arg7: T7, - arg8: T8, - arg9: T9, - arg10: T10, - arg11: T11, - arg12: T12, - arg13: T13 - ) => TResult - ): OutputSelector, - - < - TState, - TProps, - TResult, - T1, - T2, - T3, - T4, - T5, - T6, - T7, - T8, - T9, - T10, - T11, - T12, - T13, - T14 - >( - selector1: InputSelector, - selector2: InputSelector, - selector3: InputSelector, - selector4: InputSelector, - selector5: InputSelector, - selector6: InputSelector, - selector7: InputSelector, - selector8: InputSelector, - selector9: InputSelector, - selector10: InputSelector, - selector11: InputSelector, - selector12: InputSelector, - selector13: InputSelector, - selector14: InputSelector, - resultFunc: ( - arg1: T1, - arg2: T2, - arg3: T3, - arg4: T4, - arg5: T5, - arg6: T6, - arg7: T7, - arg8: T8, - arg9: T9, - arg10: T10, - arg11: T11, - arg12: T12, - arg13: T13, - arg14: T14 - ) => TResult - ): OutputSelector, - < - TState, - TProps, - TResult, - T1, - T2, - T3, - T4, - T5, - T6, - T7, - T8, - T9, - T10, - T11, - T12, - T13, - T14 - >( - selectors: [ - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector - ], - resultFunc: ( - arg1: T1, - arg2: T2, - arg3: T3, - arg4: T4, - arg5: T5, - arg6: T6, - arg7: T7, - arg8: T8, - arg9: T9, - arg10: T10, - arg11: T11, - arg12: T12, - arg13: T13, - arg14: T14 - ) => TResult - ): OutputSelector, - - < - TState, - TProps, - TResult, - T1, - T2, - T3, - T4, - T5, - T6, - T7, - T8, - T9, - T10, - T11, - T12, - T13, - T14, - T15 - >( - selector1: InputSelector, - selector2: InputSelector, - selector3: InputSelector, - selector4: InputSelector, - selector5: InputSelector, - selector6: InputSelector, - selector7: InputSelector, - selector8: InputSelector, - selector9: InputSelector, - selector10: InputSelector, - selector11: InputSelector, - selector12: InputSelector, - selector13: InputSelector, - selector14: InputSelector, - selector15: InputSelector, - resultFunc: ( - arg1: T1, - arg2: T2, - arg3: T3, - arg4: T4, - arg5: T5, - arg6: T6, - arg7: T7, - arg8: T8, - arg9: T9, - arg10: T10, - arg11: T11, - arg12: T12, - arg13: T13, - arg14: T14, - arg15: T15 - ) => TResult - ): OutputSelector, - < - TState, - TProps, - TResult, - T1, - T2, - T3, - T4, - T5, - T6, - T7, - T8, - T9, - T10, - T11, - T12, - T13, - T14, - T15 - >( - selectors: [ - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector - ], - resultFunc: ( - arg1: T1, - arg2: T2, - arg3: T3, - arg4: T4, - arg5: T5, - arg6: T6, - arg7: T7, - arg8: T8, - arg9: T9, - arg10: T10, - arg11: T11, - arg12: T12, - arg13: T13, - arg14: T14, - arg15: T15 - ) => TResult - ): OutputSelector, - - < - TState, - TProps, - TResult, - T1, - T2, - T3, - T4, - T5, - T6, - T7, - T8, - T9, - T10, - T11, - T12, - T13, - T14, - T15, - T16 - >( - selector1: InputSelector, - selector2: InputSelector, - selector3: InputSelector, - selector4: InputSelector, - selector5: InputSelector, - selector6: InputSelector, - selector7: InputSelector, - selector8: InputSelector, - selector9: InputSelector, - selector10: InputSelector, - selector11: InputSelector, - selector12: InputSelector, - selector13: InputSelector, - selector14: InputSelector, - selector15: InputSelector, - selector16: InputSelector, - resultFunc: ( - arg1: T1, - arg2: T2, - arg3: T3, - arg4: T4, - arg5: T5, - arg6: T6, - arg7: T7, - arg8: T8, - arg9: T9, - arg10: T10, - arg11: T11, - arg12: T12, - arg13: T13, - arg14: T14, - arg15: T15, - arg16: T16 - ) => TResult - ): OutputSelector, - < - TState, - TProps, - TResult, - T1, - T2, - T3, - T4, - T5, - T6, - T7, - T8, - T9, - T10, - T11, - T12, - T13, - T14, - T15, - T16 - >( - selectors: [ - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector - ], - resultFunc: ( - arg1: T1, - arg2: T2, - arg3: T3, - arg4: T4, - arg5: T5, - arg6: T6, - arg7: T7, - arg8: T8, - arg9: T9, - arg10: T10, - arg11: T11, - arg12: T12, - arg13: T13, - arg14: T14, - arg15: T15, - arg16: T16 - ) => TResult - ): OutputSelector - }; - - declare type Reselect = { - createSelector: SelectorCreator, - - defaultMemoize: ( - func: TFunc, - equalityCheck?: (a: any, b: any) => boolean - ) => TFunc, - - createSelectorCreator: ( - memoize: Function, - ...memoizeOptions: any[] - ) => SelectorCreator, - - createStructuredSelector: }>( - inputSelectors: InputSelectors, - selectorCreator?: SelectorCreator - ) => OutputSelector}> - }; - - declare module.exports: Reselect; -} diff --git a/web/flow-typed/npm/@commapp/olm_vx.x.x.js b/web/flow-typed/npm/@commapp/olm_vx.x.x.js deleted file mode 100644 --- a/web/flow-typed/npm/@commapp/olm_vx.x.x.js +++ /dev/null @@ -1,197 +0,0 @@ -// flow-typed signature: 085f002da86534cfd8cee47ffa99dd67 -// flow-typed version: <>/@commapp/olm_v3.2.4/flow_v0.182.0 - -declare module '@commapp/olm' { - -/* -Copyright 2020 The Matrix.org Foundation C.I.C. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - - declare export class Account { - constructor(): void; - free(): void; - create(): void; - identity_keys(): string; - sign(message: string | Uint8Array): string; - one_time_keys(): string; - mark_keys_as_published(): void; - max_number_of_one_time_keys(): number; - generate_one_time_keys(number_of_keys: number): void; - remove_one_time_keys(session: Session): void; - generate_prekey(): void; - prekey(): string; - unpublished_prekey(): ?string; - prekey_signature(): ?string; - forget_old_prekey(): void; - mark_prekey_as_published(): void; - last_prekey_publish_time(): number; - generate_fallback_key(): void; - fallback_key(): string; - unpublished_fallback_key(): string; - forget_old_fallback_key(): void; - pickle(key: string | Uint8Array): string; - unpickle(key: string | Uint8Array, pickle: string): void; - } - - declare export type EncryptResult = { - +type: 0 | 1, // 0: PreKey, 1: Message - +body: string, - }; - declare export class Session { - constructor(): void; - free(): void; - pickle(key: string | Uint8Array): string; - unpickle(key: string | Uint8Array, pickle: string): void; - create_outbound( - account: Account, - their_identity_key: string, - their_signing_key: string, - their_prekey: string, - their_prekey_signature: string, - their_one_time_key: string, - ): void; - create_outbound_without_otk( - account: Account, - their_identity_key: string, - their_signing_key: string, - their_prekey: string, - their_prekey_signature: string - ): void; - create_inbound(account: Account, one_time_key_message: string): void; - create_inbound_from( - account: Account, - identity_key: string, - one_time_key_message: string, - ): void; - session_id(): string; - has_received_message(): boolean; - is_sender_chain_empty(): boolean; - matches_inbound(one_time_key_message: string): boolean; - matches_inbound_from( - identity_key: string, - one_time_key_message: string, - ): boolean; - encrypt(plaintext: string): EncryptResult; - decrypt(message_type: number, message: string): string; - decrypt_sequential(message_type: number, message: string): string; - describe(): string; - } - - declare export class Utility { - constructor(): void; - free(): void; - sha256(input: string | Uint8Array): string; - ed25519_verify( - key: string, - message: string | Uint8Array, - signature: string, - ): void; - } - - declare export type DecryptResult = { - +message_index: string, - +plaintext: string, - }; - - declare export class InboundGroupSession { - constructor(): void; - free(): void; - pickle(key: string | Uint8Array): string; - unpickle(key: string | Uint8Array, pickle: string): void; - create(session_key: string): string; - import_session(session_key: string): string; - decrypt(message: string): DecryptResult; - session_id(): string; - first_known_index(): number; - export_session(message_index: number): string; - } - - declare export class OutboundGroupSession { - constructor(): void; - free(): void; - pickle(key: string | Uint8Array): string; - unpickle(key: string | Uint8Array, pickle: string): void; - create(): void; - encrypt(plaintext: string): string; - session_id(): string; - session_key(): string; - message_index(): number; - } - - declare export type PkEncryptionEncryptResult = { - +ciphertext: string, - +mac: string, - +ephemeral: string, - }; - - declare export class PkEncryption { - constructor(): void; - free(): void; - set_recipient_key(key: string): void; - encrypt(plaintext: string): PkEncryptionEncryptResult; - } - - declare export class PkDecryption { - constructor(): void; - free(): void; - init_with_private_key(key: Uint8Array): string; - generate_key(): string; - get_private_key(): Uint8Array; - pickle(key: string | Uint8Array): string; - unpickle(key: string | Uint8Array, pickle: string): string; - decrypt(ephemeral_key: string, mac: string, ciphertext: string): string; - } - - declare export class PkSigning { - constructor(): void; - free(): void; - init_with_seed(seed: Uint8Array): string; - generate_seed(): Uint8Array; - sign(message: string): string; - } - - declare export class SAS { - constructor(): void; - free(): void; - get_pubkey(): string; - set_their_key(their_key: string): void; - generate_bytes(info: string, length: number): Uint8Array; - calculate_mac(input: string, info: string): string; - calculate_mac_fixed_base64(input: string, info: string): string; - calculate_mac_long_kdf(input: string, info: string): string; - } - - declare export function init(opts?: Object): Promise; - - declare export function get_library_version(): [number, number, number]; - - declare export function get_total_memory(): number; - - declare export function get_used_memory(): number; - - declare export var PRIVATE_KEY_LENGTH: number; - - declare export default { - init: typeof init, - get_library_version: typeof get_library_version, - get_total_memory: typeof get_total_memory, - get_used_memory: typeof get_used_memory, - PRIVATE_KEY_LENGTH: typeof PRIVATE_KEY_LENGTH, - Account: typeof Account, - Utility: typeof Utility, - Session: typeof Session, - }; - -} diff --git a/web/flow-typed/npm/dateformat_v2.x.x.js b/web/flow-typed/npm/dateformat_v2.x.x.js deleted file mode 100644 --- a/web/flow-typed/npm/dateformat_v2.x.x.js +++ /dev/null @@ -1,35 +0,0 @@ -// flow-typed signature: fe79126ceafaa7209482cc03ca24c353 -// flow-typed version: c6154227d1/dateformat_v2.x.x/flow_>=v0.28.x <=v0.103.x - -interface DateFormatMasks { - default: string; - shortDate: string; - mediumDate: string; - longDate: string; - fullDate: string; - shortTime: string; - mediumTime: string; - longTime: string; - isoDate: string; - isoTime: string; - isoDateTime: string; - isoUtcDateTime: string; - expiresHeaderFormat: string; - [key: string]: string; -} - -interface DateFormatI18n { - dayNames: string[]; - monthNames: string[]; -} - -interface DateFormatStatic { - (date ? : Date | string | number, mask ? : string, utc ? : boolean, gmt ? : boolean): string; - (mask ? : string, utc ? : boolean, gmt ? : boolean): string; - masks: DateFormatMasks; - i18n: DateFormatI18n; -} - -declare module 'dateformat' { - declare module.exports: DateFormatStatic; -} diff --git a/web/flow-typed/npm/flow-bin_v0.x.x.js b/web/flow-typed/npm/flow-bin_v0.x.x.js deleted file mode 100644 --- a/web/flow-typed/npm/flow-bin_v0.x.x.js +++ /dev/null @@ -1,6 +0,0 @@ -// flow-typed signature: 4e6a5da3290fe9ea49e6bcdced64f358 -// flow-typed version: c6154227d1/flow-bin_v0.x.x/flow_>=v0.25.x <=v0.103.x - -declare module "flow-bin" { - declare module.exports: string; -} diff --git a/web/flow-typed/npm/invariant_v2.x.x.js b/web/flow-typed/npm/invariant_v2.x.x.js deleted file mode 100644 --- a/web/flow-typed/npm/invariant_v2.x.x.js +++ /dev/null @@ -1,6 +0,0 @@ -// flow-typed signature: b8efdbfe8d3c7df1e968c260529ae86e -// flow-typed version: c6154227d1/invariant_v2.x.x/flow_>=v0.33.x <=v0.103.x - -declare module invariant { - declare module.exports: (condition: boolean, message: string) => void; -} diff --git a/web/flow-typed/npm/isomorphic-fetch_v2.x.x.js b/web/flow-typed/npm/isomorphic-fetch_v2.x.x.js deleted file mode 100644 --- a/web/flow-typed/npm/isomorphic-fetch_v2.x.x.js +++ /dev/null @@ -1,9 +0,0 @@ -// flow-typed signature: 87ecff52383db025a798afd90d2a1d56 -// flow-typed version: c6154227d1/isomorphic-fetch_v2.x.x/flow_>=v0.25.x <=v0.103.x - -declare module "isomorphic-fetch" { - declare module.exports: ( - input: string | Request | URL, - init?: RequestOptions - ) => Promise; -} diff --git a/web/flow-typed/npm/jest_v29.x.x.js b/web/flow-typed/npm/jest_v29.x.x.js deleted file mode 100644 --- a/web/flow-typed/npm/jest_v29.x.x.js +++ /dev/null @@ -1,1267 +0,0 @@ -// flow-typed signature: f3f75dec8a0c58e78c2a57e2f81e6f7f -// flow-typed version: 00ecb7849a/jest_v29.x.x/flow_>=v0.201.x - -type JestMockFn, TReturn> = { - (...args: TArguments): TReturn, - /** - * An object for introspecting mock calls - */ - mock: { - /** - * An array that represents all calls that have been made into this mock - * function. Each call is represented by an array of arguments that were - * passed during the call. - */ - calls: Array, - /** - * An array containing the call arguments of the last call that was made - * to this mock function. If the function was not called, it will return - * undefined. - */ - lastCall: TArguments, - /** - * An array that contains all the object instances that have been - * instantiated from this mock function. - */ - instances: Array, - /** - * An array that contains all the object results that have been - * returned by this mock function call - */ - results: Array<{ - isThrow: boolean, - value: TReturn, - ... - }>, - ... - }, - /** - * Resets all information stored in the mockFn.mock.calls and - * mockFn.mock.instances arrays. Often this is useful when you want to clean - * up a mock's usage data between two assertions. - */ - mockClear(): void, - /** - * Resets all information stored in the mock. This is useful when you want to - * completely restore a mock back to its initial state. - */ - mockReset(): void, - /** - * Removes the mock and restores the initial implementation. This is useful - * when you want to mock functions in certain test cases and restore the - * original implementation in others. Beware that mockFn.mockRestore only - * works when mock was created with jest.spyOn. Thus you have to take care of - * restoration yourself when manually assigning jest.fn(). - */ - mockRestore(): void, - /** - * Accepts a function that should be used as the implementation of the mock. - * The mock itself will still record all calls that go into and instances - * that come from itself -- the only difference is that the implementation - * will also be executed when the mock is called. - */ - mockImplementation( - fn: (...args: TArguments) => TReturn - ): JestMockFn, - /** - * Accepts a function that will be used as an implementation of the mock for - * one call to the mocked function. Can be chained so that multiple function - * calls produce different results. - */ - mockImplementationOnce( - fn: (...args: TArguments) => TReturn - ): JestMockFn, - /** - * Accepts a string to use in test result output in place of "jest.fn()" to - * indicate which mock function is being referenced. - */ - mockName(name: string): JestMockFn, - /** - * Just a simple sugar function for returning `this` - */ - mockReturnThis(): void, - /** - * Accepts a value that will be returned whenever the mock function is called. - */ - mockReturnValue(value: TReturn): JestMockFn, - /** - * Sugar for only returning a value once inside your mock - */ - mockReturnValueOnce(value: TReturn): JestMockFn, - /** - * Sugar for jest.fn().mockImplementation(() => Promise.resolve(value)) - */ - mockResolvedValue(value: TReturn): JestMockFn>, - /** - * Sugar for jest.fn().mockImplementationOnce(() => Promise.resolve(value)) - */ - mockResolvedValueOnce( - value: TReturn - ): JestMockFn>, - /** - * Sugar for jest.fn().mockImplementation(() => Promise.reject(value)) - */ - mockRejectedValue(value: TReturn): JestMockFn>, - /** - * Sugar for jest.fn().mockImplementationOnce(() => Promise.reject(value)) - */ - mockRejectedValueOnce(value: TReturn): JestMockFn>, - ... -}; - -type JestAsymmetricEqualityType = { - /** - * A custom Jasmine equality tester - */ - asymmetricMatch(value: mixed): boolean, - ... -}; - -type JestCallsType = { - allArgs(): mixed, - all(): mixed, - any(): boolean, - count(): number, - first(): mixed, - mostRecent(): mixed, - reset(): void, - ... -}; - -type JestClockType = { - install(): void, - mockDate(date: Date): void, - tick(milliseconds?: number): void, - uninstall(): void, - ... -}; - -type JestMatcherResult = { - message?: string | (() => string), - pass: boolean, - ... -}; - -type JestMatcher = ( - received: any, - ...actual: Array -) => JestMatcherResult | Promise; - -type JestPromiseType = { - /** - * Use rejects to unwrap the reason of a rejected promise so any other - * matcher can be chained. If the promise is fulfilled the assertion fails. - */ - rejects: JestExpectType, - /** - * Use resolves to unwrap the value of a fulfilled promise so any other - * matcher can be chained. If the promise is rejected the assertion fails. - */ - resolves: JestExpectType, - ... -}; - -/** - * Jest allows functions and classes to be used as test names in test() and - * describe() - */ -type JestTestName = string | Function; - -type FakeableAPI = - | 'Date' - | 'hrtime' - | 'nextTick' - | 'performance' - | 'queueMicrotask' - | 'requestAnimationFrame' - | 'cancelAnimationFrame' - | 'requestIdleCallback' - | 'cancelIdleCallback' - | 'setImmediate' - | 'clearImmediate' - | 'setInterval' - | 'clearInterval' - | 'setTimeout' - | 'clearTimeout'; - -type FakeTimersConfig = { - advanceTimers?: boolean | number, - doNotFake?: Array, - now?: number | Date, - timerLimit?: number, - legacyFakeTimers?: boolean, - ... -}; - -/** - * Plugin: jest-styled-components - */ - -type JestStyledComponentsMatcherValue = - | string - | JestAsymmetricEqualityType - | RegExp - | typeof undefined; - -type JestStyledComponentsMatcherOptions = { - media?: string, - modifier?: string, - supports?: string, - ... -}; - -type JestStyledComponentsMatchersType = { - toHaveStyleRule( - property: string, - value: JestStyledComponentsMatcherValue, - options?: JestStyledComponentsMatcherOptions - ): void, - ... -}; - -/** - * Plugin: jest-enzyme - */ -type EnzymeMatchersType = { - // 5.x - toBeEmpty(): void, - toBePresent(): void, - // 6.x - toBeChecked(): void, - toBeDisabled(): void, - toBeEmptyRender(): void, - toContainMatchingElement(selector: string): void, - toContainMatchingElements(n: number, selector: string): void, - toContainExactlyOneMatchingElement(selector: string): void, - toContainReact(element: React$Element): void, - toExist(): void, - toHaveClassName(className: string): void, - toHaveHTML(html: string): void, - toHaveProp: ((propKey: string, propValue?: any) => void) & - ((props: { ... }) => void), - toHaveRef(refName: string): void, - toHaveState: ((stateKey: string, stateValue?: any) => void) & - ((state: { ... }) => void), - toHaveStyle: ((styleKey: string, styleValue?: any) => void) & - ((style: { ... }) => void), - toHaveTagName(tagName: string): void, - toHaveText(text: string): void, - toHaveValue(value: any): void, - toIncludeText(text: string): void, - toMatchElement( - element: React$Element, - options?: {| ignoreProps?: boolean, verbose?: boolean |} - ): void, - toMatchSelector(selector: string): void, - // 7.x - toHaveDisplayName(name: string): void, - ... -}; - -// DOM testing library extensions (jest-dom) -// https://github.com/testing-library/jest-dom -type DomTestingLibraryType = { - /** - * @deprecated - */ - toBeInTheDOM(container?: HTMLElement): void, - - // 4.x - toBeInTheDocument(): void, - toBeVisible(): void, - toBeEmpty(): void, - toBeDisabled(): void, - toBeEnabled(): void, - toBeInvalid(): void, - toBeRequired(): void, - toBeValid(): void, - toContainElement(element: HTMLElement | null): void, - toContainHTML(htmlText: string): void, - toHaveAttribute(attr: string, value?: any): void, - toHaveClass(...classNames: string[]): void, - toHaveFocus(): void, - toHaveFormValues(expectedValues: { [name: string]: any, ... }): void, - toHaveStyle(css: string | { [name: string]: any, ... }): void, - toHaveTextContent( - text: string | RegExp, - options?: {| normalizeWhitespace: boolean |} - ): void, - toHaveValue(value?: string | string[] | number): void, - - // 5.x - toHaveDisplayValue(value: string | string[]): void, - toBeChecked(): void, - toBeEmptyDOMElement(): void, - toBePartiallyChecked(): void, - toHaveDescription(text: string | RegExp): void, - ... -}; - -// Jest JQuery Matchers: https://github.com/unindented/custom-jquery-matchers -type JestJQueryMatchersType = { - toExist(): void, - toHaveLength(len: number): void, - toHaveId(id: string): void, - toHaveClass(className: string): void, - toHaveTag(tag: string): void, - toHaveAttr(key: string, val?: any): void, - toHaveProp(key: string, val?: any): void, - toHaveText(text: string | RegExp): void, - toHaveData(key: string, val?: any): void, - toHaveValue(val: any): void, - toHaveCss(css: { [key: string]: any, ... }): void, - toBeChecked(): void, - toBeDisabled(): void, - toBeEmpty(): void, - toBeHidden(): void, - toBeSelected(): void, - toBeVisible(): void, - toBeFocused(): void, - toBeInDom(): void, - toBeMatchedBy(sel: string): void, - toHaveDescendant(sel: string): void, - toHaveDescendantWithText(sel: string, text: string | RegExp): void, - ... -}; - -// Jest Extended Matchers: https://github.com/jest-community/jest-extended -type JestExtendedMatchersType = { - /** - * Note: Currently unimplemented - * Passing assertion - * - * @param {String} message - */ - // pass(message: string): void; - - /** - * Note: Currently unimplemented - * Failing assertion - * - * @param {String} message - */ - // fail(message: string): void; - - /** - * Use .toBeEmpty when checking if a String '', Array [] or Object {} is empty. - */ - toBeEmpty(): void, - /** - * Use .toBeOneOf when checking if a value is a member of a given Array. - * @param {Array.<*>} members - */ - toBeOneOf(members: any[]): void, - /** - * Use `.toBeNil` when checking a value is `null` or `undefined`. - */ - toBeNil(): void, - /** - * Use `.toSatisfy` when you want to use a custom matcher by supplying a predicate function that returns a `Boolean`. - * @param {Function} predicate - */ - toSatisfy(predicate: (n: any) => boolean): void, - /** - * Use `.toBeArray` when checking if a value is an `Array`. - */ - toBeArray(): void, - /** - * Use `.toBeArrayOfSize` when checking if a value is an `Array` of size x. - * @param {Number} x - */ - toBeArrayOfSize(x: number): void, - /** - * Use `.toIncludeAllMembers` when checking if an `Array` contains all of the same members of a given set. - * @param {Array.<*>} members - */ - toIncludeAllMembers(members: any[]): void, - /** - * Use `.toIncludeAnyMembers` when checking if an `Array` contains any of the members of a given set. - * @param {Array.<*>} members - */ - toIncludeAnyMembers(members: any[]): void, - /** - * Use `.toSatisfyAll` when you want to use a custom matcher by supplying a predicate function that returns a `Boolean` for all values in an array. - * @param {Function} predicate - */ - toSatisfyAll(predicate: (n: any) => boolean): void, - /** - * Use `.toBeBoolean` when checking if a value is a `Boolean`. - */ - toBeBoolean(): void, - /** - * Use `.toBeTrue` when checking a value is equal (===) to `true`. - */ - toBeTrue(): void, - /** - * Use `.toBeFalse` when checking a value is equal (===) to `false`. - */ - toBeFalse(): void, - /** - * Use .toBeDate when checking if a value is a Date. - */ - toBeDate(): void, - /** - * Use `.toBeFunction` when checking if a value is a `Function`. - */ - toBeFunction(): void, - /** - * Use `.toHaveBeenCalledBefore` when checking if a `Mock` was called before another `Mock`. - * - * Note: Required Jest version >22 - * Note: Your mock functions will have to be asynchronous to cause the timestamps inside of Jest to occur in a differentJS event loop, otherwise the mock timestamps will all be the same - * - * @param {Mock} mock - */ - toHaveBeenCalledBefore(mock: JestMockFn): void, - /** - * Use `.toBeNumber` when checking if a value is a `Number`. - */ - toBeNumber(): void, - /** - * Use `.toBeNaN` when checking a value is `NaN`. - */ - toBeNaN(): void, - /** - * Use `.toBeFinite` when checking if a value is a `Number`, not `NaN` or `Infinity`. - */ - toBeFinite(): void, - /** - * Use `.toBePositive` when checking if a value is a positive `Number`. - */ - toBePositive(): void, - /** - * Use `.toBeNegative` when checking if a value is a negative `Number`. - */ - toBeNegative(): void, - /** - * Use `.toBeEven` when checking if a value is an even `Number`. - */ - toBeEven(): void, - /** - * Use `.toBeOdd` when checking if a value is an odd `Number`. - */ - toBeOdd(): void, - /** - * Use `.toBeWithin` when checking if a number is in between the given bounds of: start (inclusive) and end (exclusive). - * - * @param {Number} start - * @param {Number} end - */ - toBeWithin(start: number, end: number): void, - /** - * Use `.toBeObject` when checking if a value is an `Object`. - */ - toBeObject(): void, - /** - * Use `.toContainKey` when checking if an object contains the provided key. - * - * @param {String} key - */ - toContainKey(key: string): void, - /** - * Use `.toContainKeys` when checking if an object has all of the provided keys. - * - * @param {Array.} keys - */ - toContainKeys(keys: string[]): void, - /** - * Use `.toContainAllKeys` when checking if an object only contains all of the provided keys. - * - * @param {Array.} keys - */ - toContainAllKeys(keys: string[]): void, - /** - * Use `.toContainAnyKeys` when checking if an object contains at least one of the provided keys. - * - * @param {Array.} keys - */ - toContainAnyKeys(keys: string[]): void, - /** - * Use `.toContainValue` when checking if an object contains the provided value. - * - * @param {*} value - */ - toContainValue(value: any): void, - /** - * Use `.toContainValues` when checking if an object contains all of the provided values. - * - * @param {Array.<*>} values - */ - toContainValues(values: any[]): void, - /** - * Use `.toContainAllValues` when checking if an object only contains all of the provided values. - * - * @param {Array.<*>} values - */ - toContainAllValues(values: any[]): void, - /** - * Use `.toContainAnyValues` when checking if an object contains at least one of the provided values. - * - * @param {Array.<*>} values - */ - toContainAnyValues(values: any[]): void, - /** - * Use `.toContainEntry` when checking if an object contains the provided entry. - * - * @param {Array.} entry - */ - toContainEntry(entry: [string, string]): void, - /** - * Use `.toContainEntries` when checking if an object contains all of the provided entries. - * - * @param {Array.>} entries - */ - toContainEntries(entries: [string, string][]): void, - /** - * Use `.toContainAllEntries` when checking if an object only contains all of the provided entries. - * - * @param {Array.>} entries - */ - toContainAllEntries(entries: [string, string][]): void, - /** - * Use `.toContainAnyEntries` when checking if an object contains at least one of the provided entries. - * - * @param {Array.>} entries - */ - toContainAnyEntries(entries: [string, string][]): void, - /** - * Use `.toBeExtensible` when checking if an object is extensible. - */ - toBeExtensible(): void, - /** - * Use `.toBeFrozen` when checking if an object is frozen. - */ - toBeFrozen(): void, - /** - * Use `.toBeSealed` when checking if an object is sealed. - */ - toBeSealed(): void, - /** - * Use `.toBeString` when checking if a value is a `String`. - */ - toBeString(): void, - /** - * Use `.toEqualCaseInsensitive` when checking if a string is equal (===) to another ignoring the casing of both strings. - * - * @param {String} string - */ - toEqualCaseInsensitive(string: string): void, - /** - * Use `.toStartWith` when checking if a `String` starts with a given `String` prefix. - * - * @param {String} prefix - */ - toStartWith(prefix: string): void, - /** - * Use `.toEndWith` when checking if a `String` ends with a given `String` suffix. - * - * @param {String} suffix - */ - toEndWith(suffix: string): void, - /** - * Use `.toInclude` when checking if a `String` includes the given `String` substring. - * - * @param {String} substring - */ - toInclude(substring: string): void, - /** - * Use `.toIncludeRepeated` when checking if a `String` includes the given `String` substring the correct number of times. - * - * @param {String} substring - * @param {Number} times - */ - toIncludeRepeated(substring: string, times: number): void, - /** - * Use `.toIncludeMultiple` when checking if a `String` includes all of the given substrings. - * - * @param {Array.} substring - */ - toIncludeMultiple(substring: string[]): void, - ... -}; - -// Diffing snapshot utility for Jest (snapshot-diff) -// https://github.com/jest-community/snapshot-diff -type SnapshotDiffType = { - /** - * Compare the difference between the actual in the `expect()` - * vs the object inside `valueB` with some extra options. - */ - toMatchDiffSnapshot( - valueB: any, - options?: {| - expand?: boolean, - colors?: boolean, - contextLines?: number, - stablePatchmarks?: boolean, - aAnnotation?: string, - bAnnotation?: string, - |}, - testName?: string - ): void, - ... -}; - -interface JestExpectType { - not: JestExpectType & - EnzymeMatchersType & - DomTestingLibraryType & - JestJQueryMatchersType & - JestStyledComponentsMatchersType & - JestExtendedMatchersType & - SnapshotDiffType; - /** - * If you have a mock function, you can use .lastCalledWith to test what - * arguments it was last called with. - */ - lastCalledWith(...args: Array): void; - /** - * toBe just checks that a value is what you expect. It uses === to check - * strict equality. - */ - toBe(value: any): void; - /** - * Use .toBeCalledWith to ensure that a mock function was called with - * specific arguments. - */ - toBeCalledWith(...args: Array): void; - /** - * Using exact equality with floating point numbers is a bad idea. Rounding - * means that intuitive things fail. - */ - toBeCloseTo(num: number, delta: any): void; - /** - * Use .toBeDefined to check that a variable is not undefined. - */ - toBeDefined(): void; - /** - * Use .toBeFalsy when you don't care what a value is, you just want to - * ensure a value is false in a boolean context. - */ - toBeFalsy(): void; - /** - * To compare floating point numbers, you can use toBeGreaterThan. - */ - toBeGreaterThan(number: number): void; - /** - * To compare floating point numbers, you can use toBeGreaterThanOrEqual. - */ - toBeGreaterThanOrEqual(number: number): void; - /** - * To compare floating point numbers, you can use toBeLessThan. - */ - toBeLessThan(number: number): void; - /** - * To compare floating point numbers, you can use toBeLessThanOrEqual. - */ - toBeLessThanOrEqual(number: number): void; - /** - * Use .toBeInstanceOf(Class) to check that an object is an instance of a - * class. - */ - toBeInstanceOf(cls: Class): void; - /** - * .toBeNull() is the same as .toBe(null) but the error messages are a bit - * nicer. - */ - toBeNull(): void; - /** - * Use .toBeTruthy when you don't care what a value is, you just want to - * ensure a value is true in a boolean context. - */ - toBeTruthy(): void; - /** - * Use .toBeUndefined to check that a variable is undefined. - */ - toBeUndefined(): void; - /** - * Use .toContain when you want to check that an item is in a list. For - * testing the items in the list, this uses ===, a strict equality check. - */ - toContain(item: any): void; - /** - * Use .toContainEqual when you want to check that an item is in a list. For - * testing the items in the list, this matcher recursively checks the - * equality of all fields, rather than checking for object identity. - */ - toContainEqual(item: any): void; - /** - * Use .toEqual when you want to check that two objects have the same value. - * This matcher recursively checks the equality of all fields, rather than - * checking for object identity. - */ - toEqual(value: any): void; - /** - * Use .toHaveBeenCalled to ensure that a mock function got called. - */ - toHaveBeenCalled(): void; - toBeCalled(): void; - /** - * Use .toHaveBeenCalledTimes to ensure that a mock function got called exact - * number of times. - */ - toHaveBeenCalledTimes(number: number): void; - toBeCalledTimes(number: number): void; - /** - * - */ - toHaveBeenNthCalledWith(nthCall: number, ...args: Array): void; - nthCalledWith(nthCall: number, ...args: Array): void; - /** - * - */ - toHaveReturned(): void; - toReturn(): void; - /** - * - */ - toHaveReturnedTimes(number: number): void; - toReturnTimes(number: number): void; - /** - * - */ - toHaveReturnedWith(value: any): void; - toReturnWith(value: any): void; - /** - * - */ - toHaveLastReturnedWith(value: any): void; - lastReturnedWith(value: any): void; - /** - * - */ - toHaveNthReturnedWith(nthCall: number, value: any): void; - nthReturnedWith(nthCall: number, value: any): void; - /** - * Use .toHaveBeenCalledWith to ensure that a mock function was called with - * specific arguments. - */ - toHaveBeenCalledWith(...args: Array): void; - toBeCalledWith(...args: Array): void; - /** - * Use .toHaveBeenLastCalledWith to ensure that a mock function was last called - * with specific arguments. - */ - toHaveBeenLastCalledWith(...args: Array): void; - lastCalledWith(...args: Array): void; - /** - * Check that an object has a .length property and it is set to a certain - * numeric value. - */ - toHaveLength(number: number): void; - /** - * - */ - toHaveProperty(propPath: string | $ReadOnlyArray, value?: any): void; - /** - * Use .toMatch to check that a string matches a regular expression or string. - */ - toMatch(regexpOrString: RegExp | string): void; - /** - * Use .toMatchObject to check that a javascript object matches a subset of the properties of an object. - */ - toMatchObject(object: Object | Array): void; - /** - * Use .toStrictEqual to check that a javascript object matches a subset of the properties of an object. - */ - toStrictEqual(value: any): void; - /** - * This ensures that an Object matches the most recent snapshot. - */ - toMatchSnapshot(propertyMatchers?: any, name?: string): void; - /** - * This ensures that an Object matches the most recent snapshot. - */ - toMatchSnapshot(name: string): void; - - toMatchInlineSnapshot(snapshot?: string): void; - toMatchInlineSnapshot(propertyMatchers?: any, snapshot?: string): void; - /** - * Use .toThrow to test that a function throws when it is called. - * If you want to test that a specific error gets thrown, you can provide an - * argument to toThrow. The argument can be a string for the error message, - * a class for the error, or a regex that should match the error. - * - * Alias: .toThrowError - */ - toThrow(message?: string | Error | Class | RegExp): void; - toThrowError(message?: string | Error | Class | RegExp): void; - /** - * Use .toThrowErrorMatchingSnapshot to test that a function throws a error - * matching the most recent snapshot when it is called. - */ - toThrowErrorMatchingSnapshot(): void; - toThrowErrorMatchingInlineSnapshot(snapshot?: string): void; -} - -type JestObjectType = { - /** - * Disables automatic mocking in the module loader. - * - * After this method is called, all `require()`s will return the real - * versions of each module (rather than a mocked version). - */ - disableAutomock(): JestObjectType, - /** - * An un-hoisted version of disableAutomock - */ - autoMockOff(): JestObjectType, - /** - * Enables automatic mocking in the module loader. - */ - enableAutomock(): JestObjectType, - /** - * An un-hoisted version of enableAutomock - */ - autoMockOn(): JestObjectType, - /** - * Clears the mock.calls and mock.instances properties of all mocks. - * Equivalent to calling .mockClear() on every mocked function. - */ - clearAllMocks(): JestObjectType, - /** - * Resets the state of all mocks. Equivalent to calling .mockReset() on every - * mocked function. - */ - resetAllMocks(): JestObjectType, - /** - * Restores all mocks back to their original value. - */ - restoreAllMocks(): JestObjectType, - /** - * Removes any pending timers from the timer system. - */ - clearAllTimers(): void, - /** - * Returns the number of fake timers still left to run. - */ - getTimerCount(): number, - /** - * Set the current system time used by fake timers. - * Simulates a user changing the system clock while your program is running. - * It affects the current time but it does not in itself cause - * e.g. timers to fire; they will fire exactly as they would have done - * without the call to jest.setSystemTime(). - */ - setSystemTime(now?: number | Date): void, - /** - * The same as `mock` but not moved to the top of the expectation by - * babel-jest. - */ - doMock(moduleName: string, moduleFactory?: any): JestObjectType, - /** - * The same as `unmock` but not moved to the top of the expectation by - * babel-jest. - */ - dontMock(moduleName: string): JestObjectType, - /** - * Returns a new, unused mock function. Optionally takes a mock - * implementation. - */ - fn, TReturn>( - implementation?: (...args: TArguments) => TReturn - ): JestMockFn, - /** - * Determines if the given function is a mocked function. - */ - isMockFunction(fn: Function): boolean, - /** - * Alias of `createMockFromModule`. - */ - genMockFromModule(moduleName: string): any, - /** - * Given the name of a module, use the automatic mocking system to generate a - * mocked version of the module for you. - */ - createMockFromModule(moduleName: string): any, - /** - * Mocks a module with an auto-mocked version when it is being required. - * - * The second argument can be used to specify an explicit module factory that - * is being run instead of using Jest's automocking feature. - * - * The third argument can be used to create virtual mocks -- mocks of modules - * that don't exist anywhere in the system. - */ - mock( - moduleName: string, - moduleFactory?: any, - options?: Object - ): JestObjectType, - /** - * Returns the actual module instead of a mock, bypassing all checks on - * whether the module should receive a mock implementation or not. - */ - requireActual(m: $Flow$ModuleRef | string): T, - /** - * Returns a mock module instead of the actual module, bypassing all checks - * on whether the module should be required normally or not. - */ - requireMock(moduleName: string): any, - /** - * Resets the module registry - the cache of all required modules. This is - * useful to isolate modules where local state might conflict between tests. - */ - resetModules(): JestObjectType, - /** - * Creates a sandbox registry for the modules that are loaded inside the - * callback function. This is useful to isolate specific modules for every - * test so that local module state doesn't conflict between tests. - */ - isolateModules(fn: () => void): JestObjectType, - /** - * Exhausts the micro-task queue (usually interfaced in node via - * process.nextTick). - */ - runAllTicks(): void, - /** - * Exhausts the macro-task queue (i.e., all tasks queued by setTimeout(), - * setInterval(), and setImmediate()). - */ - runAllTimers(): void, - /** - * Exhausts all tasks queued by setImmediate(). - */ - runAllImmediates(): void, - /** - * Executes only the macro task queue (i.e. all tasks queued by setTimeout() - * or setInterval() and setImmediate()). - */ - advanceTimersByTime(msToRun: number): void, - /** - * Executes only the macro-tasks that are currently pending (i.e., only the - * tasks that have been queued by setTimeout() or setInterval() up to this - * point) - */ - runOnlyPendingTimers(): void, - /** - * Explicitly supplies the mock object that the module system should return - * for the specified module. Note: It is recommended to use jest.mock() - * instead. - */ - setMock(moduleName: string, moduleExports: any): JestObjectType, - /** - * Indicates that the module system should never return a mocked version of - * the specified module from require() (e.g. that it should always return the - * real module). - */ - unmock(moduleName: string): JestObjectType, - /** - * Instructs Jest to use fake versions of the standard timer functions - * (setTimeout, setInterval, clearTimeout, clearInterval, nextTick, - * setImmediate and clearImmediate). - */ - useFakeTimers(fakeTimersConfig?: FakeTimersConfig): JestObjectType, - /** - * Instructs Jest to use the real versions of the standard timer functions. - */ - useRealTimers(): JestObjectType, - /** - * Creates a mock function similar to jest.fn but also tracks calls to - * object[methodName]. - */ - spyOn( - object: Object, - methodName: string, - accessType?: 'get' | 'set' - ): JestMockFn, - /** - * Set the default timeout interval for tests and before/after hooks in milliseconds. - * Note: The default timeout interval is 5 seconds if this method is not called. - */ - setTimeout(timeout: number): JestObjectType, - ... -}; - -type JestSpyType = { calls: JestCallsType, ... }; - -type JestDoneFn = {| - (error?: Error): void, - fail: (error: Error) => void, -|}; - -/** Runs this function after every test inside this context */ -declare function afterEach( - fn: (done: JestDoneFn) => ?Promise, - timeout?: number -): void; -/** Runs this function before every test inside this context */ -declare function beforeEach( - fn: (done: JestDoneFn) => ?Promise, - timeout?: number -): void; -/** Runs this function after all tests have finished inside this context */ -declare function afterAll( - fn: (done: JestDoneFn) => ?Promise, - timeout?: number -): void; -/** Runs this function before any tests have started inside this context */ -declare function beforeAll( - fn: (done: JestDoneFn) => ?Promise, - timeout?: number -): void; - -/** A context for grouping tests together */ -declare var describe: { - /** - * Creates a block that groups together several related tests in one "test suite" - */ - (name: JestTestName, fn: () => void): void, - /** - * Only run this describe block - */ - only(name: JestTestName, fn: () => void): void, - /** - * Skip running this describe block - */ - skip(name: JestTestName, fn: () => void): void, - /** - * each runs this test against array of argument arrays per each run - * - * @param {table} table of Test - */ - each( - ...table: Array | mixed> | [Array, string] - ): ( - name: JestTestName, - fn?: (...args: Array) => ?Promise, - timeout?: number - ) => void, - ... -}; - -/** An individual test unit */ -declare var it: { - /** - * An individual test unit - * - * @param {JestTestName} Name of Test - * @param {Function} Test - * @param {number} Timeout for the test, in milliseconds. - */ - ( - name: JestTestName, - fn?: (done: JestDoneFn) => ?Promise, - timeout?: number - ): void, - /** - * Only run this test - * - * @param {JestTestName} Name of Test - * @param {Function} Test - * @param {number} Timeout for the test, in milliseconds. - */ - only: {| - ( - name: JestTestName, - fn?: (done: JestDoneFn) => ?Promise, - timeout?: number - ): void, - each( - ...table: Array | mixed> | [Array, string] - ): ( - name: JestTestName, - fn?: (...args: Array) => ?Promise, - timeout?: number - ) => void, - |}, - /** - * Skip running this test - * - * @param {JestTestName} Name of Test - * @param {Function} Test - * @param {number} Timeout for the test, in milliseconds. - */ - skip: {| - ( - name: JestTestName, - fn?: (done: JestDoneFn) => ?Promise, - timeout?: number - ): void, - each( - ...table: Array | mixed> | [Array, string] - ): ( - name: JestTestName, - fn?: (...args: Array) => ?Promise, - timeout?: number - ) => void, - |}, - /** - * Highlight planned tests in the summary output - * - * @param {String} Name of Test to do - */ - todo(name: string): void, - /** - * Run the test concurrently - * - * @param {JestTestName} Name of Test - * @param {Function} Test - * @param {number} Timeout for the test, in milliseconds. - */ - concurrent( - name: JestTestName, - fn?: (done: JestDoneFn) => ?Promise, - timeout?: number - ): void, - /** - * each runs this test against array of argument arrays per each run - * - * @param {table} table of Test - */ - each( - ...table: Array | mixed> | [Array, string] - ): ( - name: JestTestName, - fn?: (...args: Array) => ?Promise, - timeout?: number - ) => void, - ... -}; - -declare function fit( - name: JestTestName, - fn: (done: JestDoneFn) => ?Promise, - timeout?: number -): void; -/** An individual test unit */ -declare var test: typeof it; -/** A disabled group of tests */ -declare var xdescribe: typeof describe; -/** A focused group of tests */ -declare var fdescribe: typeof describe; -/** A disabled individual test */ -declare var xit: typeof it; -/** A disabled individual test */ -declare var xtest: typeof it; - -type JestPrettyFormatColors = { - comment: { - close: string, - open: string, - ... - }, - content: { - close: string, - open: string, - ... - }, - prop: { - close: string, - open: string, - ... - }, - tag: { - close: string, - open: string, - ... - }, - value: { - close: string, - open: string, - ... - }, - ... -}; - -type JestPrettyFormatIndent = (string) => string; -type JestPrettyFormatRefs = Array; -type JestPrettyFormatPrint = (any) => string; -type JestPrettyFormatStringOrNull = string | null; - -type JestPrettyFormatOptions = {| - callToJSON: boolean, - edgeSpacing: string, - escapeRegex: boolean, - highlight: boolean, - indent: number, - maxDepth: number, - min: boolean, - plugins: JestPrettyFormatPlugins, - printFunctionName: boolean, - spacing: string, - theme: {| - comment: string, - content: string, - prop: string, - tag: string, - value: string, - |}, -|}; - -type JestPrettyFormatPlugin = { - print: ( - val: any, - serialize: JestPrettyFormatPrint, - indent: JestPrettyFormatIndent, - opts: JestPrettyFormatOptions, - colors: JestPrettyFormatColors - ) => string, - test: (any) => boolean, - ... -}; - -type JestPrettyFormatPlugins = Array; - -/** The expect function is used every time you want to test a value */ -declare var expect: { - /** The object that you want to make assertions against */ - ( - value: any - ): JestExpectType & - JestPromiseType & - EnzymeMatchersType & - DomTestingLibraryType & - JestJQueryMatchersType & - JestStyledComponentsMatchersType & - JestExtendedMatchersType & - SnapshotDiffType, - /** Add additional Jasmine matchers to Jest's roster */ - extend(matchers: { [name: string]: JestMatcher, ... }): void, - /** Add a module that formats application-specific data structures. */ - addSnapshotSerializer(pluginModule: JestPrettyFormatPlugin): void, - assertions(expectedAssertions: number): void, - hasAssertions(): void, - any(value: mixed): JestAsymmetricEqualityType, - anything(): any, - arrayContaining(value: $ReadOnlyArray): Array, - objectContaining(value: { ... }): Object, - /** Matches any received string that contains the exact expected string. */ - stringContaining(value: string): string, - stringMatching(value: string | RegExp): string, - not: { - arrayContaining: (value: $ReadOnlyArray) => Array, - objectContaining: (value: { ... }) => Object, - stringContaining: (value: string) => string, - stringMatching: (value: string | RegExp) => string, - ... - }, - ... -}; - -// TODO handle return type -// http://jasmine.github.io/2.4/introduction.html#section-Spies -declare function spyOn(value: mixed, method: string): Object; - -/** Holds all functions related to manipulating test runner */ -declare var jest: JestObjectType; - -/** - * The global Jasmine object, this is generally not exposed as the public API, - * using features inside here could break in later versions of Jest. - */ -declare var jasmine: { - DEFAULT_TIMEOUT_INTERVAL: number, - any(value: mixed): JestAsymmetricEqualityType, - anything(): any, - arrayContaining(value: Array): Array, - clock(): JestClockType, - createSpy(name: string): JestSpyType, - createSpyObj( - baseName: string, - methodNames: Array - ): { [methodName: string]: JestSpyType, ... }, - objectContaining(value: Object): Object, - stringMatching(value: string): string, - ... -}; diff --git a/web/flow-typed/npm/lodash_v4.x.x.js b/web/flow-typed/npm/lodash_v4.x.x.js deleted file mode 100644 --- a/web/flow-typed/npm/lodash_v4.x.x.js +++ /dev/null @@ -1,6367 +0,0 @@ -// flow-typed signature: 23d2a3641578673e8eb7c9f8b6bcc3af -// flow-typed version: 6912183195/lodash_v4.x.x/flow_>=v0.201.x - -declare function compose(): (a: T) => T; -declare function compose) => mixed>( - f: F, -): F; -declare function compose, R>( - f1: (a: A) => R, - f2: (...T) => A, -): (...T) => R; -declare function compose, R>( - f1: (b: B) => R, - f2: (a: A) => B, - f3: (...T) => A, -): (...T) => R; -declare function compose, R>( - f1: (c: C) => R, - f2: (b: B) => C, - f3: (a: A) => B, - f4: (...T) => A, -): (...T) => R; -declare function compose( - f1: (b: any) => R, - ...funcs: $ReadOnlyArray<(...$ReadOnlyArray) => mixed> -): (...$ReadOnlyArray) => R; -declare function compose( - ...funcs: $ReadOnlyArray<(...$ReadOnlyArray) => mixed> -): (...$ReadOnlyArray) => R; - -declare function composeReverse(): (a: T) => T; -declare function composeReverse) => mixed>(f: F): F; -declare function composeReverse, R>( - f1: (...T) => A, - f2: (a: A) => R, -): (...T) => R; -declare function composeReverse, R>( - f1: (...T) => A, - f2: (a: A) => B, - f3: (b: B) => R, -): (...T) => R; -declare function composeReverse, R>( - f1: (...T) => A, - f2: (a: A) => B, - f3: (b: B) => C, - f4: (c: C) => R, -): (...T) => R; -declare function composeReverse( - ...funcs: $ReadOnlyArray<(...$ReadOnlyArray) => mixed> -): (...$ReadOnlyArray) => R; - -declare module "lodash" { - declare type Path = $ReadOnlyArray | string | number; - declare type __CurriedFunction1 = (...r: [AA]) => R; - declare type CurriedFunction1 = __CurriedFunction1; - - declare type __CurriedFunction2 = (( - ...r: [AA] - ) => CurriedFunction1) & - ((...r: [AA, BB]) => R); - declare type CurriedFunction2 = __CurriedFunction2; - - declare type __CurriedFunction3 = (( - ...r: [AA] - ) => CurriedFunction2) & - ((...r: [AA, BB]) => CurriedFunction1) & - ((...r: [AA, BB, CC]) => R); - declare type CurriedFunction3 = __CurriedFunction3; - - declare type __CurriedFunction4< - A, - B, - C, - D, - R, - AA: A, - BB: B, - CC: C, - DD: D - > = ((...r: [AA]) => CurriedFunction3) & - ((...r: [AA, BB]) => CurriedFunction2) & - ((...r: [AA, BB, CC]) => CurriedFunction1) & - ((...r: [AA, BB, CC, DD]) => R); - declare type CurriedFunction4 = __CurriedFunction4; - - declare type __CurriedFunction5< - A, - B, - C, - D, - E, - R, - AA: A, - BB: B, - CC: C, - DD: D, - EE: E - > = ((...r: [AA]) => CurriedFunction4) & - ((...r: [AA, BB]) => CurriedFunction3) & - ((...r: [AA, BB, CC]) => CurriedFunction2) & - ((...r: [AA, BB, CC, DD]) => CurriedFunction1) & - ((...r: [AA, BB, CC, DD, EE]) => R); - declare type CurriedFunction5 = __CurriedFunction5; - - declare type __CurriedFunction6< - A, - B, - C, - D, - E, - F, - R, - AA: A, - BB: B, - CC: C, - DD: D, - EE: E, - FF: F - > = ((...r: [AA]) => CurriedFunction5) & - ((...r: [AA, BB]) => CurriedFunction4) & - ((...r: [AA, BB, CC]) => CurriedFunction3) & - ((...r: [AA, BB, CC, DD]) => CurriedFunction2) & - ((...r: [AA, BB, CC, DD, EE]) => CurriedFunction1) & - ((...r: [AA, BB, CC, DD, EE, FF]) => R); - declare type CurriedFunction6 = __CurriedFunction6; - - declare type Curry = (((...r: [A]) => R) => CurriedFunction1) & - (((...r: [A, B]) => R) => CurriedFunction2) & - (((...r: [A, B, C]) => R) => CurriedFunction3) & - (( - (...r: [A, B, C, D]) => R - ) => CurriedFunction4) & - (( - (...r: [A, B, C, D, E]) => R - ) => CurriedFunction5) & - (( - (...r: [A, B, C, D, E, F]) => R - ) => CurriedFunction6); - - declare type UnaryFn = (a: A) => R; - - declare type TemplateSettings = { - escape?: RegExp, - evaluate?: RegExp, - imports?: Object, - interpolate?: RegExp, - variable?: string, - ... - }; - - declare type TruncateOptions = { - length?: number, - omission?: string, - separator?: RegExp | string, - ... - }; - - declare type Cancelable = { - cancel: () => void, - flush: () => mixed, - ... - }; - - declare type DebounceOptions = { - leading?: boolean, - maxWait?: number, - trailing?: boolean, - ... - }; - - declare type ThrottleOptions = { - leading?: boolean, - trailing?: boolean, - ... - }; - - // using opaque type for object key is not supported by Flow atm: https://github.com/facebook/flow/issues/5407 - declare type Key = string | number; - declare type IndexerObject = { [key: K]: V, ... }; - declare type ReadOnlyIndexerObject = $ReadOnly>; - declare type NestedArray = Array>; - declare type Collection = $ReadOnlyArray | ReadOnlyIndexerObject; - - declare type matchesIterateeShorthand = { [key: string]: any, ... }; - declare type matchesPropertyIterateeShorthand = [string, any]; - declare type propertyIterateeShorthand = string; - - declare type OPredicate = - | ((value: A, key: string, object: O) => any) - | matchesIterateeShorthand - | matchesPropertyIterateeShorthand - | propertyIterateeShorthand; - - declare type IterateeWithResult = - | ((value: V, key: K, object: O) => R) - | string; - - declare type OIterateeWithResult = - | ReadOnlyIndexerObject - | IterateeWithResult; - declare type OIteratee = OIterateeWithResult; - - declare type AFlatMapIteratee = - | ((item: V, index: number, array: O) => $ReadOnlyArray | R) - | string - declare type OFlatMapIteratee = IterateeWithResult | R>; - - declare type Predicate = - | ((value: T, index: number, array: Array) => any) - | matchesIterateeShorthand - | matchesPropertyIterateeShorthand - | propertyIterateeShorthand; - - declare type _ValueOnlyIteratee = (value: T) => mixed; - declare type ValueOnlyIteratee = _ValueOnlyIteratee | string; - declare type _Iteratee = ( - item: T, - index: number, - array: ?Array - ) => mixed; - declare type Iteratee = _Iteratee | Object | string; - declare type Comparator = (item: T, item2: T) => boolean; - - declare type ReadOnlyMapIterator = - | ((item: T, index: number, array: $ReadOnlyArray) => U) - | propertyIterateeShorthand; - - declare type OMapIterator = - | ((item: T, key: string, object: O) => U) - | propertyIterateeShorthand; - - declare type Lodash = {| - // Array - chunk(array?: ?$ReadOnlyArray, size?: ?number): Array>; - compact(array?: ?$ReadOnlyArray): Array; - concat( - base?: ?$ReadOnlyArray, - ...elements: $ReadOnlyArray - ): Array; - difference( - array?: ?$ReadOnlyArray, - ...values: $ReadOnlyArray> - ): Array; - differenceBy( - array?: ?$ReadOnlyArray, - values?: ?$ReadOnlyArray, - iteratee?: ?ValueOnlyIteratee - ): Array; - differenceWith( - array?: ?$ReadOnlyArray, - values?: ?$ReadOnlyArray, - comparator?: ?(item: T, item2: U) => boolean - ): Array; - drop(array?: ?$ReadOnlyArray, n?: ?number): Array; - dropRight(array?: ?$ReadOnlyArray, n?: ?number): Array; - dropRightWhile(array?: ?$ReadOnlyArray, predicate?: ?Predicate): Array; - dropWhile(array?: ?$ReadOnlyArray, predicate?: ?Predicate): Array; - fill( - array?: ?Array, - value?: ?U, - start?: ?number, - end?: ?number - ): Array; - findIndex: - & (( - array: $ReadOnlyArray, - predicate?: ?Predicate, - fromIndex?: ?number - ) => number) - & (( - array: void | null, - predicate?: ?Predicate, - fromIndex?: ?number - ) => -1); - findLastIndex: - & (( - array: $ReadOnlyArray, - predicate?: ?Predicate, - fromIndex?: ?number - ) => number) - & (( - array: void | null, - predicate?: ?Predicate, - fromIndex?: ?number - ) => -1); - // alias of _.head - first(array: ?$ReadOnlyArray): T; - flatten(array?: ?$ReadOnlyArray<$ReadOnlyArray | X>): Array; - flattenDeep(array?: ?$ReadOnlyArray): Array; - flattenDepth(array?: ?$ReadOnlyArray, depth?: ?number): Array; - fromPairs(pairs?: ?$ReadOnlyArray<[A, B]>): {| [key: A]: B |}; - head(array: ?$ReadOnlyArray): T; - indexOf: - & ((array: $ReadOnlyArray, value: T, fromIndex?: number) => number) - & ((array: void | null, value?: ?T, fromIndex?: ?number) => -1); - initial(array: ?$ReadOnlyArray): Array; - intersection(...arrays?: Array<$ReadOnlyArray>): Array; - //Workaround until (...parameter: T, parameter2: U) works - intersectionBy: - & (( - a1?: ?$ReadOnlyArray, - iteratee?: ?ValueOnlyIteratee - ) => Array) - & (( - a1?: ?$ReadOnlyArray, - a2?: ?$ReadOnlyArray, - iteratee?: ?ValueOnlyIteratee - ) => Array) - & (( - a1?: ?$ReadOnlyArray, - a2?: ?$ReadOnlyArray, - a3?: ?$ReadOnlyArray, - iteratee?: ?ValueOnlyIteratee - ) => Array) - & (( - a1?: ?$ReadOnlyArray, - a2?: ?$ReadOnlyArray, - a3?: ?$ReadOnlyArray, - a4?: ?$ReadOnlyArray, - iteratee?: ?ValueOnlyIteratee - ) => Array); - //Workaround until (...parameter: T, parameter2: U) works - intersectionWith: - & (( - a1?: ?$ReadOnlyArray, - comparator?: ?Comparator - ) => Array) - & (( - a1?: ?$ReadOnlyArray, - a2?: ?$ReadOnlyArray, - comparator?: ?Comparator - ) => Array) - & (( - a1?: ?$ReadOnlyArray, - a2?: ?$ReadOnlyArray, - a3?: ?$ReadOnlyArray, - comparator?: ?Comparator - ) => Array) - & (( - a1?: ?$ReadOnlyArray, - a2?: ?$ReadOnlyArray, - a3?: ?$ReadOnlyArray, - a4?: ?$ReadOnlyArray, - comparator?: ?Comparator - ) => Array); - join: - & ((array: $ReadOnlyArray, separator?: ?string) => string) - & ((array: void | null, separator?: ?string) => ""); - last(array: ?$ReadOnlyArray): T; - lastIndexOf: - & ((array: $ReadOnlyArray, value?: ?T, fromIndex?: ?number) => number) - & ((array: void | null, value?: ?T, fromIndex?: ?number) => -1); - nth: - & ((array: $ReadOnlyArray, n?: ?number) => T) - & ((array: void | null, n?: ?number) => void); - pull: - & ((array: Array, ...values?: $ReadOnlyArray) => Array) - & ((array: T, ...values?: $ReadOnlyArray) => T); - pullAll: - & ((array: Array, values?: ?$ReadOnlyArray) => Array) - & ((array: T, values?: ?$ReadOnlyArray) => T); - pullAllBy: - & (( - array: Array, - values?: ?$ReadOnlyArray, - iteratee?: ?ValueOnlyIteratee - ) => Array) - & (( - array: T, - values?: ?$ReadOnlyArray, - iteratee?: ?ValueOnlyIteratee - ) => T); - pullAllWith: - & (( - array: T, - values?: ?$ReadOnlyArray, - comparator?: ?Function - ) => T) - & ((array: Array, values?: ?($ReadOnlyArray), comparator?: ?Function) => Array); - pullAt: - & ((array?: ?Array, ...indexed?: $ReadOnlyArray) => Array) - & ((array?: ?Array, indexed?: ?$ReadOnlyArray) => Array); - remove(array?: ?Array, predicate?: ?Predicate): Array; - reverse: - & ((array: Array) => Array) - & ((array: T) => T); - slice( - array?: ?$ReadOnlyArray, - start?: ?number, - end?: ?number - ): Array; - sortedIndex: - & ((array: $ReadOnlyArray, value: T) => number) - & ((array: void | null, value: ?T) => 0); - sortedIndexBy: - & (( - array: $ReadOnlyArray, - value?: ?T, - iteratee?: ?ValueOnlyIteratee - ) => number) - & (( - array: void | null, - value?: ?T, - iteratee?: ?ValueOnlyIteratee - ) => 0); - sortedIndexOf: - & ((array: $ReadOnlyArray, value: T) => number) - & ((array: void | null, value?: ?T) => -1); - sortedLastIndex: - & ((array: $ReadOnlyArray, value: T) => number) - & ((array: void | null, value?: ?T) => 0); - sortedLastIndexBy: - & (( - array: $ReadOnlyArray, - value: T, - iteratee?: ValueOnlyIteratee - ) => number) - & (( - array: void | null, - value?: ?T, - iteratee?: ?ValueOnlyIteratee - ) => 0); - sortedLastIndexOf: - & ((array: $ReadOnlyArray, value: T) => number) - & ((array: void | null, value?: ?T) => -1); - sortedUniq(array?: ?$ReadOnlyArray): Array; - sortedUniqBy( - array?: ?$ReadOnlyArray, - iteratee?: ?ValueOnlyIteratee - ): Array; - tail(array?: ?$ReadOnlyArray): Array; - take(array?: ?$ReadOnlyArray, n?: ?number): Array; - takeRight(array?: ?$ReadOnlyArray, n?: ?number): Array; - takeRightWhile(array?: ?$ReadOnlyArray, predicate?: ?Predicate): Array; - takeWhile(array?: ?$ReadOnlyArray, predicate?: ?Predicate): Array; - union: (...arrays?: Array<$ReadOnlyArray>) => Array; - //Workaround until (...parameter: T, parameter2: U) works - unionBy: - & (( - a1?: ?$ReadOnlyArray, - iteratee?: ?ValueOnlyIteratee - ) => Array) - & (( - a1?: ?$ReadOnlyArray, - a2: $ReadOnlyArray, - iteratee?: ValueOnlyIteratee - ) => Array) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - a3: $ReadOnlyArray, - iteratee?: ValueOnlyIteratee - ) => Array) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - a3: $ReadOnlyArray, - a4: $ReadOnlyArray, - iteratee?: ValueOnlyIteratee - ) => Array); - //Workaround until (...parameter: T, parameter2: U) works - unionWith: - & ((a1?: ?$ReadOnlyArray, comparator?: ?Comparator) => Array) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - comparator?: Comparator - ) => Array) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - a3: $ReadOnlyArray, - comparator?: Comparator - ) => Array) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - a3: $ReadOnlyArray, - a4: $ReadOnlyArray, - comparator?: Comparator - ) => Array); - uniq(array?: ?$ReadOnlyArray): Array; - uniqBy(array?: ?$ReadOnlyArray, iteratee?: ?ValueOnlyIteratee): Array; - uniqWith(array?: ?$ReadOnlyArray, comparator?: ?Comparator): Array; - unzip(array?: ?$ReadOnlyArray): Array; - unzipWith(array: ?$ReadOnlyArray, iteratee?: ?Iteratee): Array; - without(array?: ?$ReadOnlyArray, ...values?: Array): Array; - xor(...array: $ReadOnlyArray<$ReadOnlyArray>): Array; - //Workaround until (...parameter: T, parameter2: U) works - xorBy: - & ((a1?: ?$ReadOnlyArray, iteratee?: ?ValueOnlyIteratee) => Array) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - iteratee?: ValueOnlyIteratee - ) => Array) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - a3: $ReadOnlyArray, - iteratee?: ValueOnlyIteratee - ) => Array) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - a3: $ReadOnlyArray, - a4: $ReadOnlyArray, - iteratee?: ValueOnlyIteratee - ) => Array); - //Workaround until (...parameter: T, parameter2: U) works - xorWith: - & ((a1?: ?$ReadOnlyArray, comparator?: ?Comparator) => Array) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - comparator?: Comparator - ) => Array) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - a3: $ReadOnlyArray, - comparator?: Comparator - ) => Array) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - a3: $ReadOnlyArray, - a4: $ReadOnlyArray, - comparator?: Comparator - ) => Array); - zip: - & ((a1?: ?($ReadOnlyArray), a2?: ?($ReadOnlyArray)) => Array<[A, B]>) - & ((a1: $ReadOnlyArray, a2: $ReadOnlyArray, a3: $ReadOnlyArray) => Array<[A, B, C]>) - & ((a1: $ReadOnlyArray, a2: $ReadOnlyArray, a3: $ReadOnlyArray, a4: $ReadOnlyArray) => Array<[A, B, C, D]>) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - a3: $ReadOnlyArray, - a4: $ReadOnlyArray, - a5: $ReadOnlyArray - ) => Array<[A, B, C, D, E]>); - - zipObject: - & ((props: $ReadOnlyArray, values?: ?$ReadOnlyArray) => { [key: K]: V, ... }) - & ((props: void | null, values?: ?$ReadOnlyArray) => {...}); - zipObjectDeep: - & ((props: $ReadOnlyArray, values?: ?any) => Object) - & ((props: void | null, values?: ?any) => {...}); - - zipWith: - & ((a1?: ?$ReadOnlyArray) => Array<[A]>) - & ((a1: $ReadOnlyArray, iteratee: (A) => T) => Array) - & ((a1: $ReadOnlyArray, a2: $ReadOnlyArray) => Array<[A, B]>) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - iteratee: (A, B) => T - ) => Array) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - a3: $ReadOnlyArray - ) => Array<[A, B, C]>) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - a3: $ReadOnlyArray, - iteratee: (A, B, C) => T - ) => Array) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - a3: $ReadOnlyArray, - a4: $ReadOnlyArray - ) => Array<[A, B, C, D]>) - & (( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - a3: $ReadOnlyArray, - a4: $ReadOnlyArray, - iteratee: (A, B, C, D) => T - ) => Array); - - // Collection - countBy: - & ((array: $ReadOnlyArray, iteratee?: ?ValueOnlyIteratee) => { [key: string]: number, ... }) - & ((array: void | null, iteratee?: ?ValueOnlyIteratee) => { [key: string]: number, ... }) - & ((string: string, iteratee?: ?ValueOnlyIteratee) => { [key: string]: number, ... }) - & ((object: ReadOnlyIndexerObject, iteratee?: ?ValueOnlyIteratee) => { [key: string]: number, ... }); - // alias of _.forEach - each | $ReadOnlyArray | string | void | null>(collection: T, iteratee?: ?IterateeWithResult): T; - // alias of _.forEachRight - eachRight | $ReadOnlyArray | string | void | null>(collection: T, iteratee?: ?IterateeWithResult): T; - every: - & ((array?: ?$ReadOnlyArray, iteratee?: ?Iteratee) => boolean) - & ((str: string, iteratee?: ?Iteratee) => boolean) - & (>(object: T, iteratee?: OIterateeWithResult) => boolean); - filter: - & ((array?: ?$ReadOnlyArray, predicate?: ?Predicate) => Array) - & (>( - object: T, - predicate?: OPredicate - ) => Array); - find: - & (( - array: $ReadOnlyArray, - predicate?: ?Predicate, - fromIndex?: ?number - ) => T | void) - & (( - array: void | null, - predicate?: ?Predicate, - fromIndex?: ?number - ) => void) - & (>( - object: T, - predicate?: ?OPredicate, - fromIndex?: ?number - ) => R); - findLast: - & (( - array: $ReadOnlyArray, - predicate?: ?Predicate, - fromIndex?: ?number - ) => T | void) - & (( - array: void | null, - predicate?: ?Predicate, - fromIndex?: ?number - ) => void) - & (>( - object: T, - predicate?: ?OPredicate, - fromIndex?: ?number - ) => R); - flatMap: - & ( = Array>( - array: T, - iteratee?: ?AFlatMapIteratee - ) => Array) - & ( | string = IndexerObject>( - object: T, - iteratee?: ?OFlatMapIteratee - ) => Array); - flatMapDeep: - & ( = Array>( - array: T, - iteratee?: ?AFlatMapIteratee - ) => Array) - & ( | string = IndexerObject>( - object: T, - iteratee?: ?OFlatMapIteratee - ) => Array); - flatMapDepth: - & ( = Array>( - array: T, - iteratee?: ?AFlatMapIteratee, - depth?: ?number - ) => Array) - & ( | string = IndexerObject>( - object: T, - iteratee?: ?OFlatMapIteratee, - depth?: ?number - ) => Array); - forEach | $ReadOnlyArray | string | void | null>(collection: T, iteratee?: ?IterateeWithResult): T; - forEachRight | $ReadOnlyArray | string | void | null>(collection: T, iteratee?: ?IterateeWithResult): T; - groupBy: - & (( - array: $ReadOnlyArray, - iteratee?: ?ValueOnlyIteratee - ) => { [key: V]: Array, ... }) - & ((array: void | null, iteratee?: ?ValueOnlyIteratee) => {...}) - & (>( - object: T, - iteratee?: ValueOnlyIteratee - ) => { [key: V]: Array, ... }); - includes: - & (( - array: $ReadOnlyArray, - value: T, - fromIndex?: ?number - ) => boolean) - & ((array: void | null, value?: ?T, fromIndex?: ?number) => false) - & ((object: ReadOnlyIndexerObject, value: A, fromIndex?: number) => boolean) - & ((str: string, value: string, fromIndex?: number) => boolean); - invokeMap: - & (( - array?: ?$ReadOnlyArray, - path?: ?((value: T) => Path) | Path, - ...args?: $ReadOnlyArray - ) => Array) - & (( - object: ReadOnlyIndexerObject, - path: ((value: any) => Path) | Path, - ...args?: $ReadOnlyArray - ) => Array); - keyBy: - & (( - array: $ReadOnlyArray, - iteratee?: ?ValueOnlyIteratee - ) => { [key: V]: T, ... }) - & ((array: void | null, iteratee?: ?ValueOnlyIteratee) => {...}) - & (>( - object: T, - iteratee?: ?ValueOnlyIteratee - ) => { [key: V]: A, ... }); - map: - & (( - array?: ?$ReadOnlyArray, - iteratee?: ?ReadOnlyMapIterator - ) => Array) - & (, U>( - object: ?T, - iteratee?: OMapIterator - ) => Array) - & (( - str: ?string, - iteratee?: (char: string, index: number, str: string) => any - ) => string); - orderBy: - & (( - array: $ReadOnlyArray, - iteratees?: ?$ReadOnlyArray> | ?string, - orders?: ?$ReadOnlyArray<"asc" | "desc"> | ?string - ) => Array) - & (( - array: null | void, - iteratees?: ?$ReadOnlyArray> | ?string, - orders?: ?$ReadOnlyArray<"asc" | "desc"> | ?string - ) => Array) - & (>( - object: T, - iteratees?: $ReadOnlyArray> | string, - orders?: $ReadOnlyArray<"asc" | "desc"> | string - ) => Array); - partition: - & (( - array?: ?$ReadOnlyArray, - predicate?: ?Predicate - ) => [Array, Array]) - & (>( - object: T, - predicate?: OPredicate - ) => [Array, Array]); - reduce: - & (( - array: $ReadOnlyArray, - iteratee?: ( - accumulator: U, - value: T, - index: number, - array: ?Array - ) => U, - accumulator?: U - ) => U) - & (( - array: void | null, - iteratee?: ?( - accumulator: U, - value: T, - index: any, - array: ?Array - ) => U, - accumulator?: U - ) => U) - & (, U>( - object: T, - iteratee?: (accumulator: U, value: any, key: string, object: T) => U, - accumulator?: U - ) => U); - reduceRight: - & (( - array: void | null, - iteratee?: ?( - accumulator: U, - value: T, - index: any, - array: ?Array - ) => U, - accumulator?: U - ) => U) - & (( - array: $ReadOnlyArray, - iteratee?: ?( - accumulator: U, - value: T, - index: number, - array: ?Array - ) => U, - accumulator?: ?U - ) => U) - & (, U>( - object: T, - iteratee?: ?(accumulator: U, value: any, key: string, object: T) => U, - accumulator?: ?U - ) => U); - reject: - & ((array?: ?$ReadOnlyArray, predicate?: ?Predicate) => Array) - & (>( - object?: ?T, - predicate?: ?OPredicate - ) => Array); - sample(collection: ?Collection): T; - sampleSize(collection?: ?Collection, n?: ?number): Array; - shuffle(array?: ?Collection): Array; - size(collection?: ?Collection | string): number; - some: - & ((array: void | null, predicate?: ?Predicate) => false) - & ((array: ?$ReadOnlyArray, predicate?: Predicate) => boolean) - & (>( - object?: ?T, - predicate?: OPredicate - ) => boolean); - sortBy: - & (( - array: ?$ReadOnlyArray, - ...iteratees?: $ReadOnlyArray> - ) => Array) - & (( - array: ?$ReadOnlyArray, - iteratees?: $ReadOnlyArray> - ) => Array) - & (>( - object: T, - ...iteratees?: $ReadOnlyArray> - ) => Array) - & (>( - object: T, - iteratees?: $ReadOnlyArray> - ) => Array); - - // Date - now(): number; - - // Function - after(n: number, fn: Function): Function; - ary(func: Function, n?: number): Function; - before(n: number, fn: Function): Function; - bind) => any>(func: F, thisArg: any, ...partials: $ReadOnlyArray): F; - bindKey(obj?: ?Object, key?: ?string, ...partials?: $ReadOnlyArray): Function; - curry: - & Curry - & ((func: Function, arity?: number) => Function); - curryRight(func: Function, arity?: number): Function; - debounce) => any>( - func: F, - wait?: number, - options?: DebounceOptions - ): F & Cancelable; - defer(func: (...$ReadOnlyArray) => any, ...args?: $ReadOnlyArray): TimeoutID; - delay(func: Function, wait: number, ...args?: $ReadOnlyArray): TimeoutID; - flip(func: (...$ReadOnlyArray) => R): (...Array) => R; - memoize(func: (...A) => R, resolver?: (...A) => any): (...A) => R; - negate(predicate: (...A) => R): (...A) => boolean; - once) => any>(func: F): F; - overArgs: - & ((func?: ?Function, ...transforms?: $ReadOnlyArray) => Function) - & ((func?: ?Function, transforms?: ?$ReadOnlyArray) => Function); - partial(func: (...$ReadOnlyArray) => R, ...partials: $ReadOnlyArray): (...Array) => R; - partialRight: - & ((func: (...$ReadOnlyArray) => R, ...partials: $ReadOnlyArray) => ((...Array) => R)) - & ((func: (...$ReadOnlyArray) => R, partials: $ReadOnlyArray) => ((...Array) => R)); - rearg: - & ((func: Function, ...indexes: $ReadOnlyArray) => Function) - & ((func: Function, indexes: $ReadOnlyArray) => Function); - rest(func: Function, start?: number): Function; - spread(func: Function): Function; - throttle) => any>( - func: F, - wait?: number, - options?: ThrottleOptions - ): F & Cancelable; - unary) => any>(func: F): F; - wrap(value?: any, wrapper?: ?Function): Function; - - // Lang - castArray: - & (() => Array) - & ((value: T) => Array) - & (>(value: T) => T); - clone(value: T): T; - cloneDeep(value: T): T; - cloneDeepWith( - value: T, - customizer?: ?(value: T, key: number | string, object: T, stack: any) => U - ): U; - cloneWith( - value: T, - customizer?: ?(value: T, key: number | string, object: T, stack: any) => U - ): U; - conformsTo>( - source: T, - predicates: T & $ReadOnly<{ [key: string]: (x: any) => boolean, ... }> - ): boolean; - eq(value: any, other: any): boolean; - gt(value: any, other: any): boolean; - gte(value: any, other: any): boolean; - isArguments: - & ((value: void | null) => false) - & ((value: any) => boolean); - isArray: - & ((value: $ReadOnlyArray) => true) - & ((value: any) => false); - isArrayBuffer: - & ((value: ArrayBuffer) => true) - & ((value: any) => false); - isArrayLike: - & ((value: $ReadOnlyArray | string | { length: number, ... }) => true) - & ((value: any) => false); - isArrayLikeObject: - & ((value: { length: number, ... } | $ReadOnlyArray) => true) - & ((value: any) => false); - isBoolean: - & ((value: boolean) => true) - & ((value: any) => false); - isBuffer: - & ((value: void | null) => false) - & ((value: any) => boolean); - isDate: - & ((value: Date) => true) - & ((value: any) => false); - isElement: - & ((value: Element) => true) - & ((value: any) => false); - isEmpty: - & ((value: void | null | "" | {...} | [] | number | boolean) => true) - & ((value: any) => boolean); - isEqual(value: any, other: any): boolean; - isEqualWith( - value?: ?T, - other?: ?U, - customizer?: ?( - objValue: any, - otherValue: any, - key: number | string, - object: T, - other: U, - stack: any - ) => boolean | void - ): boolean; - isError: - & ((value: Error) => true) - & ((value: any) => false); - isFinite: - & ((value: number) => boolean) - & ((value: any) => false); - isFunction(value: any): boolean; - isInteger: - & ((value: number) => boolean) - & ((value: any) => false); - isLength: - & ((value: void | null) => false) - & ((value: any) => boolean); - isMap: - & ((value: Map) => true) - & ((value: any) => false); - isMatch(object?: ?Object, source?: ?Object): boolean; - isMatchWith( - object?: ?T, - source?: ?U, - customizer?: ?( - objValue: any, - srcValue: any, - key: number | string, - object: T, - source: U - ) => boolean | void - ): boolean; - isNaN: - & ((value: number) => boolean) - & ((value: any) => false); - isNative: - & ((value: number | string | void | null | Object) => false) - & ((value: any) => boolean); - isNil: - & ((value: void | null) => true) - & ((value: any) => false); - isNull: - & ((value: null) => true) - & ((value: any) => false); - isNumber: - & ((value: number) => true) - & ((value: any) => false); - isObject: (value: any) => boolean; - isObjectLike: - & ((value: void | null) => false) - & ((value: any) => boolean); - isPlainObject: (value: any) => boolean; - isRegExp: - & ((value: RegExp) => true) - & ((value: any) => false); - isSafeInteger: - & ((value: number) => boolean) - & ((value: any) => false); - isSet: - & ((value: Set) => true) - & ((value: any) => false); - isString: - & ((value: string) => true) - & ((value: any) => false); - isSymbol: - & ((value: Symbol) => true) - & ((value: any) => false); - isTypedArray: - & ((value: $TypedArray) => true) - & ((value: any) => false); - isUndefined: - & ((value: void) => true) - & ((value: any) => false); - isWeakMap: - & ((value: WeakMap) => true) - & ((value: any) => false); - isWeakSet: - & ((value: WeakSet) => true) - & ((value: any) => false); - lt(value: any, other: any): boolean; - lte(value: any, other: any): boolean; - toArray(value: any): Array; - toFinite: - & ((value: void | null) => 0) - & ((value: any) => number); - toInteger: - & ((value: void | null) => 0) - & ((value: any) => number); - toLength: - & ((value: void | null) => 0) - & ((value: any) => number); - toNumber: - & ((value: void | null) => 0) - & ((value: any) => number); - toPlainObject(value: any): Object; - toSafeInteger: - & ((value: void | null) => 0) - & ((value: any) => number); - toString: - & ((value: void | null) => "") - & ((value: any) => string); - - // Math - add(augend: number, addend: number): number; - ceil(number: number, precision?: number): number; - divide(dividend: number, divisor: number): number; - floor(number: number, precision?: number): number; - max(array: ?$ReadOnlyArray): T; - maxBy(array: ?$ReadOnlyArray, iteratee?: Iteratee): T; - mean(array: $ReadOnlyArray): number; - meanBy(array: $ReadOnlyArray, iteratee?: Iteratee): number; - min(array: ?$ReadOnlyArray): T; - minBy(array: ?$ReadOnlyArray, iteratee?: Iteratee): T; - multiply(multiplier: number, multiplicand: number): number; - round(number: number, precision?: number): number; - subtract(minuend: number, subtrahend: number): number; - sum(array: $ReadOnlyArray): number; - sumBy(array: $ReadOnlyArray, iteratee?: Iteratee): number; - - // number - clamp: - & ((number?: number, lower?: ?number, upper?: ?number) => number) - & ((number: ?number, lower?: ?number, upper?: ?number) => 0); - inRange(number: number, start?: number, end: number): boolean; - random(lower?: number, upper?: number, floating?: boolean): number; - - // Object - assign(object?: ?Object, ...sources?: $ReadOnlyArray): Object; - assignIn: - & (() => {...}) - & ((a: A, b: B) => A & B) - & ((a: A, b: B, c: C) => A & B & C) - & ((a: A, b: B, c: C, d: D) => A & B & C & D) - & ((a: A, b: B, c: C, d: D, e: E) => A & B & C & D & E); - assignInWith: - & (() => {...}) - & (( - object: T, - s1: A, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A - ) => any | void - ) => Object) - & (( - object: T, - s1: A, - s2: B, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B - ) => any | void - ) => Object) - & (( - object: T, - s1: A, - s2: B, - s3: C, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B | C - ) => any | void - ) => Object) - & (( - object: T, - s1: A, - s2: B, - s3: C, - s4: D, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B | C | D - ) => any | void - ) => Object); - assignWith: - & (() => {...}) - & (( - object: T, - s1: A, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A - ) => any | void - ) => Object) - & (( - object: T, - s1: A, - s2: B, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B - ) => any | void - ) => Object) - & (( - object: T, - s1: A, - s2: B, - s3: C, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B | C - ) => any | void - ) => Object) - & (( - object: T, - s1: A, - s2: B, - s3: C, - s4: D, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B | C | D - ) => any | void - ) => Object); - at: - & ((object?: ?Object, ...paths: $ReadOnlyArray) => Array) - & ((object?: ?Object, paths: $ReadOnlyArray) => Array); - create: - & ((prototype: void | null, properties: void | null) => {...}) - & ((prototype: T, properties: Object) => T) - & ((prototype: any, properties: void | null) => {...}); - defaults(object?: ?Object, ...sources?: $ReadOnlyArray): Object; - defaultsDeep(object?: ?Object, ...sources?: $ReadOnlyArray): Object; - // alias for _.toPairs - entries(object?: ?Object): Array<[string, any]>; - // alias for _.toPairsIn - entriesIn(object?: ?Object): Array<[string, any]>; - // alias for _.assignIn - extend: - & ((a?: ?A, b?: ?B) => A & B) - & ((a: A, b: B, c: C) => A & B & C) - & ((a: A, b: B, c: C, d: D) => A & B & C & D) - & ((a: A, b: B, c: C, d: D, e: E) => A & B & C & D & E); - // alias for _.assignInWith - extendWith: - & (( - object?: ?T, - s1?: ?A, - customizer?: ?( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A - ) => any | void - ) => Object) - & (( - object: T, - s1: A, - s2: B, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B - ) => any | void - ) => Object) - & (( - object: T, - s1: A, - s2: B, - s3: C, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B | C - ) => any | void - ) => Object) - & (( - object: T, - s1: A, - s2: B, - s3: C, - s4: D, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B | C | D - ) => any | void - ) => Object); - findKey: - & (>( - object: T, - predicate?: ?OPredicate - ) => string | void) - & (>( - object: void | null, - predicate?: ?OPredicate - ) => void); - findLastKey: - & (>( - object: T, - predicate?: ?OPredicate - ) => string | void) - & (>( - object: void | null, - predicate?: ?OPredicate - ) => void); - forIn: - & ((object: Object, iteratee?: ?OIteratee) => Object) - & ((object: void | null, iteratee?: ?OIteratee) => null); - forInRight: - & ((object: Object, iteratee?: ?OIteratee) => Object) - & ((object: void | null, iteratee?: ?OIteratee) => null); - forOwn: - & ((object: Object, iteratee?: ?OIteratee) => Object) - & ((object: void | null, iteratee?: ?OIteratee) => null); - forOwnRight: - & ((object: Object, iteratee?: ?OIteratee) => Object) - & ((object: void | null, iteratee?: ?OIteratee) => null); - functions(object?: ?Object): Array; - functionsIn(object?: ?Object): Array; - get( - object?: ?Object | ?$ReadOnlyArray | void | null, - path?: ?Path, - defaultValue?: any - ): any; - has: - & ((object: Object, path: Path) => boolean) - & ((object: Object, path: void | null) => false) - & ((object: void | null, path?: ?Path) => false); - hasIn: - & ((object: Object, path: Path) => boolean) - & ((object: Object, path: void | null) => false) - & ((object: void | null, path?: ?Path) => false); - invert: - & ((object: Object, multiVal?: ?boolean) => Object) - & ((object: void | null, multiVal?: ?boolean) => {...}); - invertBy: - & ((object: Object, iteratee?: ?Function) => Object) - & ((object: void | null, iteratee?: ?Function) => {...}); - invoke( - object?: ?Object, - path?: ?Path, - ...args?: $ReadOnlyArray - ): any; - keys: - & ((object?: ?ReadOnlyIndexerObject) => Array) - & ((object?: ?Object) => Array); - keysIn(object?: ?Object): Array; - mapKeys: - & ((object: Object, iteratee?: ?OIteratee) => Object) - & ((object: void | null, iteratee?: ?OIteratee) => {...}); - mapValues: - & ((object: Object, iteratee?: ?OIteratee) => Object) - & ((object: void | null, iteratee?: ?OIteratee) => {...}); - merge(object?: ?Object, ...sources?: $ReadOnlyArray): Object; - mergeWith: - & (() => {...}) - & (( - object: T, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A - ) => any | void - ) => Object) - & (( - object: T, - s1: A, - s2: B, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B - ) => any | void - ) => Object) - & (( - object: T, - s1: A, - s2: B, - s3: C, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B | C - ) => any | void - ) => Object) - & (( - object: T, - s1: A, - s2: B, - s3: C, - s4: D, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B | C | D - ) => any | void - ) => Object); - omit: - & ((object?: ?Object, ...props: $ReadOnlyArray) => Object) - & ((object?: ?Object, props: $ReadOnlyArray) => Object); - omitBy: - & (>( - object: $ReadOnly, - predicate?: ?OPredicate - ) => Object) - & ((object: void | null, predicate?: ?OPredicate) => {...}); - pick: - & ((object?: ?Object, ...props: $ReadOnlyArray) => Object) - & ((object?: ?Object, props: $ReadOnlyArray) => Object); - pickBy: - & (>( - object: $ReadOnly, - predicate?: ?OPredicate - ) => Object) - & ((object: void | null, predicate?: ?OPredicate) => {...}); - result( - object?: ?Object, - path?: ?Path, - defaultValue?: any - ): any; - set: - & ((object: Object, path?: ?Path, value: any) => Object) - & (( - object: T, - path?: ?Path, - value?: ?any - ) => T); - setWith: - & (( - object: T, - path?: ?Path, - value: any, - customizer?: (nsValue: any, key: string, nsObject: T) => any - ) => Object) - & (( - object: T, - path?: ?Path, - value?: ?any, - customizer?: ?(nsValue: any, key: string, nsObject: T) => any - ) => T); - toPairs(object?: ?Object | $ReadOnlyArray): Array<[string, any]>; - toPairsIn(object?: ?Object): Array<[string, any]>; - transform: - & (( - collection: Object | $ReadOnlyArray, - iteratee?: ?OIteratee, - accumulator?: any - ) => any) - & (( - collection: void | null, - iteratee?: ?OIteratee, - accumulator?: ?any - ) => {...}); - unset: - & ((object: void | null, path?: ?Path) => true) - & ((object: Object, path?: ?Path) => boolean); - update: - & ((object: Object, path: Path, updater: Function) => Object) - & (( - object: T, - path?: ?Path, - updater?: ?Function - ) => T); - updateWith: - & (( - object: Object, - path?: ?Path, - updater?: ?Function, - customizer?: ?Function - ) => Object) - & (( - object: T, - path?: ?Path, - updater?: ?Function, - customizer?: ?Function - ) => T); - values(object?: ?Object): Array; - valuesIn(object?: ?Object): Array; - - // Seq - // harder to read, but this is _() - (value: any): any; - chain(value: T): any; - tap(value: T, interceptor: (value: T) => any): T; - thru(value: T1, interceptor: (value: T1) => T2): T2; - // TODO: _.prototype.* - - // String - camelCase: - & ((string: string) => string) - & ((string: void | null) => ""); - capitalize: - & ((string: string) => string) - & ((string: void | null) => ""); - deburr: - & ((string: string) => string) - & ((string: void | null) => ""); - endsWith: - & ((string: string, target?: string, position?: ?number) => boolean) - & ((string: void | null, target?: ?string, position?: ?number) => false); - escape: - & ((string: string) => string) - & ((string: void | null) => ""); - escapeRegExp: - & ((string: string) => string) - & ((string: void | null) => ""); - kebabCase: - & ((string: string) => string) - & ((string: void | null) => ""); - lowerCase: - & ((string: string) => string) - & ((string: void | null) => ""); - lowerFirst: - & ((string: string) => string) - & ((string: void | null) => ""); - pad(string?: ?string, length?: ?number, chars?: ?string): string; - padEnd(string?: ?string, length?: ?number, chars?: ?string): string; - padStart(string?: ?string, length?: ?number, chars?: ?string): string; - parseInt(string: string, radix?: ?number): number; - repeat: - & ((string: string, n?: ?number) => string) - & ((string: void | null, n?: ?number) => ""); - replace: - & (( - string: string, - pattern: RegExp | string, - replacement: ((string: string) => string) | string - ) => string) - & (( - string: void | null, - pattern?: ?RegExp | ?string, - replacement: ?((string: string) => string) | ?string - ) => ""); - snakeCase: - & ((string: string) => string) - & ((string: void | null) => ""); - split( - string?: ?string, - separator?: ?RegExp | ?string, - limit?: ?number - ): Array; - startCase: - & ((string: string) => string) - & ((string: void | null) => ""); - startsWith: - & ((string: string, target?: string, position?: number) => boolean) - & (( - string: void | null, - target?: ?string, - position?: ?number - ) => false); - template(string?: ?string, options?: ?TemplateSettings): Function; - toLower: - & ((string: string) => string) - & ((string: void | null) => ""); - toUpper: - & ((string: string) => string) - & ((string: void | null) => ""); - trim: - & ((string: string, chars?: string) => string) - & ((string: void | null, chars?: ?string) => ""); - trimEnd: - & ((string: string, chars?: ?string) => string) - & ((string: void | null, chars?: ?string) => ""); - trimStart: - & ((string: string, chars?: ?string) => string) - & ((string: void | null, chars?: ?string) => ""); - truncate: - & ((string: string, options?: TruncateOptions) => string) - & ((string: void | null, options?: ?TruncateOptions) => ""); - unescape: - & ((string: string) => string) - & ((string: void | null) => ""); - upperCase: - & ((string: string) => string) - & ((string: void | null) => ""); - upperFirst: - & ((string: string) => string) - & ((string: void | null) => ""); - words(string?: ?string, pattern?: ?RegExp | ?string): Array; - - // Util - attempt(func: Function, ...args: $ReadOnlyArray): any; - bindAll: - & ((object: Object, methodNames?: ?$ReadOnlyArray) => Object) - & ((object: T, methodNames?: ?$ReadOnlyArray) => T) - & ((object: Object, ...methodNames: $ReadOnlyArray) => Object); - cond(pairs?: ?NestedArray): Function; - conforms(source?: ?Object): Function; - constant(value: T): () => T; - defaultTo: - & ((value: T1, defaultValue: T2) => T2) - & (( - value: T1, - defaultValue: T2 - ) => T1) - // NaN is a number instead of its own type, otherwise it would behave like null/void - & ((value: T1, defaultValue: T2) => T1 | T2); - flow: ((funcs: $ReadOnlyArray) => Function) & typeof composeReverse; - flowRight: ((funcs: $ReadOnlyArray) => Function) & typeof compose; - identity(value: T): T; - iteratee(func?: any): Function; - matches(source?: ?Object): Function; - matchesProperty(path?: ?Path, srcValue: any): Function; - method(path?: ?Path, ...args?: $ReadOnlyArray): Function; - methodOf(object?: ?Object, ...args?: $ReadOnlyArray): Function; - mixin( - object?: T, - source: Object, - options?: { chain: boolean, ... } - ): T; - noConflict(): Lodash; - noop(...args: $ReadOnlyArray): void; - nthArg(n?: ?number): Function; - over: - & ((...iteratees: $ReadOnlyArray) => Function) - & ((iteratees: $ReadOnlyArray) => Function); - overEvery: - & ((...predicates: $ReadOnlyArray) => Function) - & ((predicates: $ReadOnlyArray) => Function); - overSome: - & ((...predicates: $ReadOnlyArray) => Function) - & ((predicates: $ReadOnlyArray) => Function); - property(path?: ?Path): Function; - propertyOf(object?: ?Object): Function; - range: - & ((start: number, end: number, step?: number) => Array) - & ((end: number, step?: number) => Array); - rangeRight: - & ((start?: ?number, end?: ?number, step?: ?number) => Array) - & (end?: ?number, step?: ?number) => Array; - runInContext(context?: ?Object): Function; - - stubArray(): Array; - stubFalse(): false; - stubObject(): {...}; - stubString(): ""; - stubTrue(): true; - times: - & ((n?: ?number, ...rest?: $ReadOnlyArray) => Array) - & ((n: number, iteratee: (i: number) => T) => Array); - toPath(value: any): Array; - uniqueId(prefix?: ?string): string; - - // Properties - VERSION: string; - templateSettings: TemplateSettings; - |} - - declare module.exports: Lodash; -} - -declare module "lodash/fp" { - declare type Path = $ReadOnlyArray | string | number; - declare type __CurriedFunction1 = (...r: [AA]) => R; - declare type CurriedFunction1 = __CurriedFunction1; - - declare type __CurriedFunction2 = (( - ...r: [AA] - ) => CurriedFunction1) & - ((...r: [AA, BB]) => R); - declare type CurriedFunction2 = __CurriedFunction2; - - declare type __CurriedFunction3 = (( - ...r: [AA] - ) => CurriedFunction2) & - ((...r: [AA, BB]) => CurriedFunction1) & - ((...r: [AA, BB, CC]) => R); - declare type CurriedFunction3 = __CurriedFunction3; - - declare type __CurriedFunction4< - A, - B, - C, - D, - R, - AA: A, - BB: B, - CC: C, - DD: D - > = ((...r: [AA]) => CurriedFunction3) & - ((...r: [AA, BB]) => CurriedFunction2) & - ((...r: [AA, BB, CC]) => CurriedFunction1) & - ((...r: [AA, BB, CC, DD]) => R); - declare type CurriedFunction4 = __CurriedFunction4; - - declare type __CurriedFunction5< - A, - B, - C, - D, - E, - R, - AA: A, - BB: B, - CC: C, - DD: D, - EE: E - > = ((...r: [AA]) => CurriedFunction4) & - ((...r: [AA, BB]) => CurriedFunction3) & - ((...r: [AA, BB, CC]) => CurriedFunction2) & - ((...r: [AA, BB, CC, DD]) => CurriedFunction1) & - ((...r: [AA, BB, CC, DD, EE]) => R); - declare type CurriedFunction5 = __CurriedFunction5; - - declare type __CurriedFunction6< - A, - B, - C, - D, - E, - F, - R, - AA: A, - BB: B, - CC: C, - DD: D, - EE: E, - FF: F - > = ((...r: [AA]) => CurriedFunction5) & - ((...r: [AA, BB]) => CurriedFunction4) & - ((...r: [AA, BB, CC]) => CurriedFunction3) & - ((...r: [AA, BB, CC, DD]) => CurriedFunction2) & - ((...r: [AA, BB, CC, DD, EE]) => CurriedFunction1) & - ((...r: [AA, BB, CC, DD, EE, FF]) => R); - declare type CurriedFunction6 = __CurriedFunction6; - - declare type Curry = (((...r: [A]) => R) => CurriedFunction1) & - (((...r: [A, B]) => R) => CurriedFunction2) & - (((...r: [A, B, C]) => R) => CurriedFunction3) & - (( - (...r: [A, B, C, D]) => R - ) => CurriedFunction4) & - (( - (...r: [A, B, C, D, E]) => R - ) => CurriedFunction5) & - (( - (...r: [A, B, C, D, E, F]) => R - ) => CurriedFunction6); - - declare type UnaryFn = (a: A) => R; - - declare type TemplateSettings = { - escape?: RegExp, - evaluate?: RegExp, - imports?: Object, - interpolate?: RegExp, - variable?: string, - ... - }; - - declare type TruncateOptions = { - length?: number, - omission?: string, - separator?: RegExp | string, - ... - }; - - declare type DebounceOptions = { - leading?: boolean, - maxWait?: number, - trailing?: boolean, - ... - }; - - declare type ThrottleOptions = { - leading?: boolean, - trailing?: boolean, - ... - }; - - declare type Key = string | number; - declare type ReadOnlyIndexerObject = $ReadOnly<{ [id: K]: V, ... }> - declare type NestedArray = Array>; - declare type Collection = $ReadOnlyArray | ReadOnlyIndexerObject; - - declare type matchesIterateeShorthand = { [Key]: any, ... }; - declare type matchesPropertyIterateeShorthand = [string, any]; - declare type propertyIterateeShorthand = string; - - declare type OPredicate = - | ((value: A) => any) - | matchesIterateeShorthand - | matchesPropertyIterateeShorthand - | propertyIterateeShorthand; - - declare type IterateeWithResult = - | ((value: V) => R) - | string; - - declare type OIterateeWithResult = - | ReadOnlyIndexerObject - | IterateeWithResult; - declare type OIteratee = OIterateeWithResult; - - declare type Predicate = - | ((value: T) => any) - | matchesIterateeShorthand - | matchesPropertyIterateeShorthand - | propertyIterateeShorthand; - - declare type _ValueOnlyIteratee = (value: T) => mixed; - declare type ValueOnlyIteratee = _ValueOnlyIteratee | string; - declare type _Iteratee = (item: T) => mixed; - declare type Iteratee = _Iteratee | Object | string; - declare type AFlatMapIteratee = - | ((item: T) => Array) - | string; - declare type OFlatMapIteratee = IterateeWithResult>; - declare type Comparator = (item: T, item2: T) => boolean; - - declare type MapIterator = ((item: T) => U) | propertyIterateeShorthand; - - declare type OMapIterator = - | ((item: T) => U) - | propertyIterateeShorthand; - - declare type Lodash = {| - // Array - chunk: - & ((size: number) => ((array: $ReadOnlyArray) => Array>)) - & ((size: number, array: $ReadOnlyArray) => Array>); - compact(array?: ?$ReadOnlyArray): Array; - concat: - & ( | T, B: Array | U>( - base: A - ) => (elements: B) => Array) - & ( | T, B: Array | U>( - base: A, - elements: B - ) => Array); - difference: - & ((values: $ReadOnlyArray) => ((array: $ReadOnlyArray) => Array)) - & ((values: $ReadOnlyArray, array: $ReadOnlyArray) => Array); - differenceBy: - & (( - iteratee: ValueOnlyIteratee - ) => (((values: $ReadOnlyArray) => (array: $ReadOnlyArray) => Array) & - ((values: $ReadOnlyArray, array: $ReadOnlyArray) => Array))) - & (( - iteratee: ValueOnlyIteratee, - values: $ReadOnlyArray - ) => ((array: $ReadOnlyArray) => Array)) - & (( - iteratee: ValueOnlyIteratee, - values: $ReadOnlyArray, - array: $ReadOnlyArray - ) => Array); - differenceWith: - & (( - comparator: Comparator - ) => (((first: $ReadOnlyArray) => (second: $ReadOnlyArray) => Array) & - ((first: $ReadOnlyArray, second: $ReadOnlyArray) => Array))) - & (( - comparator: Comparator, - first: $ReadOnlyArray - ) => ((second: $ReadOnlyArray) => Array)) - & (( - comparator: Comparator, - first: $ReadOnlyArray, - second: $ReadOnlyArray - ) => Array); - drop: - & ((n: number) => ((array: $ReadOnlyArray) => Array)) - & ((n: number, array: $ReadOnlyArray) => Array); - dropLast: - & ((n: number) => ((array: $ReadOnlyArray) => Array)) - & ((n: number, array: $ReadOnlyArray) => Array); - dropRight: - & ((n: number) => ((array: $ReadOnlyArray) => Array)) - & ((n: number, array: $ReadOnlyArray) => Array); - dropRightWhile: - & ((predicate: Predicate) => (array: $ReadOnlyArray) => Array) - & ((predicate: Predicate, array: $ReadOnlyArray) => Array); - dropWhile: - & ((predicate: Predicate) => ((array: $ReadOnlyArray) => Array)) - & ((predicate: Predicate, array: $ReadOnlyArray) => Array); - dropLastWhile: - & ((predicate: Predicate) => ((array: $ReadOnlyArray) => Array)) - & ((predicate: Predicate, array: $ReadOnlyArray) => Array); - fill: - & (( - start: number - ) => ((( - end: number - ) => ((value: U) => (array: Array) => Array) & - ((value: U, array: Array) => Array)) & - ((end: number, value: U) => (array: Array) => Array) & - ((end: number, value: U, array: Array) => Array))) - & (( - start: number, - end: number - ) => (((value: U) => (array: Array) => Array) & - ((value: U, array: Array) => Array))) - & (( - start: number, - end: number, - value: U - ) => ((array: Array) => Array)) - & (( - start: number, - end: number, - value: U, - array: Array - ) => Array); - findIndex: - & ((predicate: Predicate) => ((array: $ReadOnlyArray) => number)) - & ((predicate: Predicate, array: $ReadOnlyArray) => number); - findIndexFrom: - & (( - predicate: Predicate - ) => (((fromIndex: number) => (array: $ReadOnlyArray) => number) & - ((fromIndex: number, array: $ReadOnlyArray) => number))) - & (( - predicate: Predicate, - fromIndex: number - ) => ((array: $ReadOnlyArray) => number)) - & (( - predicate: Predicate, - fromIndex: number, - array: $ReadOnlyArray - ) => number); - findLastIndex: - & (( - predicate: Predicate - ) => ((array: $ReadOnlyArray) => number)) - & ((predicate: Predicate, array: $ReadOnlyArray) => number); - findLastIndexFrom: - & (( - predicate: Predicate - ) => (((fromIndex: number) => (array: $ReadOnlyArray) => number) & - ((fromIndex: number, array: $ReadOnlyArray) => number))) - & (( - predicate: Predicate, - fromIndex: number - ) => ((array: $ReadOnlyArray) => number)) - & (( - predicate: Predicate, - fromIndex: number, - array: $ReadOnlyArray - ) => number); - // alias of _.head - first(array: $ReadOnlyArray): T; - flatten(array: $ReadOnlyArray<$ReadOnlyArray | X>): Array; - unnest(array: $ReadOnlyArray<$ReadOnlyArray | X>): Array; - flattenDeep(array: $ReadOnlyArray): Array; - flattenDepth: - & ((depth: number) => ((array: $ReadOnlyArray) => Array)) - & ((depth: number, array: $ReadOnlyArray) => Array); - fromPairs(pairs: $ReadOnlyArray<[A, B]>): {| [key: A]: B |}; - head(array: $ReadOnlyArray): T; - indexOf: - & ((value: T) => ((array: $ReadOnlyArray) => number)) - & ((value: T, array: $ReadOnlyArray) => number); - indexOfFrom: - & (( - value: T - ) => (((fromIndex: number) => (array: $ReadOnlyArray) => number) & - ((fromIndex: number, array: $ReadOnlyArray) => number))) - & ((value: T, fromIndex: number) => ((array: $ReadOnlyArray) => number)) - & ((value: T, fromIndex: number, array: $ReadOnlyArray) => number); - initial(array: $ReadOnlyArray): Array; - init(array: $ReadOnlyArray): Array; - intersection: - & ((a1: $ReadOnlyArray) => ((a2: $ReadOnlyArray) => Array)) - & ((a1: $ReadOnlyArray, a2: $ReadOnlyArray) => Array); - intersectionBy: - & (( - iteratee: ValueOnlyIteratee - ) => (((a1: $ReadOnlyArray) => (a2: $ReadOnlyArray) => Array) & - ((a1: $ReadOnlyArray, a2: $ReadOnlyArray) => Array))) - & (( - iteratee: ValueOnlyIteratee, - a1: $ReadOnlyArray - ) => ((a2: $ReadOnlyArray) => Array)) - & (( - iteratee: ValueOnlyIteratee, - a1: $ReadOnlyArray, - a2: $ReadOnlyArray - ) => Array); - intersectionWith: - & (( - comparator: Comparator - ) => ((a1: $ReadOnlyArray) => (a2: $ReadOnlyArray) => Array) & - ((a1: $ReadOnlyArray, a2: $ReadOnlyArray) => Array)) - & (( - comparator: Comparator, - a1: $ReadOnlyArray - ) => ((a2: $ReadOnlyArray) => Array)) - & (( - comparator: Comparator, - a1: $ReadOnlyArray, - a2: $ReadOnlyArray - ) => Array); - join: - & ((separator: string) => ((array: $ReadOnlyArray) => string)) - & ((separator: string, array: $ReadOnlyArray) => string); - last(array: $ReadOnlyArray): T; - lastIndexOf: - & ((value: T) => (array: $ReadOnlyArray) => number) - & ((value: T, array: $ReadOnlyArray) => number); - lastIndexOfFrom: - & (( - value: T - ) => (((fromIndex: number) => (array: $ReadOnlyArray) => number) & - ((fromIndex: number, array: $ReadOnlyArray) => number))) - & (( - value: T, - fromIndex: number - ) => ((array: $ReadOnlyArray) => number)) - & ((value: T, fromIndex: number, array: $ReadOnlyArray) => number); - nth: - & ((n: number) => ((array: $ReadOnlyArray) => T)) - & ((n: number, array: $ReadOnlyArray) => T); - pull: - & ((value: T) => ((array: Array) => Array)) - & ((value: T, array: Array) => Array); - pullAll: - & ((values: $ReadOnlyArray) => ((array: Array) => Array)) - & ((values: $ReadOnlyArray, array: Array) => Array); - pullAllBy: - & (( - iteratee: ValueOnlyIteratee - ) => (((values: $ReadOnlyArray) => (array: Array) => Array) & - ((values: $ReadOnlyArray, array: Array) => Array))) - & (( - iteratee: ValueOnlyIteratee, - values: $ReadOnlyArray - ) => ((array: Array) => Array)) - & (( - iteratee: ValueOnlyIteratee, - values: $ReadOnlyArray, - array: Array - ) => Array); - pullAllWith: - & (( - comparator: Function - ) => (((values: Array) => (array: Array) => Array) & - ((values: Array, array: Array) => Array))) - & ((comparator: Function, values: Array) => ((array: Array) => Array)) - & ((comparator: Function, values: Array, array: Array) => Array); - pullAt: - & ((indexed: Array) => ((array: Array) => Array)) - & ((indexed: Array, array: Array) => Array); - remove: - & ((predicate: Predicate) => ((array: Array) => Array)) - & ((predicate: Predicate, array: Array) => Array); - reverse(array: Array): Array; - slice: - & (( - start: number - ) => (((end: number) => (array: $ReadOnlyArray) => Array) & - ((end: number, array: $ReadOnlyArray) => Array))) - & ((start: number, end: number) => ((array: $ReadOnlyArray) => Array)) - & ((start: number, end: number, array: $ReadOnlyArray) => Array); - sortedIndex: - & ((value: T) => ((array: $ReadOnlyArray) => number)) - & ((value: T, array: $ReadOnlyArray) => number); - sortedIndexBy: - & (( - iteratee: ValueOnlyIteratee - ) => (((value: T) => (array: $ReadOnlyArray) => number) & - ((value: T, array: $ReadOnlyArray) => number))) - & (( - iteratee: ValueOnlyIteratee, - value: T - ) => ((array: $ReadOnlyArray) => number)) - & (( - iteratee: ValueOnlyIteratee, - value: T, - array: $ReadOnlyArray - ) => number); - sortedIndexOf: - & ((value: T) => ((array: $ReadOnlyArray) => number)) - & ((value: T, array: $ReadOnlyArray) => number); - sortedLastIndex: - & ((value: T) => ((array: $ReadOnlyArray) => number)) - & ((value: T, array: $ReadOnlyArray) => number); - sortedLastIndexBy: - & (( - iteratee: ValueOnlyIteratee - ) => (((value: T) => (array: $ReadOnlyArray) => number) & - ((value: T, array: $ReadOnlyArray) => number))) - & (( - iteratee: ValueOnlyIteratee, - value: T - ) => ((array: $ReadOnlyArray) => number)) - & (( - iteratee: ValueOnlyIteratee, - value: T, - array: $ReadOnlyArray - ) => number); - sortedLastIndexOf: - & ((value: T) => ((array: $ReadOnlyArray) => number)) - & ((value: T, array: $ReadOnlyArray) => number); - sortedUniq(array: $ReadOnlyArray): Array; - sortedUniqBy(iteratee: ValueOnlyIteratee, array: $ReadOnlyArray): Array; - tail(array: $ReadOnlyArray): Array; - take: - & ((n: number) => ((array: $ReadOnlyArray) => Array)) - & ((n: number, array: $ReadOnlyArray) => Array); - takeRight: - & ((n: number) => ((array: $ReadOnlyArray) => Array)) - & ((n: number, array: $ReadOnlyArray) => Array); - takeLast: - & ((n: number) => (array: $ReadOnlyArray) => Array) - & ((n: number, array: $ReadOnlyArray) => Array); - takeRightWhile: - & ((predicate: Predicate) => ((array: $ReadOnlyArray) => Array)) - & ((predicate: Predicate, array: $ReadOnlyArray) => Array); - takeLastWhile: - & ((predicate: Predicate) => ((array: $ReadOnlyArray) => Array)) - & ((predicate: Predicate, array: $ReadOnlyArray) => Array); - takeWhile: - & ((predicate: Predicate) => ((array: $ReadOnlyArray) => Array)) - & ((predicate: Predicate, array: $ReadOnlyArray) => Array); - union: - & ((a1: $ReadOnlyArray) => ((a2: $ReadOnlyArray) => Array)) - & ((a1: $ReadOnlyArray, a2: $ReadOnlyArray) => Array); - unionBy: - & (( - iteratee: ValueOnlyIteratee - ) => (((a1: $ReadOnlyArray) => (a2: $ReadOnlyArray) => Array) & - ((a1: $ReadOnlyArray, a2: $ReadOnlyArray) => Array))) - & (( - iteratee: ValueOnlyIteratee, - a1: $ReadOnlyArray - ) => ((a2: $ReadOnlyArray) => Array)) - & (( - iteratee: ValueOnlyIteratee, - a1: $ReadOnlyArray, - a2: $ReadOnlyArray - ) => Array); - unionWith: - & (( - comparator: Comparator - ) => (((a1: $ReadOnlyArray) => (a2: $ReadOnlyArray) => Array) & - ((a1: $ReadOnlyArray, a2: $ReadOnlyArray) => Array))) - & (( - comparator: Comparator, - a1: $ReadOnlyArray - ) => ((a2: $ReadOnlyArray) => Array)) - & (( - comparator: Comparator, - a1: $ReadOnlyArray, - a2: $ReadOnlyArray - ) => Array); - uniq(array: $ReadOnlyArray): Array; - uniqBy: - & ((iteratee: ValueOnlyIteratee) => ((array: $ReadOnlyArray) => Array)) - & ((iteratee: ValueOnlyIteratee, array: $ReadOnlyArray) => Array); - uniqWith: - & ((comparator: Comparator) => ((array: $ReadOnlyArray) => Array)) - & ((comparator: Comparator, array: $ReadOnlyArray) => Array); - unzip(array: $ReadOnlyArray): Array; - unzipWith: - & ((iteratee: Iteratee) => ((array: $ReadOnlyArray) => Array)) - & ((iteratee: Iteratee, array: $ReadOnlyArray) => Array); - without: - & ((values: $ReadOnlyArray) => ((array: $ReadOnlyArray) => Array)) - & ((values: $ReadOnlyArray, array: $ReadOnlyArray) => Array); - xor: - & ((a1: $ReadOnlyArray) => ((a2: $ReadOnlyArray) => Array)) - & ((a1: $ReadOnlyArray, a2: $ReadOnlyArray) => Array); - symmetricDifference: - & ((a1: $ReadOnlyArray) => ((a2: $ReadOnlyArray) => Array)) - & ((a1: $ReadOnlyArray, a2: $ReadOnlyArray) => Array); - xorBy: - & (( - iteratee: ValueOnlyIteratee - ) => (((a1: $ReadOnlyArray) => (a2: $ReadOnlyArray) => Array) & - ((a1: $ReadOnlyArray, a2: $ReadOnlyArray) => Array))) - & (( - iteratee: ValueOnlyIteratee, - a1: $ReadOnlyArray - ) => ((a2: $ReadOnlyArray) => Array)) - & (( - iteratee: ValueOnlyIteratee, - a1: $ReadOnlyArray, - a2: $ReadOnlyArray - ) => Array); - symmetricDifferenceBy: - & (( - iteratee: ValueOnlyIteratee - ) => ((a1: $ReadOnlyArray) => (a2: $ReadOnlyArray) => Array) & - ((a1: $ReadOnlyArray, a2: $ReadOnlyArray) => Array)) - & (( - iteratee: ValueOnlyIteratee, - a1: $ReadOnlyArray - ) => (a2: $ReadOnlyArray) => Array) - & (( - iteratee: ValueOnlyIteratee, - a1: $ReadOnlyArray, - a2: $ReadOnlyArray - ) => Array); - xorWith: - & (( - comparator: Comparator - ) => (((a1: $ReadOnlyArray) => (a2: $ReadOnlyArray) => Array) & - ((a1: $ReadOnlyArray, a2: $ReadOnlyArray) => Array))) - & (( - comparator: Comparator, - a1: $ReadOnlyArray - ) => ((a2: $ReadOnlyArray) => Array)) - & ((comparator: Comparator, a1: $ReadOnlyArray, a2: $ReadOnlyArray) => Array); - symmetricDifferenceWith: - & (( - comparator: Comparator - ) => (((a1: $ReadOnlyArray) => (a2: $ReadOnlyArray) => Array) & - ((a1: $ReadOnlyArray, a2: $ReadOnlyArray) => Array))) - & (( - comparator: Comparator, - a1: $ReadOnlyArray - ) => ((a2: $ReadOnlyArray) => Array)) - & (( - comparator: Comparator, - a1: $ReadOnlyArray, - a2: $ReadOnlyArray - ) => Array); - zip: - & ((a1: $ReadOnlyArray) => ((a2: $ReadOnlyArray) => Array<[A, B]>)) - & ((a1: $ReadOnlyArray, a2: $ReadOnlyArray) => Array<[A, B]>); - zipAll(arrays: $ReadOnlyArray<$ReadOnlyArray>): Array; - zipObject: - & ((props?: $ReadOnlyArray) => ((values?: $ReadOnlyArray) => { [key: K]: V, ... })) - & ((props?: $ReadOnlyArray, values?: $ReadOnlyArray) => { [key: K]: V, ... }); - zipObj: - & ((props: $ReadOnlyArray) => ((values: $ReadOnlyArray) => Object)) - & ((props: $ReadOnlyArray, values: $ReadOnlyArray) => Object); - zipObjectDeep: - & ((props: $ReadOnlyArray) => ((values: any) => Object)) - & ((props: $ReadOnlyArray, values: any) => Object); - zipWith: - & (( - iteratee: Iteratee - ) => (((a1: NestedArray) => (a2: NestedArray) => Array) & - ((a1: NestedArray, a2: NestedArray) => Array))) - & (( - iteratee: Iteratee, - a1: NestedArray - ) => ((a2: NestedArray) => Array)) - & (( - iteratee: Iteratee, - a1: NestedArray, - a2: NestedArray - ) => Array); - - // Collection - countBy: - & (( - iteratee: ValueOnlyIteratee - ) => ((collection: Collection) => { [string]: number, ... })) - & (( - iteratee: ValueOnlyIteratee, - collection: Collection - ) => { [string]: number, ... }); - // alias of _.forEach - each: - & (( - iteratee: Iteratee | OIteratee - ) => ((collection: Collection) => Array)) - & (( - iteratee: Iteratee | OIteratee, - collection: Collection - ) => Array); - // alias of _.forEachRight - eachRight: - & (( - iteratee: Iteratee | OIteratee - ) => ((collection: Collection) => Array)) - & (( - iteratee: Iteratee | OIteratee, - collection: Collection - ) => Array); - every: - & (( - iteratee: Iteratee | OIteratee - ) => ((collection: Collection) => boolean)) - & (( - iteratee: Iteratee | OIteratee, - collection: Collection - ) => boolean); - all: - & (( - iteratee: Iteratee | OIteratee - ) => ((collection: Collection) => boolean)) - & (( - iteratee: Iteratee | OIteratee, - collection: Collection - ) => boolean); - filter: - & (( - predicate: Predicate | OPredicate - ) => ((collection: Collection) => Array)) - & (( - predicate: Predicate | OPredicate, - collection: Collection - ) => Array); - find: - & (( - predicate: Predicate | OPredicate - ) => ((collection: Collection) => T | void)) - & (( - predicate: Predicate | OPredicate, - collection: Collection - ) => (T | void)); - findFrom: - & (( - predicate: Predicate | OPredicate - ) => ((( - fromIndex: number - ) => (collection: Collection) => T | void) & - (( - fromIndex: number, - collection: Collection - ) => T | void))) - & (( - predicate: Predicate | OPredicate, - fromIndex: number - ) => ((collection: Collection) => T | void)) - & (( - predicate: Predicate | OPredicate, - fromIndex: number, - collection: Collection - ) => (T | void)); - findLast: - & (( - predicate: Predicate | OPredicate - ) => ((collection: Collection) => T | void)) - & (( - predicate: Predicate | OPredicate, - collection: Collection - ) => (T | void)); - findLastFrom: - & (( - predicate: Predicate | OPredicate - ) => ((( - fromIndex: number - ) => (collection: Collection) => T | void) & - (( - fromIndex: number, - collection: Collection - ) => T | void))) - & (( - predicate: Predicate | OPredicate, - fromIndex: number - ) => ((collection: Collection) => T | void)) - & (( - predicate: Predicate | OPredicate, - fromIndex: number, - collection: Collection - ) => T | void); - flatMap: - & (( - iteratee: AFlatMapIteratee | OFlatMapIteratee - ) => ((collection: Collection) => Array)) - & (( - iteratee: AFlatMapIteratee | OFlatMapIteratee, - collection: Collection - ) => Array); - flatMapDeep: - & (( - iteratee: AFlatMapIteratee | OFlatMapIteratee - ) => ((collection: Collection) => Array)) - & (( - iteratee: AFlatMapIteratee | OFlatMapIteratee, - collection: Collection - ) => Array); - flatMapDepth: - & (( - iteratee: AFlatMapIteratee | OFlatMapIteratee - ) => ((( - depth: number - ) => (collection: Collection) => Array) & - ((depth: number, collection: Collection) => Array))) - & (( - iteratee: AFlatMapIteratee | OFlatMapIteratee, - depth: number - ) => ((collection: Collection) => Array)) - & (( - iteratee: AFlatMapIteratee | OFlatMapIteratee, - depth: number, - collection: Collection - ) => Array); - forEach: - & (( - iteratee: Iteratee | OIteratee - ) => ((collection: Collection) => Array)) - & (( - iteratee: Iteratee | OIteratee, - collection: Collection - ) => Array); - forEachRight: - & (( - iteratee: Iteratee | OIteratee - ) => ((collection: Collection) => Array)) - & (( - iteratee: Iteratee | OIteratee, - collection: Collection - ) => Array); - groupBy: - & (( - iteratee: ValueOnlyIteratee - ) => (( - collection: Collection - ) => { [key: V]: Array, ... })) - & (( - iteratee: ValueOnlyIteratee, - collection: Collection - ) => { [key: V]: Array, ... }); - includes: - & ((value: T) => ((collection: Collection) => boolean)) - & ((value: T, collection: Collection) => boolean) - & ((value: string) => ((str: string) => boolean)) - & ((value: string, str: string) => boolean); - contains: - & ((value: string) => ((str: string) => boolean)) - & ((value: string, str: string) => boolean) - & ((value: T) => ((collection: Collection) => boolean)) - & ((value: T, collection: Collection) => boolean); - includesFrom: - & (( - value: string - ) => (((fromIndex: number) => (str: string) => boolean) & - ((fromIndex: number, str: string) => boolean))) - & ((value: string, fromIndex: number) => ((str: string) => boolean)) - & ((value: string, fromIndex: number, str: string) => boolean) - & (( - value: T - ) => (((fromIndex: number) => (collection: $ReadOnlyArray) => boolean) & - ((fromIndex: number, collection: $ReadOnlyArray) => boolean))) - & (( - value: T, - fromIndex: number - ) => ((collection: $ReadOnlyArray) => boolean)) - & ((value: T, fromIndex: number, collection: $ReadOnlyArray) => boolean); - invokeMap: - & (( - path: ((value: T) => Path) | Path - ) => ((collection: Collection) => Array)) - & (( - path: ((value: T) => Path) | Path, - collection: Collection - ) => Array); - invokeArgsMap: - & (( - path: ((value: T) => Path) | Path - ) => ((( - collection: Collection - ) => (args: $ReadOnlyArray) => Array) & - (( - collection: Collection, - args: $ReadOnlyArray - ) => Array))) - & (( - path: ((value: T) => Path) | Path, - collection: Collection - ) => ((args: $ReadOnlyArray) => Array)) - & (( - path: ((value: T) => Path) | Path, - collection: Collection, - args: $ReadOnlyArray - ) => Array); - keyBy: - & (( - iteratee: ValueOnlyIteratee - ) => ((collection: Collection) => { [key: V]: T, ... })) - & (( - iteratee: ValueOnlyIteratee, - collection: Collection - ) => { [key: V]: T, ... }); - indexBy: - & (( - iteratee: ValueOnlyIteratee - ) => ((collection: Collection) => { [key: V]: T, ... })) - & (( - iteratee: ValueOnlyIteratee, - collection: Collection - ) => { [key: V]: T, ... }); - map: - & (( - iteratee: MapIterator | OMapIterator - ) => ((collection: Collection) => Array)) - & (( - iteratee: MapIterator | OMapIterator, - collection: Collection - ) => Array) - & ((iteratee: (char: string) => any) => ((str: string) => string)) - & ((iteratee: (char: string) => any, str: string) => string); - pluck: - & (( - iteratee: MapIterator | OMapIterator - ) => ((collection: Collection) => Array)) - & (( - iteratee: MapIterator | OMapIterator, - collection: Collection - ) => Array) - & ((iteratee: (char: string) => any) => ((str: string) => string)) - & ((iteratee: (char: string) => any, str: string) => string); - orderBy: - & (( - iteratees: $ReadOnlyArray | OIteratee> | string - ) => ((( - orders: $ReadOnlyArray<"asc" | "desc"> | string - ) => (collection: Collection) => Array) & - (( - orders: $ReadOnlyArray<"asc" | "desc"> | string, - collection: Collection - ) => Array))) - & (( - iteratees: $ReadOnlyArray | OIteratee> | string, - orders: $ReadOnlyArray<"asc" | "desc"> | string - ) => ((collection: Collection) => Array)) - & ( - iteratees: $ReadOnlyArray | OIteratee> | string, - orders: $ReadOnlyArray<"asc" | "desc"> | string, - collection: Collection - ) => Array; - partition: - & (( - predicate: Predicate | OPredicate - ) => ((collection: Collection) => [Array, Array])) - & (( - predicate: Predicate | OPredicate, - collection: Collection - ) => [Array, Array]); - reduce: - & (( - iteratee: (accumulator: U, value: T) => U - ) => (((accumulator: U) => (collection: Collection) => U) & - ((accumulator: U, collection: Collection) => U))) - & (( - iteratee: (accumulator: U, value: T) => U, - accumulator: U - ) => ((collection: Collection) => U)) - & (( - iteratee: (accumulator: U, value: T) => U, - accumulator: U, - collection: Collection - ) => U); - reduceRight: - & (( - iteratee: (value: T, accumulator: U) => U - ) => ((accumulator: U) => (collection: Collection) => U) & - ((accumulator: U, collection: Collection) => U)) - & (( - iteratee: (value: T, accumulator: U) => U, - accumulator: U - ) => (collection: Collection) => U) - & (( - iteratee: (value: T, accumulator: U) => U, - accumulator: U, - collection: Collection - ) => U); - reject: - & (( - predicate: Predicate | OPredicate - ) => ((collection: Collection) => Array)) - & (( - predicate: Predicate | OPredicate, - collection: Collection - ) => Array); - sample(collection: Collection): T; - sampleSize: - & (( - n: number - ) => ((collection: Collection) => Array)) - & ((n: number, collection: Collection) => Array); - shuffle(collection: Collection): Array; - size(collection: $ReadOnlyArray | Object | string): number; - some: - & (( - predicate: Predicate | OPredicate - ) => (collection: Collection) => boolean) - & (( - predicate: Predicate | OPredicate, - collection: Collection - ) => boolean); - any: - & (( - predicate: Predicate | OPredicate - ) => ((collection: Collection) => boolean)) - & (( - predicate: Predicate | OPredicate, - collection: Collection - ) => boolean); - sortBy: - & (( - iteratees: - | $ReadOnlyArray | OIteratee> - | Iteratee - | OIteratee - ) => ((collection: Collection) => Array)) - & (( - iteratees: - | $ReadOnlyArray | OIteratee> - | Iteratee - | OIteratee, - collection: Collection - ) => Array); - - // Date - now(): number; - - // Function - after: - & ((fn: Function) => ((n: number) => Function)) - & ((fn: Function, n: number) => Function); - ary(func: Function): Function; - nAry: - & ((n: number) => ((func: Function) => Function)) - & ((n: number, func: Function) => Function); - before: - & ((fn: Function) => ((n: number) => Function)) - & ((fn: Function, n: number) => Function); - bind: - & ((func: Function) => ((thisArg: any) => Function)) - & ((func: Function, thisArg: any) => Function); - bindKey: - & ((obj: Object) => (key: string) => Function) - & ((obj: Object, key: string) => Function); - curry: Curry; - curryN: - & ((arity: number) => ((func: Function) => Function)) - & ((arity: number, func: Function) => Function); - curryRight(func: Function): Function; - curryRightN: - & ((arity: number) => ((func: Function) => Function)) - & ((arity: number, func: Function) => Function); - debounce: - & ((wait: number) => ((func: (...A) => R) => (...A) => R)) - & ((wait: number, func: (...A) => R) => ((...A) => R)); - defer(func: (...$ReadOnlyArray) => any): TimeoutID; - delay: - & ((wait: number) => ((func: Function) => TimeoutID)) - & ((wait: number, func: Function) => TimeoutID); - flip(func: Function): Function; - memoize(func: F): F; - negate(predicate: (...A) => R): (...A) => boolean; - complement(predicate: Function): Function; - once(func: Function): Function; - overArgs: - & ((func: Function) => ((transforms: $ReadOnlyArray) => Function)) - & ((func: Function, transforms: $ReadOnlyArray) => Function); - useWith: - & ((func: Function) => ((transforms: $ReadOnlyArray) => Function)) - & ((func: Function, transforms: $ReadOnlyArray) => Function); - partial: - & ((func: Function) => ((partials: $ReadOnlyArray) => Function)) - & ((func: Function, partials: $ReadOnlyArray) => Function); - partialRight: - & ((func: Function) => (partials: $ReadOnlyArray) => Function) - & ((func: Function, partials: $ReadOnlyArray) => Function); - rearg: - & ((indexes: $ReadOnlyArray) => ((func: Function) => Function)) - & ((indexes: $ReadOnlyArray, func: Function) => Function); - rest(func: Function): Function; - unapply(func: Function): Function; - restFrom: - & ((start: number) => ((func: Function) => Function)) - & ((start: number, func: Function) => Function); - spread(func: Function): Function; - apply(func: Function): Function; - spreadFrom: - & ((start: number) => ((func: Function) => Function)) - & ((start: number, func: Function) => Function); - throttle: - & ((wait: number) => ((func: (...A) => R) => (...A) => R)) - & ((wait: number, func: (...A) => R) => ((...A) => R)); - unary(func: (T, ...$ReadOnlyArray) => R): (T) => R; - wrap: - & ((wrapper: Function) => ((value: any) => Function)) - & ((wrapper: Function, value: any) => Function); - - // Lang - castArray: - & (() => Array) - & ((value: T) => Array) - & (>(value: T) => T); - clone(value: T): T; - cloneDeep(value: T): T; - cloneDeepWith: - & (( - customizer: (value: T, key: number | string, object: T, stack: any) => U - ) => ((value: T) => U)) - & (( - customizer: (value: T, key: number | string, object: T, stack: any) => U, - value: T - ) => U); - cloneWith: - & (( - customizer: (value: T, key: number | string, object: T, stack: any) => U - ) => ((value: T) => U)) - & (( - customizer: (value: T, key: number | string, object: T, stack: any) => U, - value: T - ) => U); - conformsTo: - & (>( - predicates: T & $ReadOnly<{ [key: string]: (x: any) => boolean, ... }> - ) => ((source: T) => boolean)) - & (>( - predicates: T & $ReadOnly<{ [key: string]: (x: any) => boolean, ... }>, - source: T - ) => boolean); - where: - & (>( - predicates: T & $ReadOnly<{ [key: string]: (x: any) => boolean, ... }> - ) => ((source: T) => boolean)) - & (>( - predicates: T & $ReadOnly<{ [key: string]: (x: any) => boolean, ... }>, - source: T - ) => boolean); - conforms: - & (>( - predicates: T & $ReadOnly<{ [key: string]: (x: any) => boolean, ... }> - ) => ((source: T) => boolean)) - & (>( - predicates: T & $ReadOnly<{ [key: string]: (x: any) => boolean, ... }>, - source: T - ) => boolean); - eq: - & ((value: any) => ((other: any) => boolean)) - & ((value: any, other: any) => boolean); - identical: - & ((value: any) => ((other: any) => boolean)) - & ((value: any, other: any) => boolean); - gt: - & ((value: any) => (other: any) => boolean) - & ((value: any, other: any) => boolean); - gte: - & ((value: any) => ((other: any) => boolean)) - & ((value: any, other: any) => boolean); - isArguments(value: any): boolean; - isArray(value: any): boolean; - isArrayBuffer(value: any): boolean; - isArrayLike(value: any): boolean; - isArrayLikeObject(value: any): boolean; - isBoolean(value: any): boolean; - isBuffer(value: any): boolean; - isDate(value: any): boolean; - isElement(value: any): boolean; - isEmpty(value: any): boolean; - isEqual: - & ((value: any) => ((other: any) => boolean)) - & ((value: any, other: any) => boolean); - equals: - & ((value: any) => (other: any) => boolean) - & ((value: any, other: any) => boolean); - isEqualWith: - & (( - customizer: ( - objValue: any, - otherValue: any, - key: number | string, - object: T, - other: U, - stack: any - ) => boolean | void - ) => (((value: T) => (other: U) => boolean) & - ((value: T, other: U) => boolean))) - & (( - customizer: ( - objValue: any, - otherValue: any, - key: number | string, - object: T, - other: U, - stack: any - ) => boolean | void, - value: T - ) => ((other: U) => boolean)) - & (( - customizer: ( - objValue: any, - otherValue: any, - key: number | string, - object: T, - other: U, - stack: any - ) => boolean | void, - value: T, - other: U - ) => boolean); - isError(value: any): boolean; - isFinite(value: any): boolean; - isFunction(value: any): boolean; - isInteger(value: any): boolean; - isLength(value: any): boolean; - isMap(value: any): boolean; - isMatch: - & ((source: Object) => (object: Object) => boolean) - & ((source: Object, object: Object) => boolean); - whereEq: - & ((source: Object) => (object: Object) => boolean) - & ((source: Object, object: Object) => boolean); - isMatchWith: - & (( - customizer: ( - objValue: any, - srcValue: any, - key: number | string, - object: T, - source: U - ) => boolean | void - ) => (((source: U) => (object: T) => boolean) & - ((source: U, object: T) => boolean))) - & (( - customizer: ( - objValue: any, - srcValue: any, - key: number | string, - object: T, - source: U - ) => boolean | void, - source: U - ) => ((object: T) => boolean)) - & (( - customizer: ( - objValue: any, - srcValue: any, - key: number | string, - object: T, - source: U - ) => boolean | void, - source: U, - object: T - ) => boolean); - isNaN(value: any): boolean; - isNative(value: any): boolean; - isNil(value: any): boolean; - isNull(value: any): boolean; - isNumber(value: any): boolean; - isObject(value: any): boolean; - isObjectLike(value: any): boolean; - isPlainObject(value: any): boolean; - isRegExp(value: any): boolean; - isSafeInteger(value: any): boolean; - isSet(value: any): boolean; - isString: - & ((value: string) => true) - & ((value: any) => false); - isSymbol(value: any): boolean; - isTypedArray(value: any): boolean; - isUndefined(value: any): boolean; - isWeakMap(value: any): boolean; - isWeakSet(value: any): boolean; - lt: - & ((value: any) => ((other: any) => boolean)) - & ((value: any, other: any) => boolean); - lte: - & ((value: any) => ((other: any) => boolean)) - & ((value: any, other: any) => boolean); - toArray(value: any): Array; - toFinite(value: any): number; - toInteger(value: any): number; - toLength(value: any): number; - toNumber(value: any): number; - toPlainObject(value: any): Object; - toSafeInteger(value: any): number; - toString(value: any): string; - - // Math - add(augend: number): (addend: number) => number; - add(augend: number, addend: number): number; - ceil(number: number): number; - divide(dividend: number): (divisor: number) => number; - divide(dividend: number, divisor: number): number; - floor(number: number): number; - max(array: $ReadOnlyArray): T; - maxBy(iteratee: Iteratee): (array: $ReadOnlyArray) => T; - maxBy(iteratee: Iteratee, array: $ReadOnlyArray): T; - mean(array: $ReadOnlyArray): number; - meanBy(iteratee: Iteratee): (array: $ReadOnlyArray) => number; - meanBy(iteratee: Iteratee, array: $ReadOnlyArray): number; - min(array: $ReadOnlyArray): T; - minBy(iteratee: Iteratee): (array: $ReadOnlyArray) => T; - minBy(iteratee: Iteratee, array: $ReadOnlyArray): T; - multiply(multiplier: number): (multiplicand: number) => number; - multiply(multiplier: number, multiplicand: number): number; - round(number: number): number; - subtract(minuend: number): (subtrahend: number) => number; - subtract(minuend: number, subtrahend: number): number; - sum(array: $ReadOnlyArray): number; - sumBy(iteratee: Iteratee): (array: $ReadOnlyArray) => number; - sumBy(iteratee: Iteratee, array: $ReadOnlyArray): number; - - // number - clamp: - & (( - lower: number - ) => (((upper: number) => (number: number) => number) & - ((upper: number, number: number) => number))) - & ((lower: number, upper: number) => ((number: number) => number)) - & ((lower: number, upper: number, number: number) => number); - inRange: - & (( - start: number - ) => (((end: number) => (number: number) => boolean) & - ((end: number, number: number) => boolean))) - & ((start: number, end: number) => ((number: number) => boolean)) - & ((start: number, end: number, number: number) => boolean); - random: - & ((lower: number) => ((upper: number) => number)) - & ((lower: number, upper: number) => number); - - // Object - assign: - & ((object: Object) => ((source: Object) => Object)) - & ((object: Object, source: Object) => Object); - assignAll(objects: Array): Object; - assignInAll(objects: Array): Object; - extendAll(objects: Array): Object; - assignIn: - & ((a: A) => ((b: B) => A & B)) - & ((a: A, b: B) => A & B); - assignInWith: - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A - ) => any | void - ) => (((object: T) => (s1: A) => Object) & ((object: T, s1: A) => Object))) - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A - ) => any | void, - object: T - ) => ((s1: A) => Object)) - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A - ) => any | void, - object: T, - s1: A - ) => Object); - assignWith: - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A - ) => any | void - ) => (((object: T) => (s1: A) => Object) & ((object: T, s1: A) => Object))) - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A - ) => any | void, - object: T - ) => ((s1: A) => Object)) - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A - ) => any | void, - object: T, - s1: A - ) => Object); - assignInAllWith: - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: Object, - source: Object - ) => any | void - ) => ((objects: Array) => Object)) - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: Object, - source: Object - ) => any | void, - objects: Array - ) => Object); - extendAllWith: - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: Object, - source: Object - ) => any | void - ) => ((objects: Array) => Object)) - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: Object, - source: Object - ) => any | void, - objects: Array - ) => Object); - assignAllWith: - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: Object, - source: Object - ) => any | void - ) => ((objects: Array) => Object)) - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: Object, - source: Object - ) => any | void, - objects: Array - ) => Object); - at: - & ((paths: $ReadOnlyArray) => ((object: Object) => Array)) - & ((paths: $ReadOnlyArray, object: Object) => Array); - props: - & ((paths: $ReadOnlyArray) => ((object: Object) => Array)) - & ((paths: $ReadOnlyArray, object: Object) => Array); - paths: - & ((paths: $ReadOnlyArray) => ((object: Object) => Array)) - & ((paths: $ReadOnlyArray, object: Object) => Array); - create(prototype: T): T; - defaults: - & ((source: Object) => ((object: Object) => Object)) - & ((source: Object, object: Object) => Object); - defaultsAll(objects: Array): Object; - defaultsDeep: - & ((source: Object) => ((object: Object) => Object)) - & ((source: Object, object: Object) => Object); - defaultsDeepAll(objects: Array): Object; - // alias for _.toPairs - entries(object: Object): Array<[string, any]>; - // alias for _.toPairsIn - entriesIn(object: Object): Array<[string, any]>; - // alias for _.assignIn - extend: - & ((a: A) => ((b: B) => A & B)) - & ((a: A, b: B) => A & B); - // alias for _.assignInWith - extendWith: - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A - ) => any | void - ) => (((object: T) => (s1: A) => Object) & ((object: T, s1: A) => Object))) - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A - ) => any | void, - object: T - ) => ((s1: A) => Object)) - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A - ) => any | void, - object: T, - s1: A - ) => Object); - findKey: - & (>( - predicate: OPredicate - ) => ((object: T) => string | void)) - & (>( - predicate: OPredicate, - object: T - ) => string | void); - findLastKey: - & (>( - predicate: OPredicate - ) => ((object: T) => string | void)) - & (>( - predicate: OPredicate, - object: T - ) => string | void); - forIn: - & ((iteratee: OIteratee) => ((object: Object) => Object)) - & ((iteratee: OIteratee, object: Object) => Object); - forInRight: - & ((iteratee: OIteratee) => ((object: Object) => Object)) - & ((iteratee: OIteratee, object: Object) => Object); - forOwn: - & ((iteratee: OIteratee) => ((object: Object) => Object)) - & ((iteratee: OIteratee, object: Object) => Object); - forOwnRight: - & ((iteratee: OIteratee) => ((object: Object) => Object)) - & ((iteratee: OIteratee, object: Object) => Object); - functions(object: Object): Array; - functionsIn(object: Object): Array; - get: - & (( - path: Path - ) => ((object: Object | $ReadOnlyArray | void | null) => any)) - & (( - path: Path, - object: Object | $ReadOnlyArray | void | null - ) => any); - prop: - & ((path: Path) => ((object: Object | $ReadOnlyArray) => any)) - & ((path: Path, object: Object | $ReadOnlyArray) => any); - path: - & ((path: Path) => ((object: Object | $ReadOnlyArray) => any)) - & ((path: Path, object: Object | $ReadOnlyArray) => any); - getOr: - & (( - defaultValue: any - ) => ((( - path: Path - ) => (object: Object | $ReadOnlyArray) => any) & - (( - path: Path, - object: Object | $ReadOnlyArray | void | null - ) => any))) - & (( - defaultValue: any, - path: Path - ) => ((object: Object | $ReadOnlyArray | void | null) => any)) - & (( - defaultValue: any, - path: Path, - object: Object | $ReadOnlyArray | void | null - ) => any); - propOr: - & (( - defaultValue: any - ) => ((( - path: Path - ) => (object: Object | $ReadOnlyArray) => any) & - ((path: Path, object: Object | $ReadOnlyArray) => any))) - & (( - defaultValue: any, - path: Path - ) => ((object: Object | $ReadOnlyArray) => any)) - & (( - defaultValue: any, - path: Path, - object: Object | $ReadOnlyArray - ) => any); - pathOr: - & (( - defaultValue: any - ) => ((( - path: Path - ) => (object: Object | $ReadOnlyArray) => any) & - ((path: Path, object: Object | $ReadOnlyArray) => any))) - & (( - defaultValue: any, - path: Path - ) => ((object: Object | $ReadOnlyArray) => any)) - & (( - defaultValue: any, - path: Path, - object: Object | $ReadOnlyArray - ) => any); - has: - & ((path: Path) => ((object: Object) => boolean)) - & ((path: Path, object: Object) => boolean); - hasIn: - & ((path: Path) => ((object: Object) => boolean)) - & ((path: Path, object: Object) => boolean); - invert(object: Object): Object; - invertObj(object: Object): Object; - invertBy: - & ((iteratee: Function) => ((object: Object) => Object)) - & ((iteratee: Function, object: Object) => Object); - invoke: - & ((path: Path) => ((object: Object) => any)) - & ((path: Path, object: Object) => any); - invokeArgs: - & (( - path: Path - ) => (((object: Object) => (args: Array) => any) & - ((object: Object, args: Array) => any))) - & (( - path: Path, - object: Object - ) => ((args: Array) => any)) - & ( - path: Path, - object: Object, - args: Array - ) => any; - keys: - & ((object: ReadOnlyIndexerObject) => Array) - & ((object: Object) => Array); - keysIn(object: Object): Array; - mapKeys: - & ((iteratee: OIteratee) => ((object: Object) => Object)) - & ((iteratee: OIteratee, object: Object) => Object); - mapValues: - & ((iteratee: OIteratee) => ((object: Object) => Object)) - & ((iteratee: OIteratee, object: Object) => Object); - merge: - & ((object: Object) => ((source: Object) => Object)) - & ((object: Object, source: Object) => Object); - mergeAll(objects: $ReadOnlyArray): Object; - mergeWith: - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B - ) => any | void - ) => (((object: T) => (s1: A) => Object) & ((object: T, s1: A) => Object))) - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B - ) => any | void, - object: T - ) => ((s1: A) => Object)) - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B - ) => any | void, - object: T, - s1: A - ) => Object); - mergeAllWith: - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: Object, - source: Object - ) => any | void - ) => ((objects: $ReadOnlyArray) => Object)) - & (( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: Object, - source: Object - ) => any | void, - objects: $ReadOnlyArray - ) => Object); - omit: - & ((props: $ReadOnlyArray) => ((object: Object) => Object)) - & ((props: $ReadOnlyArray, object: Object) => Object); - omitAll: - & ((props: $ReadOnlyArray) => ((object: Object) => Object)) - & ((props: $ReadOnlyArray, object: Object) => Object); - omitBy: - & (>( - predicate: OPredicate - ) => ((object: T) => Object)) - & (>(predicate: OPredicate, object: T) => Object); - pick: - & ((...props: $ReadOnlyArray) => Object) - & ((props: $ReadOnlyArray, object: Object) => Object) - & ((...props: $ReadOnlyArray) => ((object: Object) => Object)) - & ((props: $ReadOnlyArray) => ((object: Object) => Object)); - pickAll: - & ((props: $ReadOnlyArray) => ((object: Object) => Object)) - & ((props: $ReadOnlyArray, object: Object) => Object); - pickBy: - & (>( - predicate: OPredicate - ) => ((object: T) => Object)) - & (>(predicate: OPredicate, object: T) => Object); - result: - & ((path: Path) => ((object: Object) => any)) - & ((path: Path, object: Object) => any); - set: - & (( - path: Path - ) => (((value: any) => (object: Object) => Object) & - ((value: any, object: Object) => Object))) - & ((path: Path, value: any) => ((object: Object) => Object)) - & ((path: Path, value: any, object: Object) => Object); - assoc: - & (( - path: Path - ) => (((value: any) => (object: Object) => Object) & - ((value: any, object: Object) => Object))) - & ((path: Path, value: any) => ((object: Object) => Object)) - & ((path: Path, value: any, object: Object) => Object); - assocPath: - & (( - path: Path - ) => (((value: any) => (object: Object) => Object) & - ((value: any, object: Object) => Object))) - & (( - path: Path, - value: any - ) => ((object: Object) => Object)) - & ((path: Path, value: any, object: Object) => Object); - setWith: - & (( - customizer: (nsValue: any, key: string, nsObject: T) => any - ) => ((( - path: Path - ) => ((value: any) => (object: T) => Object) & - ((value: any, object: T) => Object)) & - ((path: Path, value: any) => (object: T) => Object) & - ((path: Path, value: any, object: T) => Object))) - & (( - customizer: (nsValue: any, key: string, nsObject: T) => any, - path: Path - ) => (((value: any) => (object: T) => Object) & - ((value: any, object: T) => Object))) - & (( - customizer: (nsValue: any, key: string, nsObject: T) => any, - path: Path, - value: any - ) => ((object: T) => Object)) - & (( - customizer: (nsValue: any, key: string, nsObject: T) => any, - path: Path, - value: any, - object: T - ) => Object); - toPairs(object: Object | $ReadOnlyArray): Array<[string, any]>; - toPairsIn(object: Object): Array<[string, any]>; - transform: - & (( - iteratee: OIteratee - ) => ((( - accumulator: any - ) => (collection: Object | $ReadOnlyArray) => any) & - ((accumulator: any, collection: Object | $ReadOnlyArray) => any))) - & (( - iteratee: OIteratee, - accumulator: any - ) => ((collection: Object | $ReadOnlyArray) => any)) - & (( - iteratee: OIteratee, - accumulator: any, - collection: Object | $ReadOnlyArray - ) => any); - unset: - & ((path: Path) => ((object: Object) => Object)) - & ((path: Path, object: Object) => Object); - update: - & (( - path: Path - ) => (((updater: Function) => (object: Object) => Object) & - ((updater: Function, object: Object) => Object))) - & (( - path: Path, - updater: Function - ) => ((object: Object) => Object)) - & ((path: Path, updater: Function, object: Object) => Object); - updateWith: - & (( - customizer: Function - ) => ((( - path: Path - ) => ((updater: Function) => (object: Object) => Object) & - ((updater: Function, object: Object) => Object)) & - (( - path: Path, - updater: Function - ) => (object: Object) => Object) & - ((path: Path, updater: Function, object: Object) => Object))) - & (( - customizer: Function, - path: Path - ) => (((updater: Function) => (object: Object) => Object) & - ((updater: Function, object: Object) => Object))) - & (( - customizer: Function, - path: Path, - updater: Function - ) => ((object: Object) => Object)) - & (( - customizer: Function, - path: Path, - updater: Function, - object: Object - ) => Object); - values(object: Object): Array; - valuesIn(object: Object): Array; - - tap: - & ((interceptor: (value: T) => any) => ((value: T) => T)) - & ((interceptor: (value: T) => any, value: T) => T); - thru: - & ((interceptor: (value: T1) => T2) => ((value: T1) => T2)) - & ((interceptor: (value: T1) => T2, value: T1) => T2); - - // String - camelCase(string: string): string; - capitalize(string: string): string; - deburr(string: string): string; - endsWith: - & ((target: string) => ((string: string) => boolean)) - & ((target: string, string: string) => boolean); - escape(string: string): string; - escapeRegExp(string: string): string; - kebabCase(string: string): string; - lowerCase(string: string): string; - lowerFirst(string: string): string; - pad: - & ((length: number) => ((string: string) => string)) - & ((length: number, string: string) => string); - padChars: - & (( - chars: string - ) => (((length: number) => (string: string) => string) & - ((length: number, string: string) => string))) - & ((chars: string, length: number) => ((string: string) => string)) - & ((chars: string, length: number, string: string) => string); - padEnd: - & ((length: number) => ((string: string) => string)) - & ((length: number, string: string) => string); - padCharsEnd: - & (( - chars: string - ) => (((length: number) => (string: string) => string) & - ((length: number, string: string) => string))) - & ((chars: string, length: number) => ((string: string) => string)) - & ((chars: string, length: number, string: string) => string); - padStart: - & ((length: number) => ((string: string) => string)) - & ((length: number, string: string) => string); - padCharsStart: - & (( - chars: string - ) => (((length: number) => (string: string) => string) & - ((length: number, string: string) => string))) - & ((chars: string, length: number) => ((string: string) => string)) - & ((chars: string, length: number, string: string) => string); - parseInt: - & ((radix: number) => ((string: string) => number)) - & ((radix: number, string: string) => number); - repeat: - & ((n: number) => (string: string) => string) - & ((n: number, string: string) => string); - replace: - & (( - pattern: RegExp | string - ) => ((( - replacement: ((string: string) => string) | string - ) => (string: string) => string) & - (( - replacement: ((string: string) => string) | string, - string: string - ) => string))) - & (( - pattern: RegExp | string, - replacement: ((string: string) => string) | string - ) => ((string: string) => string)) - & (( - pattern: RegExp | string, - replacement: ((string: string) => string) | string, - string: string - ) => string); - snakeCase(string: string): string; - split: - & ((separator: RegExp | string) => ((string: string) => Array)) - & ((separator: RegExp | string, string: string) => Array); - startCase(string: string): string; - startsWith: - & ((target: string) => ((string: string) => boolean)) - & ((target: string, string: string) => boolean); - template(string: string): Function; - toLower(string: string): string; - toUpper(string: string): string; - trim(string: string): string; - trimChars: - & ((chars: string) => ((string: string) => string)) - & ((chars: string, string: string) => string); - trimEnd(string: string): string; - trimCharsEnd: - & ((chars: string) => ((string: string) => string)) - & ((chars: string, string: string) => string); - trimStart(string: string): string; - trimCharsStart: - & ((chars: string) => ((string: string) => string)) - & ((chars: string, string: string) => string); - truncate: - & ((options: TruncateOptions) => ((string: string) => string)) - & ((options: TruncateOptions, string: string) => string); - unescape(string: string): string; - upperCase(string: string): string; - upperFirst(string: string): string; - words(string: string): Array; - - // Util - attempt(func: Function): any; - bindAll: - & ((methodNames: $ReadOnlyArray) => ((object: Object) => Object)) - & ((methodNames: $ReadOnlyArray, object: Object) => Object); - cond(pairs: NestedArray): Function; - constant(value: T): () => T; - always(value: T): () => T; - defaultTo: - & ((defaultValue: T2) => ((value: T1) => T2)) - & ((defaultValue: T2, value: T1) => T2) - & (( - defaultValue: T2 - ) => ((value: T1) => T1)) - & (( - defaultValue: T2, - value: T1 - ) => T1) - // NaN is a number instead of its own type, otherwise it would behave like null/void - & ((defaultValue: T2) => ((value: T1) => T1 | T2)) - & ((defaultValue: T2, value: T1) => T1 | T2); - flow: ((funcs: $ReadOnlyArray) => Function) & typeof composeReverse; - pipe: ((funcs: $ReadOnlyArray) => Function) & typeof composeReverse; - flowRight: ((funcs: $ReadOnlyArray) => Function) & typeof compose; - compose: ((funcs: $ReadOnlyArray) => Function) & typeof compose; - identity(value: T): T; - iteratee(func: any): Function; - matches: - & ((source: Object) => ((object: Object) => boolean)) - & ((source: Object, object: Object) => boolean); - matchesProperty: - & ((path: Path) => ((srcValue: any) => Function)) - & ((path: Path, srcValue: any) => Function); - propEq: - & ((path: Path) => ((srcValue: any) => Function)) - & ((path: Path, srcValue: any) => Function); - pathEq: - & ((path: Path) => ((srcValue: any) => Function)) - & ((path: Path, srcValue: any) => Function); - method(path: Path): Function; - methodOf(object: Object): Function; - mixin: - & (( - object: T - ) => (((source: Object) => (options: { chain: boolean, ... }) => T) & - ((source: Object, options: { chain: boolean, ... }) => T))) - & (( - object: T, - source: Object - ) => ((options: { chain: boolean, ... }) => T)) - & (( - object: T, - source: Object, - options: { chain: boolean, ... } - ) => T); - noConflict(): Lodash; - noop(...args: $ReadOnlyArray): void; - nthArg(n: number): Function; - over(iteratees: $ReadOnlyArray): Function; - juxt(iteratees: $ReadOnlyArray): Function; - overEvery(predicates: $ReadOnlyArray): Function; - allPass(predicates: $ReadOnlyArray): Function; - overSome(predicates: $ReadOnlyArray): Function; - anyPass(predicates: $ReadOnlyArray): Function; - property: - & (( - path: Path - ) => ((object: Object | $ReadOnlyArray) => any)) - & ((path: Path, object: Object | $ReadOnlyArray) => any); - propertyOf: - & ((object: Object) => ((path: Path) => Function)) - & ((object: Object, path: Path) => Function); - range: - & ((start: number) => ((end: number) => Array)) - & (start: number, end: number) => Array; - rangeStep: - & (( - step: number - ) => (((start: number) => (end: number) => Array) & - ((start: number, end: number) => Array))) - & ((step: number, start: number) => ((end: number) => Array)) - & ((step: number, start: number, end: number) => Array); - rangeRight: - & ((start: number) => ((end: number) => Array)) - & ((start: number, end: number) => Array); - rangeStepRight: - & (( - step: number - ) => (((start: number) => (end: number) => Array) & - ((start: number, end: number) => Array))) - & ((step: number, start: number) => ((end: number) => Array)) - & ((step: number, start: number, end: number) => Array); - runInContext(context: Object): Function; - - stubArray(): Array; - stubFalse(): false; - F(): false; - stubObject(): {...}; - stubString(): ""; - stubTrue(): true; - T(): true; - times: - & ((iteratee: (i: number) => T) => ((n: number) => Array)) - & ((iteratee: (i: number) => T, n: number) => Array); - toPath(value: any): Array; - uniqueId(prefix: string): string; - - __: any; - placeholder: any; - - convert(options: { - cap?: boolean, - curry?: boolean, - fixed?: boolean, - immutable?: boolean, - rearg?: boolean, - ... - }): void; - - // Properties - VERSION: string; - templateSettings: TemplateSettings; - |} - - declare module.exports: Lodash; -} - -declare module "lodash/chunk" { - declare module.exports: $Exports<"lodash">["chunk"]; -} - -declare module "lodash/compact" { - declare module.exports: $Exports<"lodash">["compact"]; -} - -declare module "lodash/concat" { - declare module.exports: $Exports<"lodash">["concat"]; -} - -declare module "lodash/difference" { - declare module.exports: $Exports<"lodash">["difference"]; -} - -declare module "lodash/differenceBy" { - declare module.exports: $Exports<"lodash">["differenceBy"]; -} - -declare module "lodash/differenceWith" { - declare module.exports: $Exports<"lodash">["differenceWith"]; -} - -declare module "lodash/drop" { - declare module.exports: $Exports<"lodash">["drop"]; -} - -declare module "lodash/dropRight" { - declare module.exports: $Exports<"lodash">["dropRight"]; -} - -declare module "lodash/dropRightWhile" { - declare module.exports: $Exports<"lodash">["dropRightWhile"]; -} - -declare module "lodash/dropWhile" { - declare module.exports: $Exports<"lodash">["dropWhile"]; -} - -declare module "lodash/fill" { - declare module.exports: $Exports<"lodash">["fill"]; -} - -declare module "lodash/findIndex" { - declare module.exports: $Exports<"lodash">["findIndex"]; -} - -declare module "lodash/findLastIndex" { - declare module.exports: $Exports<"lodash">["findLastIndex"]; -} - -declare module "lodash/first" { - declare module.exports: $Exports<"lodash">["first"]; -} - -declare module "lodash/flatten" { - declare module.exports: $Exports<"lodash">["flatten"]; -} - -declare module "lodash/flattenDeep" { - declare module.exports: $Exports<"lodash">["flattenDeep"]; -} - -declare module "lodash/flattenDepth" { - declare module.exports: $Exports<"lodash">["flattenDepth"]; -} - -declare module "lodash/fromPairs" { - declare module.exports: $Exports<"lodash">["fromPairs"]; -} - -declare module "lodash/head" { - declare module.exports: $Exports<"lodash">["head"]; -} - -declare module "lodash/indexOf" { - declare module.exports: $Exports<"lodash">["indexOf"]; -} - -declare module "lodash/initial" { - declare module.exports: $Exports<"lodash">["initial"]; -} - -declare module "lodash/intersection" { - declare module.exports: $Exports<"lodash">["intersection"]; -} - -declare module "lodash/intersectionBy" { - declare module.exports: $Exports<"lodash">["intersectionBy"]; -} - -declare module "lodash/intersectionWith" { - declare module.exports: $Exports<"lodash">["intersectionWith"]; -} - -declare module "lodash/join" { - declare module.exports: $Exports<"lodash">["join"]; -} - -declare module "lodash/last" { - declare module.exports: $Exports<"lodash">["last"]; -} - -declare module "lodash/lastIndexOf" { - declare module.exports: $Exports<"lodash">["lastIndexOf"]; -} - -declare module "lodash/nth" { - declare module.exports: $Exports<"lodash">["nth"]; -} - -declare module "lodash/pull" { - declare module.exports: $Exports<"lodash">["pull"]; -} - -declare module "lodash/pullAll" { - declare module.exports: $Exports<"lodash">["pullAll"]; -} - -declare module "lodash/pullAllBy" { - declare module.exports: $Exports<"lodash">["pullAllBy"]; -} - -declare module "lodash/pullAllWith" { - declare module.exports: $Exports<"lodash">["pullAllWith"]; -} - -declare module "lodash/pullAt" { - declare module.exports: $Exports<"lodash">["pullAt"]; -} - -declare module "lodash/remove" { - declare module.exports: $Exports<"lodash">["remove"]; -} - -declare module "lodash/reverse" { - declare module.exports: $Exports<"lodash">["reverse"]; -} - -declare module "lodash/slice" { - declare module.exports: $Exports<"lodash">["slice"]; -} - -declare module "lodash/sortedIndex" { - declare module.exports: $Exports<"lodash">["sortedIndex"]; -} - -declare module "lodash/sortedIndexBy" { - declare module.exports: $Exports<"lodash">["sortedIndexBy"]; -} - -declare module "lodash/sortedIndexOf" { - declare module.exports: $Exports<"lodash">["sortedIndexOf"]; -} - -declare module "lodash/sortedLastIndex" { - declare module.exports: $Exports<"lodash">["sortedLastIndex"]; -} - -declare module "lodash/sortedLastIndexBy" { - declare module.exports: $Exports<"lodash">["sortedLastIndexBy"]; -} - -declare module "lodash/sortedLastIndexOf" { - declare module.exports: $Exports<"lodash">["sortedLastIndexOf"]; -} - -declare module "lodash/sortedUniq" { - declare module.exports: $Exports<"lodash">["sortedUniq"]; -} - -declare module "lodash/sortedUniqBy" { - declare module.exports: $Exports<"lodash">["sortedUniqBy"]; -} - -declare module "lodash/tail" { - declare module.exports: $Exports<"lodash">["tail"]; -} - -declare module "lodash/take" { - declare module.exports: $Exports<"lodash">["take"]; -} - -declare module "lodash/takeRight" { - declare module.exports: $Exports<"lodash">["takeRight"]; -} - -declare module "lodash/takeRightWhile" { - declare module.exports: $Exports<"lodash">["takeRightWhile"]; -} - -declare module "lodash/takeWhile" { - declare module.exports: $Exports<"lodash">["takeWhile"]; -} - -declare module "lodash/union" { - declare module.exports: $Exports<"lodash">["union"]; -} - -declare module "lodash/unionBy" { - declare module.exports: $Exports<"lodash">["unionBy"]; -} - -declare module "lodash/unionWith" { - declare module.exports: $Exports<"lodash">["unionWith"]; -} - -declare module "lodash/uniq" { - declare module.exports: $Exports<"lodash">["uniq"]; -} - -declare module "lodash/uniqBy" { - declare module.exports: $Exports<"lodash">["uniqBy"]; -} - -declare module "lodash/uniqWith" { - declare module.exports: $Exports<"lodash">["uniqWith"]; -} - -declare module "lodash/unzip" { - declare module.exports: $Exports<"lodash">["unzip"]; -} - -declare module "lodash/unzipWith" { - declare module.exports: $Exports<"lodash">["unzipWith"]; -} - -declare module "lodash/without" { - declare module.exports: $Exports<"lodash">["without"]; -} - -declare module "lodash/xor" { - declare module.exports: $Exports<"lodash">["xor"]; -} - -declare module "lodash/xorBy" { - declare module.exports: $Exports<"lodash">["xorBy"]; -} - -declare module "lodash/xorWith" { - declare module.exports: $Exports<"lodash">["xorWith"]; -} - -declare module "lodash/zip" { - declare module.exports: $Exports<"lodash">["zip"]; -} - -declare module "lodash/zipObject" { - declare module.exports: $Exports<"lodash">["zipObject"]; -} - -declare module "lodash/zipObjectDeep" { - declare module.exports: $Exports<"lodash">["zipObjectDeep"]; -} - -declare module "lodash/zipWith" { - declare module.exports: $Exports<"lodash">["zipWith"]; -} - -declare module "lodash/countBy" { - declare module.exports: $Exports<"lodash">["countBy"]; -} - -declare module "lodash/each" { - declare module.exports: $Exports<"lodash">["each"]; -} - -declare module "lodash/eachRight" { - declare module.exports: $Exports<"lodash">["eachRight"]; -} - -declare module "lodash/every" { - declare module.exports: $Exports<"lodash">["every"]; -} - -declare module "lodash/filter" { - declare module.exports: $Exports<"lodash">["filter"]; -} - -declare module "lodash/find" { - declare module.exports: $Exports<"lodash">["find"]; -} - -declare module "lodash/findLast" { - declare module.exports: $Exports<"lodash">["findLast"]; -} - -declare module "lodash/flatMap" { - declare module.exports: $Exports<"lodash">["flatMap"]; -} - -declare module "lodash/flatMapDeep" { - declare module.exports: $Exports<"lodash">["flatMapDeep"]; -} - -declare module "lodash/flatMapDepth" { - declare module.exports: $Exports<"lodash">["flatMapDepth"]; -} - -declare module "lodash/forEach" { - declare module.exports: $Exports<"lodash">["forEach"]; -} - -declare module "lodash/forEachRight" { - declare module.exports: $Exports<"lodash">["forEachRight"]; -} - -declare module "lodash/groupBy" { - declare module.exports: $Exports<"lodash">["groupBy"]; -} - -declare module "lodash/includes" { - declare module.exports: $Exports<"lodash">["includes"]; -} - -declare module "lodash/invokeMap" { - declare module.exports: $Exports<"lodash">["invokeMap"]; -} - -declare module "lodash/keyBy" { - declare module.exports: $Exports<"lodash">["keyBy"]; -} - -declare module "lodash/map" { - declare module.exports: $Exports<"lodash">["map"]; -} - -declare module "lodash/orderBy" { - declare module.exports: $Exports<"lodash">["orderBy"]; -} - -declare module "lodash/partition" { - declare module.exports: $Exports<"lodash">["partition"]; -} - -declare module "lodash/reduce" { - declare module.exports: $Exports<"lodash">["reduce"]; -} - -declare module "lodash/reduceRight" { - declare module.exports: $Exports<"lodash">["reduceRight"]; -} - -declare module "lodash/reject" { - declare module.exports: $Exports<"lodash">["reject"]; -} - -declare module "lodash/sample" { - declare module.exports: $Exports<"lodash">["sample"]; -} - -declare module "lodash/sampleSize" { - declare module.exports: $Exports<"lodash">["sampleSize"]; -} - -declare module "lodash/shuffle" { - declare module.exports: $Exports<"lodash">["shuffle"]; -} - -declare module "lodash/size" { - declare module.exports: $Exports<"lodash">["size"]; -} - -declare module "lodash/some" { - declare module.exports: $Exports<"lodash">["some"]; -} - -declare module "lodash/sortBy" { - declare module.exports: $Exports<"lodash">["sortBy"]; -} - -declare module "lodash/now" { - declare module.exports: $Exports<"lodash">["now"]; -} - -declare module "lodash/after" { - declare module.exports: $Exports<"lodash">["after"]; -} - -declare module "lodash/ary" { - declare module.exports: $Exports<"lodash">["ary"]; -} - -declare module "lodash/before" { - declare module.exports: $Exports<"lodash">["before"]; -} - -declare module "lodash/bind" { - declare module.exports: $Exports<"lodash">["bind"]; -} - -declare module "lodash/bindKey" { - declare module.exports: $Exports<"lodash">["bindKey"]; -} - -declare module "lodash/curry" { - declare module.exports: $Exports<"lodash">["curry"]; -} - -declare module "lodash/curryRight" { - declare module.exports: $Exports<"lodash">["curryRight"]; -} - -declare module "lodash/debounce" { - declare module.exports: $Exports<"lodash">["debounce"]; -} - -declare module "lodash/defer" { - declare module.exports: $Exports<"lodash">["defer"]; -} - -declare module "lodash/delay" { - declare module.exports: $Exports<"lodash">["delay"]; -} - -declare module "lodash/flip" { - declare module.exports: $Exports<"lodash">["flip"]; -} - -declare module "lodash/memoize" { - declare module.exports: $Exports<"lodash">["memoize"]; -} - -declare module "lodash/negate" { - declare module.exports: $Exports<"lodash">["negate"]; -} - -declare module "lodash/once" { - declare module.exports: $Exports<"lodash">["once"]; -} - -declare module "lodash/overArgs" { - declare module.exports: $Exports<"lodash">["overArgs"]; -} - -declare module "lodash/partial" { - declare module.exports: $Exports<"lodash">["partial"]; -} - -declare module "lodash/partialRight" { - declare module.exports: $Exports<"lodash">["partialRight"]; -} - -declare module "lodash/rearg" { - declare module.exports: $Exports<"lodash">["rearg"]; -} - -declare module "lodash/rest" { - declare module.exports: $Exports<"lodash">["rest"]; -} - -declare module "lodash/spread" { - declare module.exports: $Exports<"lodash">["spread"]; -} - -declare module "lodash/throttle" { - declare module.exports: $Exports<"lodash">["throttle"]; -} - -declare module "lodash/unary" { - declare module.exports: $Exports<"lodash">["unary"]; -} - -declare module "lodash/wrap" { - declare module.exports: $Exports<"lodash">["wrap"]; -} - -declare module "lodash/castArray" { - declare module.exports: $Exports<"lodash">["castArray"]; -} - -declare module "lodash/clone" { - declare module.exports: $Exports<"lodash">["clone"]; -} - -declare module "lodash/cloneDeep" { - declare module.exports: $Exports<"lodash">["cloneDeep"]; -} - -declare module "lodash/cloneDeepWith" { - declare module.exports: $Exports<"lodash">["cloneDeepWith"]; -} - -declare module "lodash/cloneWith" { - declare module.exports: $Exports<"lodash">["cloneWith"]; -} - -declare module "lodash/conformsTo" { - declare module.exports: $Exports<"lodash">["conformsTo"]; -} - -declare module "lodash/eq" { - declare module.exports: $Exports<"lodash">["eq"]; -} - -declare module "lodash/gt" { - declare module.exports: $Exports<"lodash">["gt"]; -} - -declare module "lodash/gte" { - declare module.exports: $Exports<"lodash">["gte"]; -} - -declare module "lodash/isArguments" { - declare module.exports: $Exports<"lodash">["isArguments"]; -} - -declare module "lodash/isArray" { - declare module.exports: $Exports<"lodash">["isArray"]; -} - -declare module "lodash/isArrayBuffer" { - declare module.exports: $Exports<"lodash">["isArrayBuffer"]; -} - -declare module "lodash/isArrayLike" { - declare module.exports: $Exports<"lodash">["isArrayLike"]; -} - -declare module "lodash/isArrayLikeObject" { - declare module.exports: $Exports<"lodash">["isArrayLikeObject"]; -} - -declare module "lodash/isBoolean" { - declare module.exports: $Exports<"lodash">["isBoolean"]; -} - -declare module "lodash/isBuffer" { - declare module.exports: $Exports<"lodash">["isBuffer"]; -} - -declare module "lodash/isDate" { - declare module.exports: $Exports<"lodash">["isDate"]; -} - -declare module "lodash/isElement" { - declare module.exports: $Exports<"lodash">["isElement"]; -} - -declare module "lodash/isEmpty" { - declare module.exports: $Exports<"lodash">["isEmpty"]; -} - -declare module "lodash/isEqual" { - declare module.exports: $Exports<"lodash">["isEqual"]; -} - -declare module "lodash/isEqualWith" { - declare module.exports: $Exports<"lodash">["isEqualWith"]; -} - -declare module "lodash/isError" { - declare module.exports: $Exports<"lodash">["isError"]; -} - -declare module "lodash/isFinite" { - declare module.exports: $Exports<"lodash">["isFinite"]; -} - -declare module "lodash/isFunction" { - declare module.exports: $Exports<"lodash">["isFunction"]; -} - -declare module "lodash/isInteger" { - declare module.exports: $Exports<"lodash">["isInteger"]; -} - -declare module "lodash/isLength" { - declare module.exports: $Exports<"lodash">["isLength"]; -} - -declare module "lodash/isMap" { - declare module.exports: $Exports<"lodash">["isMap"]; -} - -declare module "lodash/isMatch" { - declare module.exports: $Exports<"lodash">["isMatch"]; -} - -declare module "lodash/isMatchWith" { - declare module.exports: $Exports<"lodash">["isMatchWith"]; -} - -declare module "lodash/isNaN" { - declare module.exports: $Exports<"lodash">["isNaN"]; -} - -declare module "lodash/isNative" { - declare module.exports: $Exports<"lodash">["isNative"]; -} - -declare module "lodash/isNil" { - declare module.exports: $Exports<"lodash">["isNil"]; -} - -declare module "lodash/isNull" { - declare module.exports: $Exports<"lodash">["isNull"]; -} - -declare module "lodash/isNumber" { - declare module.exports: $Exports<"lodash">["isNumber"]; -} - -declare module "lodash/isObject" { - declare module.exports: $Exports<"lodash">["isObject"]; -} - -declare module "lodash/isObjectLike" { - declare module.exports: $Exports<"lodash">["isObjectLike"]; -} - -declare module "lodash/isPlainObject" { - declare module.exports: $Exports<"lodash">["isPlainObject"]; -} - -declare module "lodash/isRegExp" { - declare module.exports: $Exports<"lodash">["isRegExp"]; -} - -declare module "lodash/isSafeInteger" { - declare module.exports: $Exports<"lodash">["isSafeInteger"]; -} - -declare module "lodash/isSet" { - declare module.exports: $Exports<"lodash">["isSet"]; -} - -declare module "lodash/isString" { - declare module.exports: $Exports<"lodash">["isString"]; -} - -declare module "lodash/isSymbol" { - declare module.exports: $Exports<"lodash">["isSymbol"]; -} - -declare module "lodash/isTypedArray" { - declare module.exports: $Exports<"lodash">["isTypedArray"]; -} - -declare module "lodash/isUndefined" { - declare module.exports: $Exports<"lodash">["isUndefined"]; -} - -declare module "lodash/isWeakMap" { - declare module.exports: $Exports<"lodash">["isWeakMap"]; -} - -declare module "lodash/isWeakSet" { - declare module.exports: $Exports<"lodash">["isWeakSet"]; -} - -declare module "lodash/lt" { - declare module.exports: $Exports<"lodash">["lt"]; -} - -declare module "lodash/lte" { - declare module.exports: $Exports<"lodash">["lte"]; -} - -declare module "lodash/toArray" { - declare module.exports: $Exports<"lodash">["toArray"]; -} - -declare module "lodash/toFinite" { - declare module.exports: $Exports<"lodash">["toFinite"]; -} - -declare module "lodash/toInteger" { - declare module.exports: $Exports<"lodash">["toInteger"]; -} - -declare module "lodash/toLength" { - declare module.exports: $Exports<"lodash">["toLength"]; -} - -declare module "lodash/toNumber" { - declare module.exports: $Exports<"lodash">["toNumber"]; -} - -declare module "lodash/toPlainObject" { - declare module.exports: $Exports<"lodash">["toPlainObject"]; -} - -declare module "lodash/toSafeInteger" { - declare module.exports: $Exports<"lodash">["toSafeInteger"]; -} - -declare module "lodash/toString" { - declare module.exports: $Exports<"lodash">["toString"]; -} - -declare module "lodash/add" { - declare module.exports: $Exports<"lodash">["add"]; -} - -declare module "lodash/ceil" { - declare module.exports: $Exports<"lodash">["ceil"]; -} - -declare module "lodash/divide" { - declare module.exports: $Exports<"lodash">["divide"]; -} - -declare module "lodash/floor" { - declare module.exports: $Exports<"lodash">["floor"]; -} - -declare module "lodash/max" { - declare module.exports: $Exports<"lodash">["max"]; -} - -declare module "lodash/maxBy" { - declare module.exports: $Exports<"lodash">["maxBy"]; -} - -declare module "lodash/mean" { - declare module.exports: $Exports<"lodash">["mean"]; -} - -declare module "lodash/meanBy" { - declare module.exports: $Exports<"lodash">["meanBy"]; -} - -declare module "lodash/min" { - declare module.exports: $Exports<"lodash">["min"]; -} - -declare module "lodash/minBy" { - declare module.exports: $Exports<"lodash">["minBy"]; -} - -declare module "lodash/multiply" { - declare module.exports: $Exports<"lodash">["multiply"]; -} - -declare module "lodash/round" { - declare module.exports: $Exports<"lodash">["round"]; -} - -declare module "lodash/subtract" { - declare module.exports: $Exports<"lodash">["subtract"]; -} - -declare module "lodash/sum" { - declare module.exports: $Exports<"lodash">["sum"]; -} - -declare module "lodash/sumBy" { - declare module.exports: $Exports<"lodash">["sumBy"]; -} - -declare module "lodash/clamp" { - declare module.exports: $Exports<"lodash">["clamp"]; -} - -declare module "lodash/inRange" { - declare module.exports: $Exports<"lodash">["inRange"]; -} - -declare module "lodash/random" { - declare module.exports: $Exports<"lodash">["random"]; -} - -declare module "lodash/assign" { - declare module.exports: $Exports<"lodash">["assign"]; -} - -declare module "lodash/assignIn" { - declare module.exports: $Exports<"lodash">["assignIn"]; -} - -declare module "lodash/assignInWith" { - declare module.exports: $Exports<"lodash">["assignInWith"]; -} - -declare module "lodash/assignWith" { - declare module.exports: $Exports<"lodash">["assignWith"]; -} - -declare module "lodash/at" { - declare module.exports: $Exports<"lodash">["at"]; -} - -declare module "lodash/create" { - declare module.exports: $Exports<"lodash">["create"]; -} - -declare module "lodash/defaults" { - declare module.exports: $Exports<"lodash">["defaults"]; -} - -declare module "lodash/defaultsDeep" { - declare module.exports: $Exports<"lodash">["defaultsDeep"]; -} - -declare module "lodash/entries" { - declare module.exports: $Exports<"lodash">["entries"]; -} - -declare module "lodash/entriesIn" { - declare module.exports: $Exports<"lodash">["entriesIn"]; -} - -declare module "lodash/extend" { - declare module.exports: $Exports<"lodash">["extend"]; -} - -declare module "lodash/extendWith" { - declare module.exports: $Exports<"lodash">["extendWith"]; -} - -declare module "lodash/findKey" { - declare module.exports: $Exports<"lodash">["findKey"]; -} - -declare module "lodash/findLastKey" { - declare module.exports: $Exports<"lodash">["findLastKey"]; -} - -declare module "lodash/forIn" { - declare module.exports: $Exports<"lodash">["forIn"]; -} - -declare module "lodash/forInRight" { - declare module.exports: $Exports<"lodash">["forInRight"]; -} - -declare module "lodash/forOwn" { - declare module.exports: $Exports<"lodash">["forOwn"]; -} - -declare module "lodash/forOwnRight" { - declare module.exports: $Exports<"lodash">["forOwnRight"]; -} - -declare module "lodash/functions" { - declare module.exports: $Exports<"lodash">["functions"]; -} - -declare module "lodash/functionsIn" { - declare module.exports: $Exports<"lodash">["functionsIn"]; -} - -declare module "lodash/get" { - declare module.exports: $Exports<"lodash">["get"]; -} - -declare module "lodash/has" { - declare module.exports: $Exports<"lodash">["has"]; -} - -declare module "lodash/hasIn" { - declare module.exports: $Exports<"lodash">["hasIn"]; -} - -declare module "lodash/invert" { - declare module.exports: $Exports<"lodash">["invert"]; -} - -declare module "lodash/invertBy" { - declare module.exports: $Exports<"lodash">["invertBy"]; -} - -declare module "lodash/invoke" { - declare module.exports: $Exports<"lodash">["invoke"]; -} - -declare module "lodash/keys" { - declare module.exports: $Exports<"lodash">["keys"]; -} - -declare module "lodash/keysIn" { - declare module.exports: $Exports<"lodash">["keysIn"]; -} - -declare module "lodash/mapKeys" { - declare module.exports: $Exports<"lodash">["mapKeys"]; -} - -declare module "lodash/mapValues" { - declare module.exports: $Exports<"lodash">["mapValues"]; -} - -declare module "lodash/merge" { - declare module.exports: $Exports<"lodash">["merge"]; -} - -declare module "lodash/mergeWith" { - declare module.exports: $Exports<"lodash">["mergeWith"]; -} - -declare module "lodash/omit" { - declare module.exports: $Exports<"lodash">["omit"]; -} - -declare module "lodash/omitBy" { - declare module.exports: $Exports<"lodash">["omitBy"]; -} - -declare module "lodash/pick" { - declare module.exports: $Exports<"lodash">["pick"]; -} - -declare module "lodash/pickBy" { - declare module.exports: $Exports<"lodash">["pickBy"]; -} - -declare module "lodash/result" { - declare module.exports: $Exports<"lodash">["result"]; -} - -declare module "lodash/set" { - declare module.exports: $Exports<"lodash">["set"]; -} - -declare module "lodash/setWith" { - declare module.exports: $Exports<"lodash">["setWith"]; -} - -declare module "lodash/toPairs" { - declare module.exports: $Exports<"lodash">["toPairs"]; -} - -declare module "lodash/toPairsIn" { - declare module.exports: $Exports<"lodash">["toPairsIn"]; -} - -declare module "lodash/transform" { - declare module.exports: $Exports<"lodash">["transform"]; -} - -declare module "lodash/unset" { - declare module.exports: $Exports<"lodash">["unset"]; -} - -declare module "lodash/update" { - declare module.exports: $Exports<"lodash">["update"]; -} - -declare module "lodash/updateWith" { - declare module.exports: $Exports<"lodash">["updateWith"]; -} - -declare module "lodash/values" { - declare module.exports: $Exports<"lodash">["values"]; -} - -declare module "lodash/valuesIn" { - declare module.exports: $Exports<"lodash">["valuesIn"]; -} - -declare module "lodash/chain" { - declare module.exports: $Exports<"lodash">["chain"]; -} - -declare module "lodash/tap" { - declare module.exports: $Exports<"lodash">["tap"]; -} - -declare module "lodash/thru" { - declare module.exports: $Exports<"lodash">["thru"]; -} - -declare module "lodash/camelCase" { - declare module.exports: $Exports<"lodash">["camelCase"]; -} - -declare module "lodash/capitalize" { - declare module.exports: $Exports<"lodash">["capitalize"]; -} - -declare module "lodash/deburr" { - declare module.exports: $Exports<"lodash">["deburr"]; -} - -declare module "lodash/endsWith" { - declare module.exports: $Exports<"lodash">["endsWith"]; -} - -declare module "lodash/escape" { - declare module.exports: $Exports<"lodash">["escape"]; -} - -declare module "lodash/escapeRegExp" { - declare module.exports: $Exports<"lodash">["escapeRegExp"]; -} - -declare module "lodash/kebabCase" { - declare module.exports: $Exports<"lodash">["kebabCase"]; -} - -declare module "lodash/lowerCase" { - declare module.exports: $Exports<"lodash">["lowerCase"]; -} - -declare module "lodash/lowerFirst" { - declare module.exports: $Exports<"lodash">["lowerFirst"]; -} - -declare module "lodash/pad" { - declare module.exports: $Exports<"lodash">["pad"]; -} - -declare module "lodash/padEnd" { - declare module.exports: $Exports<"lodash">["padEnd"]; -} - -declare module "lodash/padStart" { - declare module.exports: $Exports<"lodash">["padStart"]; -} - -declare module "lodash/parseInt" { - declare module.exports: $Exports<"lodash">["parseInt"]; -} - -declare module "lodash/repeat" { - declare module.exports: $Exports<"lodash">["repeat"]; -} - -declare module "lodash/replace" { - declare module.exports: $Exports<"lodash">["replace"]; -} - -declare module "lodash/snakeCase" { - declare module.exports: $Exports<"lodash">["snakeCase"]; -} - -declare module "lodash/split" { - declare module.exports: $Exports<"lodash">["split"]; -} - -declare module "lodash/startCase" { - declare module.exports: $Exports<"lodash">["startCase"]; -} - -declare module "lodash/startsWith" { - declare module.exports: $Exports<"lodash">["startsWith"]; -} - -declare module "lodash/template" { - declare module.exports: $Exports<"lodash">["template"]; -} - -declare module "lodash/toLower" { - declare module.exports: $Exports<"lodash">["toLower"]; -} - -declare module "lodash/toUpper" { - declare module.exports: $Exports<"lodash">["toUpper"]; -} - -declare module "lodash/trim" { - declare module.exports: $Exports<"lodash">["trim"]; -} - -declare module "lodash/trimEnd" { - declare module.exports: $Exports<"lodash">["trimEnd"]; -} - -declare module "lodash/trimStart" { - declare module.exports: $Exports<"lodash">["trimStart"]; -} - -declare module "lodash/truncate" { - declare module.exports: $Exports<"lodash">["truncate"]; -} - -declare module "lodash/unescape" { - declare module.exports: $Exports<"lodash">["unescape"]; -} - -declare module "lodash/upperCase" { - declare module.exports: $Exports<"lodash">["upperCase"]; -} - -declare module "lodash/upperFirst" { - declare module.exports: $Exports<"lodash">["upperFirst"]; -} - -declare module "lodash/words" { - declare module.exports: $Exports<"lodash">["words"]; -} - -declare module "lodash/attempt" { - declare module.exports: $Exports<"lodash">["attempt"]; -} - -declare module "lodash/bindAll" { - declare module.exports: $Exports<"lodash">["bindAll"]; -} - -declare module "lodash/cond" { - declare module.exports: $Exports<"lodash">["cond"]; -} - -declare module "lodash/conforms" { - declare module.exports: $Exports<"lodash">["conforms"]; -} - -declare module "lodash/constant" { - declare module.exports: $Exports<"lodash">["constant"]; -} - -declare module "lodash/defaultTo" { - declare module.exports: $Exports<"lodash">["defaultTo"]; -} - -declare module "lodash/flow" { - declare module.exports: $Exports<"lodash">["flow"]; -} - -declare module "lodash/flowRight" { - declare module.exports: $Exports<"lodash">["flowRight"]; -} - -declare module "lodash/identity" { - declare module.exports: $Exports<"lodash">["identity"]; -} - -declare module "lodash/iteratee" { - declare module.exports: $Exports<"lodash">["iteratee"]; -} - -declare module "lodash/matches" { - declare module.exports: $Exports<"lodash">["matches"]; -} - -declare module "lodash/matchesProperty" { - declare module.exports: $Exports<"lodash">["matchesProperty"]; -} - -declare module "lodash/method" { - declare module.exports: $Exports<"lodash">["method"]; -} - -declare module "lodash/methodOf" { - declare module.exports: $Exports<"lodash">["methodOf"]; -} - -declare module "lodash/mixin" { - declare module.exports: $Exports<"lodash">["mixin"]; -} - -declare module "lodash/noConflict" { - declare module.exports: $Exports<"lodash">["noConflict"]; -} - -declare module "lodash/noop" { - declare module.exports: $Exports<"lodash">["noop"]; -} - -declare module "lodash/nthArg" { - declare module.exports: $Exports<"lodash">["nthArg"]; -} - -declare module "lodash/over" { - declare module.exports: $Exports<"lodash">["over"]; -} - -declare module "lodash/overEvery" { - declare module.exports: $Exports<"lodash">["overEvery"]; -} - -declare module "lodash/overSome" { - declare module.exports: $Exports<"lodash">["overSome"]; -} - -declare module "lodash/property" { - declare module.exports: $Exports<"lodash">["property"]; -} - -declare module "lodash/propertyOf" { - declare module.exports: $Exports<"lodash">["propertyOf"]; -} - -declare module "lodash/range" { - declare module.exports: $Exports<"lodash">["range"]; -} - -declare module "lodash/rangeRight" { - declare module.exports: $Exports<"lodash">["rangeRight"]; -} - -declare module "lodash/runInContext" { - declare module.exports: $Exports<"lodash">["runInContext"]; -} - -declare module "lodash/stubArray" { - declare module.exports: $Exports<"lodash">["stubArray"]; -} - -declare module "lodash/stubFalse" { - declare module.exports: $Exports<"lodash">["stubFalse"]; -} - -declare module "lodash/stubObject" { - declare module.exports: $Exports<"lodash">["stubObject"]; -} - -declare module "lodash/stubString" { - declare module.exports: $Exports<"lodash">["stubString"]; -} - -declare module "lodash/stubTrue" { - declare module.exports: $Exports<"lodash">["stubTrue"]; -} - -declare module "lodash/times" { - declare module.exports: $Exports<"lodash">["times"]; -} - -declare module "lodash/toPath" { - declare module.exports: $Exports<"lodash">["toPath"]; -} - -declare module "lodash/uniqueId" { - declare module.exports: $Exports<"lodash">["uniqueId"]; -} - -declare module "lodash/fp/chunk" { - declare module.exports: $Exports<"lodash/fp">["chunk"]; -} - -declare module "lodash/fp/compact" { - declare module.exports: $Exports<"lodash/fp">["compact"]; -} - -declare module "lodash/fp/concat" { - declare module.exports: $Exports<"lodash/fp">["concat"]; -} - -declare module "lodash/fp/difference" { - declare module.exports: $Exports<"lodash/fp">["difference"]; -} - -declare module "lodash/fp/differenceBy" { - declare module.exports: $Exports<"lodash/fp">["differenceBy"]; -} - -declare module "lodash/fp/differenceWith" { - declare module.exports: $Exports<"lodash/fp">["differenceWith"]; -} - -declare module "lodash/fp/drop" { - declare module.exports: $Exports<"lodash/fp">["drop"]; -} - -declare module "lodash/fp/dropLast" { - declare module.exports: $Exports<"lodash/fp">["dropLast"]; -} - -declare module "lodash/fp/dropRight" { - declare module.exports: $Exports<"lodash/fp">["dropRight"]; -} - -declare module "lodash/fp/dropRightWhile" { - declare module.exports: $Exports<"lodash/fp">["dropRightWhile"]; -} - -declare module "lodash/fp/dropWhile" { - declare module.exports: $Exports<"lodash/fp">["dropWhile"]; -} - -declare module "lodash/fp/dropLastWhile" { - declare module.exports: $Exports<"lodash/fp">["dropLastWhile"]; -} - -declare module "lodash/fp/fill" { - declare module.exports: $Exports<"lodash/fp">["fill"]; -} - -declare module "lodash/fp/findIndex" { - declare module.exports: $Exports<"lodash/fp">["findIndex"]; -} - -declare module "lodash/fp/findIndexFrom" { - declare module.exports: $Exports<"lodash/fp">["findIndexFrom"]; -} - -declare module "lodash/fp/findLastIndex" { - declare module.exports: $Exports<"lodash/fp">["findLastIndex"]; -} - -declare module "lodash/fp/findLastIndexFrom" { - declare module.exports: $Exports<"lodash/fp">["findLastIndexFrom"]; -} - -declare module "lodash/fp/first" { - declare module.exports: $Exports<"lodash/fp">["first"]; -} - -declare module "lodash/fp/flatten" { - declare module.exports: $Exports<"lodash/fp">["flatten"]; -} - -declare module "lodash/fp/unnest" { - declare module.exports: $Exports<"lodash/fp">["unnest"]; -} - -declare module "lodash/fp/flattenDeep" { - declare module.exports: $Exports<"lodash/fp">["flattenDeep"]; -} - -declare module "lodash/fp/flattenDepth" { - declare module.exports: $Exports<"lodash/fp">["flattenDepth"]; -} - -declare module "lodash/fp/fromPairs" { - declare module.exports: $Exports<"lodash/fp">["fromPairs"]; -} - -declare module "lodash/fp/head" { - declare module.exports: $Exports<"lodash/fp">["head"]; -} - -declare module "lodash/fp/indexOf" { - declare module.exports: $Exports<"lodash/fp">["indexOf"]; -} - -declare module "lodash/fp/indexOfFrom" { - declare module.exports: $Exports<"lodash/fp">["indexOfFrom"]; -} - -declare module "lodash/fp/initial" { - declare module.exports: $Exports<"lodash/fp">["initial"]; -} - -declare module "lodash/fp/init" { - declare module.exports: $Exports<"lodash/fp">["init"]; -} - -declare module "lodash/fp/intersection" { - declare module.exports: $Exports<"lodash/fp">["intersection"]; -} - -declare module "lodash/fp/intersectionBy" { - declare module.exports: $Exports<"lodash/fp">["intersectionBy"]; -} - -declare module "lodash/fp/intersectionWith" { - declare module.exports: $Exports<"lodash/fp">["intersectionWith"]; -} - -declare module "lodash/fp/join" { - declare module.exports: $Exports<"lodash/fp">["join"]; -} - -declare module "lodash/fp/last" { - declare module.exports: $Exports<"lodash/fp">["last"]; -} - -declare module "lodash/fp/lastIndexOf" { - declare module.exports: $Exports<"lodash/fp">["lastIndexOf"]; -} - -declare module "lodash/fp/lastIndexOfFrom" { - declare module.exports: $Exports<"lodash/fp">["lastIndexOfFrom"]; -} - -declare module "lodash/fp/nth" { - declare module.exports: $Exports<"lodash/fp">["nth"]; -} - -declare module "lodash/fp/pull" { - declare module.exports: $Exports<"lodash/fp">["pull"]; -} - -declare module "lodash/fp/pullAll" { - declare module.exports: $Exports<"lodash/fp">["pullAll"]; -} - -declare module "lodash/fp/pullAllBy" { - declare module.exports: $Exports<"lodash/fp">["pullAllBy"]; -} - -declare module "lodash/fp/pullAllWith" { - declare module.exports: $Exports<"lodash/fp">["pullAllWith"]; -} - -declare module "lodash/fp/pullAt" { - declare module.exports: $Exports<"lodash/fp">["pullAt"]; -} - -declare module "lodash/fp/remove" { - declare module.exports: $Exports<"lodash/fp">["remove"]; -} - -declare module "lodash/fp/reverse" { - declare module.exports: $Exports<"lodash/fp">["reverse"]; -} - -declare module "lodash/fp/slice" { - declare module.exports: $Exports<"lodash/fp">["slice"]; -} - -declare module "lodash/fp/sortedIndex" { - declare module.exports: $Exports<"lodash/fp">["sortedIndex"]; -} - -declare module "lodash/fp/sortedIndexBy" { - declare module.exports: $Exports<"lodash/fp">["sortedIndexBy"]; -} - -declare module "lodash/fp/sortedIndexOf" { - declare module.exports: $Exports<"lodash/fp">["sortedIndexOf"]; -} - -declare module "lodash/fp/sortedLastIndex" { - declare module.exports: $Exports<"lodash/fp">["sortedLastIndex"]; -} - -declare module "lodash/fp/sortedLastIndexBy" { - declare module.exports: $Exports<"lodash/fp">["sortedLastIndexBy"]; -} - -declare module "lodash/fp/sortedLastIndexOf" { - declare module.exports: $Exports<"lodash/fp">["sortedLastIndexOf"]; -} - -declare module "lodash/fp/sortedUniq" { - declare module.exports: $Exports<"lodash/fp">["sortedUniq"]; -} - -declare module "lodash/fp/sortedUniqBy" { - declare module.exports: $Exports<"lodash/fp">["sortedUniqBy"]; -} - -declare module "lodash/fp/tail" { - declare module.exports: $Exports<"lodash/fp">["tail"]; -} - -declare module "lodash/fp/take" { - declare module.exports: $Exports<"lodash/fp">["take"]; -} - -declare module "lodash/fp/takeRight" { - declare module.exports: $Exports<"lodash/fp">["takeRight"]; -} - -declare module "lodash/fp/takeLast" { - declare module.exports: $Exports<"lodash/fp">["takeLast"]; -} - -declare module "lodash/fp/takeRightWhile" { - declare module.exports: $Exports<"lodash/fp">["takeRightWhile"]; -} - -declare module "lodash/fp/takeLastWhile" { - declare module.exports: $Exports<"lodash/fp">["takeLastWhile"]; -} - -declare module "lodash/fp/takeWhile" { - declare module.exports: $Exports<"lodash/fp">["takeWhile"]; -} - -declare module "lodash/fp/union" { - declare module.exports: $Exports<"lodash/fp">["union"]; -} - -declare module "lodash/fp/unionBy" { - declare module.exports: $Exports<"lodash/fp">["unionBy"]; -} - -declare module "lodash/fp/unionWith" { - declare module.exports: $Exports<"lodash/fp">["unionWith"]; -} - -declare module "lodash/fp/uniq" { - declare module.exports: $Exports<"lodash/fp">["uniq"]; -} - -declare module "lodash/fp/uniqBy" { - declare module.exports: $Exports<"lodash/fp">["uniqBy"]; -} - -declare module "lodash/fp/uniqWith" { - declare module.exports: $Exports<"lodash/fp">["uniqWith"]; -} - -declare module "lodash/fp/unzip" { - declare module.exports: $Exports<"lodash/fp">["unzip"]; -} - -declare module "lodash/fp/unzipWith" { - declare module.exports: $Exports<"lodash/fp">["unzipWith"]; -} - -declare module "lodash/fp/without" { - declare module.exports: $Exports<"lodash/fp">["without"]; -} - -declare module "lodash/fp/xor" { - declare module.exports: $Exports<"lodash/fp">["xor"]; -} - -declare module "lodash/fp/symmetricDifference" { - declare module.exports: $Exports<"lodash/fp">["symmetricDifference"]; -} - -declare module "lodash/fp/xorBy" { - declare module.exports: $Exports<"lodash/fp">["xorBy"]; -} - -declare module "lodash/fp/symmetricDifferenceBy" { - declare module.exports: $Exports<"lodash/fp">["symmetricDifferenceBy"]; -} - -declare module "lodash/fp/xorWith" { - declare module.exports: $Exports<"lodash/fp">["xorWith"]; -} - -declare module "lodash/fp/symmetricDifferenceWith" { - declare module.exports: $Exports<"lodash/fp">["symmetricDifferenceWith"]; -} - -declare module "lodash/fp/zip" { - declare module.exports: $Exports<"lodash/fp">["zip"]; -} - -declare module "lodash/fp/zipAll" { - declare module.exports: $Exports<"lodash/fp">["zipAll"]; -} - -declare module "lodash/fp/zipObject" { - declare module.exports: $Exports<"lodash/fp">["zipObject"]; -} - -declare module "lodash/fp/zipObj" { - declare module.exports: $Exports<"lodash/fp">["zipObj"]; -} - -declare module "lodash/fp/zipObjectDeep" { - declare module.exports: $Exports<"lodash/fp">["zipObjectDeep"]; -} - -declare module "lodash/fp/zipWith" { - declare module.exports: $Exports<"lodash/fp">["zipWith"]; -} - -declare module "lodash/fp/countBy" { - declare module.exports: $Exports<"lodash/fp">["countBy"]; -} - -declare module "lodash/fp/each" { - declare module.exports: $Exports<"lodash/fp">["each"]; -} - -declare module "lodash/fp/eachRight" { - declare module.exports: $Exports<"lodash/fp">["eachRight"]; -} - -declare module "lodash/fp/every" { - declare module.exports: $Exports<"lodash/fp">["every"]; -} - -declare module "lodash/fp/all" { - declare module.exports: $Exports<"lodash/fp">["all"]; -} - -declare module "lodash/fp/filter" { - declare module.exports: $Exports<"lodash/fp">["filter"]; -} - -declare module "lodash/fp/find" { - declare module.exports: $Exports<"lodash/fp">["find"]; -} - -declare module "lodash/fp/findFrom" { - declare module.exports: $Exports<"lodash/fp">["findFrom"]; -} - -declare module "lodash/fp/findLast" { - declare module.exports: $Exports<"lodash/fp">["findLast"]; -} - -declare module "lodash/fp/findLastFrom" { - declare module.exports: $Exports<"lodash/fp">["findLastFrom"]; -} - -declare module "lodash/fp/flatMap" { - declare module.exports: $Exports<"lodash/fp">["flatMap"]; -} - -declare module "lodash/fp/flatMapDeep" { - declare module.exports: $Exports<"lodash/fp">["flatMapDeep"]; -} - -declare module "lodash/fp/flatMapDepth" { - declare module.exports: $Exports<"lodash/fp">["flatMapDepth"]; -} - -declare module "lodash/fp/forEach" { - declare module.exports: $Exports<"lodash/fp">["forEach"]; -} - -declare module "lodash/fp/forEachRight" { - declare module.exports: $Exports<"lodash/fp">["forEachRight"]; -} - -declare module "lodash/fp/groupBy" { - declare module.exports: $Exports<"lodash/fp">["groupBy"]; -} - -declare module "lodash/fp/includes" { - declare module.exports: $Exports<"lodash/fp">["includes"]; -} - -declare module "lodash/fp/contains" { - declare module.exports: $Exports<"lodash/fp">["contains"]; -} - -declare module "lodash/fp/includesFrom" { - declare module.exports: $Exports<"lodash/fp">["includesFrom"]; -} - -declare module "lodash/fp/invokeMap" { - declare module.exports: $Exports<"lodash/fp">["invokeMap"]; -} - -declare module "lodash/fp/invokeArgsMap" { - declare module.exports: $Exports<"lodash/fp">["invokeArgsMap"]; -} - -declare module "lodash/fp/keyBy" { - declare module.exports: $Exports<"lodash/fp">["keyBy"]; -} - -declare module "lodash/fp/indexBy" { - declare module.exports: $Exports<"lodash/fp">["indexBy"]; -} - -declare module "lodash/fp/map" { - declare module.exports: $Exports<"lodash/fp">["map"]; -} - -declare module "lodash/fp/pluck" { - declare module.exports: $Exports<"lodash/fp">["pluck"]; -} - -declare module "lodash/fp/orderBy" { - declare module.exports: $Exports<"lodash/fp">["orderBy"]; -} - -declare module "lodash/fp/partition" { - declare module.exports: $Exports<"lodash/fp">["partition"]; -} - -declare module "lodash/fp/reduce" { - declare module.exports: $Exports<"lodash/fp">["reduce"]; -} - -declare module "lodash/fp/reduceRight" { - declare module.exports: $Exports<"lodash/fp">["reduceRight"]; -} - -declare module "lodash/fp/reject" { - declare module.exports: $Exports<"lodash/fp">["reject"]; -} - -declare module "lodash/fp/sample" { - declare module.exports: $Exports<"lodash/fp">["sample"]; -} - -declare module "lodash/fp/sampleSize" { - declare module.exports: $Exports<"lodash/fp">["sampleSize"]; -} - -declare module "lodash/fp/shuffle" { - declare module.exports: $Exports<"lodash/fp">["shuffle"]; -} - -declare module "lodash/fp/size" { - declare module.exports: $Exports<"lodash/fp">["size"]; -} - -declare module "lodash/fp/some" { - declare module.exports: $Exports<"lodash/fp">["some"]; -} - -declare module "lodash/fp/any" { - declare module.exports: $Exports<"lodash/fp">["any"]; -} - -declare module "lodash/fp/sortBy" { - declare module.exports: $Exports<"lodash/fp">["sortBy"]; -} - -declare module "lodash/fp/now" { - declare module.exports: $Exports<"lodash/fp">["now"]; -} - -declare module "lodash/fp/after" { - declare module.exports: $Exports<"lodash/fp">["after"]; -} - -declare module "lodash/fp/ary" { - declare module.exports: $Exports<"lodash/fp">["ary"]; -} - -declare module "lodash/fp/nAry" { - declare module.exports: $Exports<"lodash/fp">["nAry"]; -} - -declare module "lodash/fp/before" { - declare module.exports: $Exports<"lodash/fp">["before"]; -} - -declare module "lodash/fp/bind" { - declare module.exports: $Exports<"lodash/fp">["bind"]; -} - -declare module "lodash/fp/bindKey" { - declare module.exports: $Exports<"lodash/fp">["bindKey"]; -} - -declare module "lodash/fp/curry" { - declare module.exports: $Exports<"lodash/fp">["curry"]; -} - -declare module "lodash/fp/curryN" { - declare module.exports: $Exports<"lodash/fp">["curryN"]; -} - -declare module "lodash/fp/curryRight" { - declare module.exports: $Exports<"lodash/fp">["curryRight"]; -} - -declare module "lodash/fp/curryRightN" { - declare module.exports: $Exports<"lodash/fp">["curryRightN"]; -} - -declare module "lodash/fp/debounce" { - declare module.exports: $Exports<"lodash/fp">["debounce"]; -} - -declare module "lodash/fp/defer" { - declare module.exports: $Exports<"lodash/fp">["defer"]; -} - -declare module "lodash/fp/delay" { - declare module.exports: $Exports<"lodash/fp">["delay"]; -} - -declare module "lodash/fp/flip" { - declare module.exports: $Exports<"lodash/fp">["flip"]; -} - -declare module "lodash/fp/memoize" { - declare module.exports: $Exports<"lodash/fp">["memoize"]; -} - -declare module "lodash/fp/negate" { - declare module.exports: $Exports<"lodash/fp">["negate"]; -} - -declare module "lodash/fp/complement" { - declare module.exports: $Exports<"lodash/fp">["complement"]; -} - -declare module "lodash/fp/once" { - declare module.exports: $Exports<"lodash/fp">["once"]; -} - -declare module "lodash/fp/overArgs" { - declare module.exports: $Exports<"lodash/fp">["overArgs"]; -} - -declare module "lodash/fp/useWith" { - declare module.exports: $Exports<"lodash/fp">["useWith"]; -} - -declare module "lodash/fp/partial" { - declare module.exports: $Exports<"lodash/fp">["partial"]; -} - -declare module "lodash/fp/partialRight" { - declare module.exports: $Exports<"lodash/fp">["partialRight"]; -} - -declare module "lodash/fp/rearg" { - declare module.exports: $Exports<"lodash/fp">["rearg"]; -} - -declare module "lodash/fp/rest" { - declare module.exports: $Exports<"lodash/fp">["rest"]; -} - -declare module "lodash/fp/unapply" { - declare module.exports: $Exports<"lodash/fp">["unapply"]; -} - -declare module "lodash/fp/restFrom" { - declare module.exports: $Exports<"lodash/fp">["restFrom"]; -} - -declare module "lodash/fp/spread" { - declare module.exports: $Exports<"lodash/fp">["spread"]; -} - -declare module "lodash/fp/apply" { - declare module.exports: $Exports<"lodash/fp">["apply"]; -} - -declare module "lodash/fp/spreadFrom" { - declare module.exports: $Exports<"lodash/fp">["spreadFrom"]; -} - -declare module "lodash/fp/throttle" { - declare module.exports: $Exports<"lodash/fp">["throttle"]; -} - -declare module "lodash/fp/unary" { - declare module.exports: $Exports<"lodash/fp">["unary"]; -} - -declare module "lodash/fp/wrap" { - declare module.exports: $Exports<"lodash/fp">["wrap"]; -} - -declare module "lodash/fp/castArray" { - declare module.exports: $Exports<"lodash/fp">["castArray"]; -} - -declare module "lodash/fp/clone" { - declare module.exports: $Exports<"lodash/fp">["clone"]; -} - -declare module "lodash/fp/cloneDeep" { - declare module.exports: $Exports<"lodash/fp">["cloneDeep"]; -} - -declare module "lodash/fp/cloneDeepWith" { - declare module.exports: $Exports<"lodash/fp">["cloneDeepWith"]; -} - -declare module "lodash/fp/cloneWith" { - declare module.exports: $Exports<"lodash/fp">["cloneWith"]; -} - -declare module "lodash/fp/conformsTo" { - declare module.exports: $Exports<"lodash/fp">["conformsTo"]; -} - -declare module "lodash/fp/where" { - declare module.exports: $Exports<"lodash/fp">["where"]; -} - -declare module "lodash/fp/conforms" { - declare module.exports: $Exports<"lodash/fp">["conforms"]; -} - -declare module "lodash/fp/eq" { - declare module.exports: $Exports<"lodash/fp">["eq"]; -} - -declare module "lodash/fp/identical" { - declare module.exports: $Exports<"lodash/fp">["identical"]; -} - -declare module "lodash/fp/gt" { - declare module.exports: $Exports<"lodash/fp">["gt"]; -} - -declare module "lodash/fp/gte" { - declare module.exports: $Exports<"lodash/fp">["gte"]; -} - -declare module "lodash/fp/isArguments" { - declare module.exports: $Exports<"lodash/fp">["isArguments"]; -} - -declare module "lodash/fp/isArray" { - declare module.exports: $Exports<"lodash/fp">["isArray"]; -} - -declare module "lodash/fp/isArrayBuffer" { - declare module.exports: $Exports<"lodash/fp">["isArrayBuffer"]; -} - -declare module "lodash/fp/isArrayLike" { - declare module.exports: $Exports<"lodash/fp">["isArrayLike"]; -} - -declare module "lodash/fp/isArrayLikeObject" { - declare module.exports: $Exports<"lodash/fp">["isArrayLikeObject"]; -} - -declare module "lodash/fp/isBoolean" { - declare module.exports: $Exports<"lodash/fp">["isBoolean"]; -} - -declare module "lodash/fp/isBuffer" { - declare module.exports: $Exports<"lodash/fp">["isBuffer"]; -} - -declare module "lodash/fp/isDate" { - declare module.exports: $Exports<"lodash/fp">["isDate"]; -} - -declare module "lodash/fp/isElement" { - declare module.exports: $Exports<"lodash/fp">["isElement"]; -} - -declare module "lodash/fp/isEmpty" { - declare module.exports: $Exports<"lodash/fp">["isEmpty"]; -} - -declare module "lodash/fp/isEqual" { - declare module.exports: $Exports<"lodash/fp">["isEqual"]; -} - -declare module "lodash/fp/equals" { - declare module.exports: $Exports<"lodash/fp">["equals"]; -} - -declare module "lodash/fp/isEqualWith" { - declare module.exports: $Exports<"lodash/fp">["isEqualWith"]; -} - -declare module "lodash/fp/isError" { - declare module.exports: $Exports<"lodash/fp">["isError"]; -} - -declare module "lodash/fp/isFinite" { - declare module.exports: $Exports<"lodash/fp">["isFinite"]; -} - -declare module "lodash/fp/isFunction" { - declare module.exports: $Exports<"lodash/fp">["isFunction"]; -} - -declare module "lodash/fp/isInteger" { - declare module.exports: $Exports<"lodash/fp">["isInteger"]; -} - -declare module "lodash/fp/isLength" { - declare module.exports: $Exports<"lodash/fp">["isLength"]; -} - -declare module "lodash/fp/isMap" { - declare module.exports: $Exports<"lodash/fp">["isMap"]; -} - -declare module "lodash/fp/isMatch" { - declare module.exports: $Exports<"lodash/fp">["isMatch"]; -} - -declare module "lodash/fp/whereEq" { - declare module.exports: $Exports<"lodash/fp">["whereEq"]; -} - -declare module "lodash/fp/isMatchWith" { - declare module.exports: $Exports<"lodash/fp">["isMatchWith"]; -} - -declare module "lodash/fp/isNaN" { - declare module.exports: $Exports<"lodash/fp">["isNaN"]; -} - -declare module "lodash/fp/isNative" { - declare module.exports: $Exports<"lodash/fp">["isNative"]; -} - -declare module "lodash/fp/isNil" { - declare module.exports: $Exports<"lodash/fp">["isNil"]; -} - -declare module "lodash/fp/isNull" { - declare module.exports: $Exports<"lodash/fp">["isNull"]; -} - -declare module "lodash/fp/isNumber" { - declare module.exports: $Exports<"lodash/fp">["isNumber"]; -} - -declare module "lodash/fp/isObject" { - declare module.exports: $Exports<"lodash/fp">["isObject"]; -} - -declare module "lodash/fp/isObjectLike" { - declare module.exports: $Exports<"lodash/fp">["isObjectLike"]; -} - -declare module "lodash/fp/isPlainObject" { - declare module.exports: $Exports<"lodash/fp">["isPlainObject"]; -} - -declare module "lodash/fp/isRegExp" { - declare module.exports: $Exports<"lodash/fp">["isRegExp"]; -} - -declare module "lodash/fp/isSafeInteger" { - declare module.exports: $Exports<"lodash/fp">["isSafeInteger"]; -} - -declare module "lodash/fp/isSet" { - declare module.exports: $Exports<"lodash/fp">["isSet"]; -} - -declare module "lodash/fp/isString" { - declare module.exports: $Exports<"lodash/fp">["isString"]; -} - -declare module "lodash/fp/isSymbol" { - declare module.exports: $Exports<"lodash/fp">["isSymbol"]; -} - -declare module "lodash/fp/isTypedArray" { - declare module.exports: $Exports<"lodash/fp">["isTypedArray"]; -} - -declare module "lodash/fp/isUndefined" { - declare module.exports: $Exports<"lodash/fp">["isUndefined"]; -} - -declare module "lodash/fp/isWeakMap" { - declare module.exports: $Exports<"lodash/fp">["isWeakMap"]; -} - -declare module "lodash/fp/isWeakSet" { - declare module.exports: $Exports<"lodash/fp">["isWeakSet"]; -} - -declare module "lodash/fp/lt" { - declare module.exports: $Exports<"lodash/fp">["lt"]; -} - -declare module "lodash/fp/lte" { - declare module.exports: $Exports<"lodash/fp">["lte"]; -} - -declare module "lodash/fp/toArray" { - declare module.exports: $Exports<"lodash/fp">["toArray"]; -} - -declare module "lodash/fp/toFinite" { - declare module.exports: $Exports<"lodash/fp">["toFinite"]; -} - -declare module "lodash/fp/toInteger" { - declare module.exports: $Exports<"lodash/fp">["toInteger"]; -} - -declare module "lodash/fp/toLength" { - declare module.exports: $Exports<"lodash/fp">["toLength"]; -} - -declare module "lodash/fp/toNumber" { - declare module.exports: $Exports<"lodash/fp">["toNumber"]; -} - -declare module "lodash/fp/toPlainObject" { - declare module.exports: $Exports<"lodash/fp">["toPlainObject"]; -} - -declare module "lodash/fp/toSafeInteger" { - declare module.exports: $Exports<"lodash/fp">["toSafeInteger"]; -} - -declare module "lodash/fp/toString" { - declare module.exports: $Exports<"lodash/fp">["toString"]; -} - -declare module "lodash/fp/add" { - declare module.exports: $Exports<"lodash/fp">["add"]; -} - -declare module "lodash/fp/ceil" { - declare module.exports: $Exports<"lodash/fp">["ceil"]; -} - -declare module "lodash/fp/divide" { - declare module.exports: $Exports<"lodash/fp">["divide"]; -} - -declare module "lodash/fp/floor" { - declare module.exports: $Exports<"lodash/fp">["floor"]; -} - -declare module "lodash/fp/max" { - declare module.exports: $Exports<"lodash/fp">["max"]; -} - -declare module "lodash/fp/maxBy" { - declare module.exports: $Exports<"lodash/fp">["maxBy"]; -} - -declare module "lodash/fp/mean" { - declare module.exports: $Exports<"lodash/fp">["mean"]; -} - -declare module "lodash/fp/meanBy" { - declare module.exports: $Exports<"lodash/fp">["meanBy"]; -} - -declare module "lodash/fp/min" { - declare module.exports: $Exports<"lodash/fp">["min"]; -} - -declare module "lodash/fp/minBy" { - declare module.exports: $Exports<"lodash/fp">["minBy"]; -} - -declare module "lodash/fp/multiply" { - declare module.exports: $Exports<"lodash/fp">["multiply"]; -} - -declare module "lodash/fp/round" { - declare module.exports: $Exports<"lodash/fp">["round"]; -} - -declare module "lodash/fp/subtract" { - declare module.exports: $Exports<"lodash/fp">["subtract"]; -} - -declare module "lodash/fp/sum" { - declare module.exports: $Exports<"lodash/fp">["sum"]; -} - -declare module "lodash/fp/sumBy" { - declare module.exports: $Exports<"lodash/fp">["sumBy"]; -} - -declare module "lodash/fp/clamp" { - declare module.exports: $Exports<"lodash/fp">["clamp"]; -} - -declare module "lodash/fp/inRange" { - declare module.exports: $Exports<"lodash/fp">["inRange"]; -} - -declare module "lodash/fp/random" { - declare module.exports: $Exports<"lodash/fp">["random"]; -} - -declare module "lodash/fp/assign" { - declare module.exports: $Exports<"lodash/fp">["assign"]; -} - -declare module "lodash/fp/assignAll" { - declare module.exports: $Exports<"lodash/fp">["assignAll"]; -} - -declare module "lodash/fp/assignInAll" { - declare module.exports: $Exports<"lodash/fp">["assignInAll"]; -} - -declare module "lodash/fp/extendAll" { - declare module.exports: $Exports<"lodash/fp">["extendAll"]; -} - -declare module "lodash/fp/assignIn" { - declare module.exports: $Exports<"lodash/fp">["assignIn"]; -} - -declare module "lodash/fp/assignInWith" { - declare module.exports: $Exports<"lodash/fp">["assignInWith"]; -} - -declare module "lodash/fp/assignWith" { - declare module.exports: $Exports<"lodash/fp">["assignWith"]; -} - -declare module "lodash/fp/assignInAllWith" { - declare module.exports: $Exports<"lodash/fp">["assignInAllWith"]; -} - -declare module "lodash/fp/extendAllWith" { - declare module.exports: $Exports<"lodash/fp">["extendAllWith"]; -} - -declare module "lodash/fp/assignAllWith" { - declare module.exports: $Exports<"lodash/fp">["assignAllWith"]; -} - -declare module "lodash/fp/at" { - declare module.exports: $Exports<"lodash/fp">["at"]; -} - -declare module "lodash/fp/props" { - declare module.exports: $Exports<"lodash/fp">["props"]; -} - -declare module "lodash/fp/paths" { - declare module.exports: $Exports<"lodash/fp">["paths"]; -} - -declare module "lodash/fp/create" { - declare module.exports: $Exports<"lodash/fp">["create"]; -} - -declare module "lodash/fp/defaults" { - declare module.exports: $Exports<"lodash/fp">["defaults"]; -} - -declare module "lodash/fp/defaultsAll" { - declare module.exports: $Exports<"lodash/fp">["defaultsAll"]; -} - -declare module "lodash/fp/defaultsDeep" { - declare module.exports: $Exports<"lodash/fp">["defaultsDeep"]; -} - -declare module "lodash/fp/defaultsDeepAll" { - declare module.exports: $Exports<"lodash/fp">["defaultsDeepAll"]; -} - -declare module "lodash/fp/entries" { - declare module.exports: $Exports<"lodash/fp">["entries"]; -} - -declare module "lodash/fp/entriesIn" { - declare module.exports: $Exports<"lodash/fp">["entriesIn"]; -} - -declare module "lodash/fp/extend" { - declare module.exports: $Exports<"lodash/fp">["extend"]; -} - -declare module "lodash/fp/extendWith" { - declare module.exports: $Exports<"lodash/fp">["extendWith"]; -} - -declare module "lodash/fp/findKey" { - declare module.exports: $Exports<"lodash/fp">["findKey"]; -} - -declare module "lodash/fp/findLastKey" { - declare module.exports: $Exports<"lodash/fp">["findLastKey"]; -} - -declare module "lodash/fp/forIn" { - declare module.exports: $Exports<"lodash/fp">["forIn"]; -} - -declare module "lodash/fp/forInRight" { - declare module.exports: $Exports<"lodash/fp">["forInRight"]; -} - -declare module "lodash/fp/forOwn" { - declare module.exports: $Exports<"lodash/fp">["forOwn"]; -} - -declare module "lodash/fp/forOwnRight" { - declare module.exports: $Exports<"lodash/fp">["forOwnRight"]; -} - -declare module "lodash/fp/functions" { - declare module.exports: $Exports<"lodash/fp">["functions"]; -} - -declare module "lodash/fp/functionsIn" { - declare module.exports: $Exports<"lodash/fp">["functionsIn"]; -} - -declare module "lodash/fp/get" { - declare module.exports: $Exports<"lodash/fp">["get"]; -} - -declare module "lodash/fp/prop" { - declare module.exports: $Exports<"lodash/fp">["prop"]; -} - -declare module "lodash/fp/path" { - declare module.exports: $Exports<"lodash/fp">["path"]; -} - -declare module "lodash/fp/getOr" { - declare module.exports: $Exports<"lodash/fp">["getOr"]; -} - -declare module "lodash/fp/propOr" { - declare module.exports: $Exports<"lodash/fp">["propOr"]; -} - -declare module "lodash/fp/pathOr" { - declare module.exports: $Exports<"lodash/fp">["pathOr"]; -} - -declare module "lodash/fp/has" { - declare module.exports: $Exports<"lodash/fp">["has"]; -} - -declare module "lodash/fp/hasIn" { - declare module.exports: $Exports<"lodash/fp">["hasIn"]; -} - -declare module "lodash/fp/invert" { - declare module.exports: $Exports<"lodash/fp">["invert"]; -} - -declare module "lodash/fp/invertObj" { - declare module.exports: $Exports<"lodash/fp">["invertObj"]; -} - -declare module "lodash/fp/invertBy" { - declare module.exports: $Exports<"lodash/fp">["invertBy"]; -} - -declare module "lodash/fp/invoke" { - declare module.exports: $Exports<"lodash/fp">["invoke"]; -} - -declare module "lodash/fp/invokeArgs" { - declare module.exports: $Exports<"lodash/fp">["invokeArgs"]; -} - -declare module "lodash/fp/keys" { - declare module.exports: $Exports<"lodash/fp">["keys"]; -} - -declare module "lodash/fp/keysIn" { - declare module.exports: $Exports<"lodash/fp">["keysIn"]; -} - -declare module "lodash/fp/mapKeys" { - declare module.exports: $Exports<"lodash/fp">["mapKeys"]; -} - -declare module "lodash/fp/mapValues" { - declare module.exports: $Exports<"lodash/fp">["mapValues"]; -} - -declare module "lodash/fp/merge" { - declare module.exports: $Exports<"lodash/fp">["merge"]; -} - -declare module "lodash/fp/mergeAll" { - declare module.exports: $Exports<"lodash/fp">["mergeAll"]; -} - -declare module "lodash/fp/mergeWith" { - declare module.exports: $Exports<"lodash/fp">["mergeWith"]; -} - -declare module "lodash/fp/mergeAllWith" { - declare module.exports: $Exports<"lodash/fp">["mergeAllWith"]; -} - -declare module "lodash/fp/omit" { - declare module.exports: $Exports<"lodash/fp">["omit"]; -} - -declare module "lodash/fp/omitAll" { - declare module.exports: $Exports<"lodash/fp">["omitAll"]; -} - -declare module "lodash/fp/omitBy" { - declare module.exports: $Exports<"lodash/fp">["omitBy"]; -} - -declare module "lodash/fp/pick" { - declare module.exports: $Exports<"lodash/fp">["pick"]; -} - -declare module "lodash/fp/pickAll" { - declare module.exports: $Exports<"lodash/fp">["pickAll"]; -} - -declare module "lodash/fp/pickBy" { - declare module.exports: $Exports<"lodash/fp">["pickBy"]; -} - -declare module "lodash/fp/result" { - declare module.exports: $Exports<"lodash/fp">["result"]; -} - -declare module "lodash/fp/set" { - declare module.exports: $Exports<"lodash/fp">["set"]; -} - -declare module "lodash/fp/assoc" { - declare module.exports: $Exports<"lodash/fp">["assoc"]; -} - -declare module "lodash/fp/assocPath" { - declare module.exports: $Exports<"lodash/fp">["assocPath"]; -} - -declare module "lodash/fp/setWith" { - declare module.exports: $Exports<"lodash/fp">["setWith"]; -} - -declare module "lodash/fp/toPairs" { - declare module.exports: $Exports<"lodash/fp">["toPairs"]; -} - -declare module "lodash/fp/toPairsIn" { - declare module.exports: $Exports<"lodash/fp">["toPairsIn"]; -} - -declare module "lodash/fp/transform" { - declare module.exports: $Exports<"lodash/fp">["transform"]; -} - -declare module "lodash/fp/unset" { - declare module.exports: $Exports<"lodash/fp">["unset"]; -} - -declare module "lodash/fp/update" { - declare module.exports: $Exports<"lodash/fp">["update"]; -} - -declare module "lodash/fp/updateWith" { - declare module.exports: $Exports<"lodash/fp">["updateWith"]; -} - -declare module "lodash/fp/values" { - declare module.exports: $Exports<"lodash/fp">["values"]; -} - -declare module "lodash/fp/valuesIn" { - declare module.exports: $Exports<"lodash/fp">["valuesIn"]; -} - -declare module "lodash/fp/tap" { - declare module.exports: $Exports<"lodash/fp">["tap"]; -} - -declare module "lodash/fp/thru" { - declare module.exports: $Exports<"lodash/fp">["thru"]; -} - -declare module "lodash/fp/camelCase" { - declare module.exports: $Exports<"lodash/fp">["camelCase"]; -} - -declare module "lodash/fp/capitalize" { - declare module.exports: $Exports<"lodash/fp">["capitalize"]; -} - -declare module "lodash/fp/deburr" { - declare module.exports: $Exports<"lodash/fp">["deburr"]; -} - -declare module "lodash/fp/endsWith" { - declare module.exports: $Exports<"lodash/fp">["endsWith"]; -} - -declare module "lodash/fp/escape" { - declare module.exports: $Exports<"lodash/fp">["escape"]; -} - -declare module "lodash/fp/escapeRegExp" { - declare module.exports: $Exports<"lodash/fp">["escapeRegExp"]; -} - -declare module "lodash/fp/kebabCase" { - declare module.exports: $Exports<"lodash/fp">["kebabCase"]; -} - -declare module "lodash/fp/lowerCase" { - declare module.exports: $Exports<"lodash/fp">["lowerCase"]; -} - -declare module "lodash/fp/lowerFirst" { - declare module.exports: $Exports<"lodash/fp">["lowerFirst"]; -} - -declare module "lodash/fp/pad" { - declare module.exports: $Exports<"lodash/fp">["pad"]; -} - -declare module "lodash/fp/padChars" { - declare module.exports: $Exports<"lodash/fp">["padChars"]; -} - -declare module "lodash/fp/padEnd" { - declare module.exports: $Exports<"lodash/fp">["padEnd"]; -} - -declare module "lodash/fp/padCharsEnd" { - declare module.exports: $Exports<"lodash/fp">["padCharsEnd"]; -} - -declare module "lodash/fp/padStart" { - declare module.exports: $Exports<"lodash/fp">["padStart"]; -} - -declare module "lodash/fp/padCharsStart" { - declare module.exports: $Exports<"lodash/fp">["padCharsStart"]; -} - -declare module "lodash/fp/parseInt" { - declare module.exports: $Exports<"lodash/fp">["parseInt"]; -} - -declare module "lodash/fp/repeat" { - declare module.exports: $Exports<"lodash/fp">["repeat"]; -} - -declare module "lodash/fp/replace" { - declare module.exports: $Exports<"lodash/fp">["replace"]; -} - -declare module "lodash/fp/snakeCase" { - declare module.exports: $Exports<"lodash/fp">["snakeCase"]; -} - -declare module "lodash/fp/split" { - declare module.exports: $Exports<"lodash/fp">["split"]; -} - -declare module "lodash/fp/startCase" { - declare module.exports: $Exports<"lodash/fp">["startCase"]; -} - -declare module "lodash/fp/startsWith" { - declare module.exports: $Exports<"lodash/fp">["startsWith"]; -} - -declare module "lodash/fp/template" { - declare module.exports: $Exports<"lodash/fp">["template"]; -} - -declare module "lodash/fp/toLower" { - declare module.exports: $Exports<"lodash/fp">["toLower"]; -} - -declare module "lodash/fp/toUpper" { - declare module.exports: $Exports<"lodash/fp">["toUpper"]; -} - -declare module "lodash/fp/trim" { - declare module.exports: $Exports<"lodash/fp">["trim"]; -} - -declare module "lodash/fp/trimChars" { - declare module.exports: $Exports<"lodash/fp">["trimChars"]; -} - -declare module "lodash/fp/trimEnd" { - declare module.exports: $Exports<"lodash/fp">["trimEnd"]; -} - -declare module "lodash/fp/trimCharsEnd" { - declare module.exports: $Exports<"lodash/fp">["trimCharsEnd"]; -} - -declare module "lodash/fp/trimStart" { - declare module.exports: $Exports<"lodash/fp">["trimStart"]; -} - -declare module "lodash/fp/trimCharsStart" { - declare module.exports: $Exports<"lodash/fp">["trimCharsStart"]; -} - -declare module "lodash/fp/truncate" { - declare module.exports: $Exports<"lodash/fp">["truncate"]; -} - -declare module "lodash/fp/unescape" { - declare module.exports: $Exports<"lodash/fp">["unescape"]; -} - -declare module "lodash/fp/upperCase" { - declare module.exports: $Exports<"lodash/fp">["upperCase"]; -} - -declare module "lodash/fp/upperFirst" { - declare module.exports: $Exports<"lodash/fp">["upperFirst"]; -} - -declare module "lodash/fp/words" { - declare module.exports: $Exports<"lodash/fp">["words"]; -} - -declare module "lodash/fp/attempt" { - declare module.exports: $Exports<"lodash/fp">["attempt"]; -} - -declare module "lodash/fp/bindAll" { - declare module.exports: $Exports<"lodash/fp">["bindAll"]; -} - -declare module "lodash/fp/cond" { - declare module.exports: $Exports<"lodash/fp">["cond"]; -} - -declare module "lodash/fp/constant" { - declare module.exports: $Exports<"lodash/fp">["constant"]; -} - -declare module "lodash/fp/always" { - declare module.exports: $Exports<"lodash/fp">["always"]; -} - -declare module "lodash/fp/defaultTo" { - declare module.exports: $Exports<"lodash/fp">["defaultTo"]; -} - -declare module "lodash/fp/flow" { - declare module.exports: $Exports<"lodash/fp">["flow"]; -} - -declare module "lodash/fp/pipe" { - declare module.exports: $Exports<"lodash/fp">["pipe"]; -} - -declare module "lodash/fp/flowRight" { - declare module.exports: $Exports<"lodash/fp">["flowRight"]; -} - -declare module "lodash/fp/compose" { - declare module.exports: $Exports<"lodash/fp">["compose"]; -} - -declare module "lodash/fp/identity" { - declare module.exports: $Exports<"lodash/fp">["identity"]; -} - -declare module "lodash/fp/iteratee" { - declare module.exports: $Exports<"lodash/fp">["iteratee"]; -} - -declare module "lodash/fp/matches" { - declare module.exports: $Exports<"lodash/fp">["matches"]; -} - -declare module "lodash/fp/matchesProperty" { - declare module.exports: $Exports<"lodash/fp">["matchesProperty"]; -} - -declare module "lodash/fp/propEq" { - declare module.exports: $Exports<"lodash/fp">["propEq"]; -} - -declare module "lodash/fp/pathEq" { - declare module.exports: $Exports<"lodash/fp">["pathEq"]; -} - -declare module "lodash/fp/method" { - declare module.exports: $Exports<"lodash/fp">["method"]; -} - -declare module "lodash/fp/methodOf" { - declare module.exports: $Exports<"lodash/fp">["methodOf"]; -} - -declare module "lodash/fp/mixin" { - declare module.exports: $Exports<"lodash/fp">["mixin"]; -} - -declare module "lodash/fp/noConflict" { - declare module.exports: $Exports<"lodash/fp">["noConflict"]; -} - -declare module "lodash/fp/noop" { - declare module.exports: $Exports<"lodash/fp">["noop"]; -} - -declare module "lodash/fp/nthArg" { - declare module.exports: $Exports<"lodash/fp">["nthArg"]; -} - -declare module "lodash/fp/over" { - declare module.exports: $Exports<"lodash/fp">["over"]; -} - -declare module "lodash/fp/juxt" { - declare module.exports: $Exports<"lodash/fp">["juxt"]; -} - -declare module "lodash/fp/overEvery" { - declare module.exports: $Exports<"lodash/fp">["overEvery"]; -} - -declare module "lodash/fp/allPass" { - declare module.exports: $Exports<"lodash/fp">["allPass"]; -} - -declare module "lodash/fp/overSome" { - declare module.exports: $Exports<"lodash/fp">["overSome"]; -} - -declare module "lodash/fp/anyPass" { - declare module.exports: $Exports<"lodash/fp">["anyPass"]; -} - -declare module "lodash/fp/property" { - declare module.exports: $Exports<"lodash/fp">["property"]; -} - -declare module "lodash/fp/propertyOf" { - declare module.exports: $Exports<"lodash/fp">["propertyOf"]; -} - -declare module "lodash/fp/range" { - declare module.exports: $Exports<"lodash/fp">["range"]; -} - -declare module "lodash/fp/rangeStep" { - declare module.exports: $Exports<"lodash/fp">["rangeStep"]; -} - -declare module "lodash/fp/rangeRight" { - declare module.exports: $Exports<"lodash/fp">["rangeRight"]; -} - -declare module "lodash/fp/rangeStepRight" { - declare module.exports: $Exports<"lodash/fp">["rangeStepRight"]; -} - -declare module "lodash/fp/runInContext" { - declare module.exports: $Exports<"lodash/fp">["runInContext"]; -} - -declare module "lodash/fp/stubArray" { - declare module.exports: $Exports<"lodash/fp">["stubArray"]; -} - -declare module "lodash/fp/stubFalse" { - declare module.exports: $Exports<"lodash/fp">["stubFalse"]; -} - -declare module "lodash/fp/F" { - declare module.exports: $Exports<"lodash/fp">["F"]; -} - -declare module "lodash/fp/stubObject" { - declare module.exports: $Exports<"lodash/fp">["stubObject"]; -} - -declare module "lodash/fp/stubString" { - declare module.exports: $Exports<"lodash/fp">["stubString"]; -} - -declare module "lodash/fp/stubTrue" { - declare module.exports: $Exports<"lodash/fp">["stubTrue"]; -} - -declare module "lodash/fp/T" { - declare module.exports: $Exports<"lodash/fp">["T"]; -} - -declare module "lodash/fp/times" { - declare module.exports: $Exports<"lodash/fp">["times"]; -} - -declare module "lodash/fp/toPath" { - declare module.exports: $Exports<"lodash/fp">["toPath"]; -} - -declare module "lodash/fp/uniqueId" { - declare module.exports: $Exports<"lodash/fp">["uniqueId"]; -} diff --git a/web/flow-typed/npm/react-redux_v7.x.x.js b/web/flow-typed/npm/react-redux_v7.x.x.js deleted file mode 100644 --- a/web/flow-typed/npm/react-redux_v7.x.x.js +++ /dev/null @@ -1,344 +0,0 @@ -// flow-typed signature: d3d375af4b8c9095e7360110a2a087fa -// flow-typed version: 6912183195/react-redux_v7.x.x/flow_>=v0.201.x - -/** -The order of type arguments for connect() is as follows: - -connect(…) - -In Flow v0.89 only the first two are mandatory to specify. Other 4 can be repaced with the new awesome type placeholder: - -connect(…) - -But beware, in case of weird type errors somewhere in random places -just type everything and get to a green field and only then try to -remove the definitions you see bogus. - -Decrypting the abbreviations: - WC = Component being wrapped - S = State - D = Dispatch - OP = OwnProps - SP = StateProps - DP = DispatchProps - MP = Merge props - RSP = Returned state props - RDP = Returned dispatch props - RMP = Returned merge props - CP = Props for returned component - Com = React Component - SS = Selected state - ST = Static properties of Com - EFO = Extra factory options (used only in connectAdvanced) -*/ - -declare module "react-redux" { - import * as React from 'react'; - // ------------------------------------------------------------ - // Typings for connect() - // ------------------------------------------------------------ - - declare export type Options = {| - pure?: boolean, - forwardRef?: boolean, - areStatesEqual?: (next: S, prev: S) => boolean, - areOwnPropsEqual?: (next: OP, prev: OP) => boolean, - areStatePropsEqual?: (next: SP, prev: SP) => boolean, - areMergedPropsEqual?: (next: MP, prev: MP) => boolean, - storeKey?: string, - |}; - - declare type MapStateToProps = - | ((state: S, ownProps: OP) => SP) - // If you want to use the factory function but get a strange error - // like "function is not an object" then just type the factory function - // like this: - // const factory: (State, OwnProps) => (State, OwnProps) => StateProps - // and provide the StateProps type to the SP type parameter. - | ((state: S, ownProps: OP) => (state: S, ownProps: OP) => SP); - - declare type Bind = ((...A) => R) => (...A) => ReturnType; - - declare type MapDispatchToPropsFn = - | ((dispatch: D, ownProps: OP) => DP) - // If you want to use the factory function but get a strange error - // like "function is not an object" then just type the factory function - // like this: - // const factory: (Dispatch, OwnProps) => (Dispatch, OwnProps) => DispatchProps - // and provide the DispatchProps type to the DP type parameter. - | ((dispatch: D, ownProps: OP) => (dispatch: D, ownProps: OP) => DP); - - declare class ConnectedComponentClass extends React.Component { - static +WrappedComponent: WC; - getWrappedInstance(): React$ElementRef; - } - - declare export type ConnectedComponent = ConnectedComponentClass; - - // The connection of the Wrapped Component and the Connected Component - // happens here in `MP: P`. It means that type wise MP belongs to P, - // so to say MP >= P. - declare type Connector = >( - WC, - ) => Class> & WC; - - // No `mergeProps` argument - - // Got error like inexact OwnProps is incompatible with exact object type? - // Just make the OP parameter for `connect()` an exact object. - declare type MergeOP = {| ...$Exact, dispatch: D |}; - declare type MergeOPSP = {| ...$Exact, ...SP, dispatch: D |}; - declare type MergeOPDP = {| ...$Exact, ...DP |}; - declare type MergeOPSPDP = {| ...$Exact, ...SP, ...DP |}; - - declare type MapDispatch = { - [K in $Keys]: - DP[K] extends (...args: infer A) => R - ? (...A) => ReturnType - : empty - }; - - declare export function connect( - mapStateToProps?: null | void, - mapDispatchToProps?: null | void, - mergeProps?: null | void, - options?: ?Options>, - ): Connector>; - - declare export function connect( - // If you get error here try adding return type to your mapStateToProps function - mapStateToProps: MapStateToProps, - mapDispatchToProps?: null | void, - mergeProps?: null | void, - options?: ?Options>, - ): Connector>; - - // In this case DP is an object of functions which has been bound to dispatch - // by the given mapDispatchToProps function. - declare export function connect( - mapStateToProps: null | void, - mapDispatchToProps: MapDispatchToPropsFn, - mergeProps?: null | void, - options?: ?Options>, - ): Connector>; - - // In this case DP is an object of action creators not yet bound to dispatch, - // this difference is not important in the vanila redux, - // but in case of usage with redux-thunk, the return type may differ. - declare export function connect( - mapStateToProps: null | void, - mapDispatchToProps: DP, - mergeProps?: null | void, - options?: ?Options>, - ): Connector>>; - - declare export function connect( - // If you get error here try adding return type to your mapStateToProps function - mapStateToProps: MapStateToProps, - mapDispatchToProps: MapDispatchToPropsFn, - mergeProps?: null | void, - options?: ?Options, - ): Connector; - - declare export function connect( - // If you get error here try adding return type to your mapStateToProps function - mapStateToProps: MapStateToProps, - mapDispatchToProps: DP, - mergeProps?: null | void, - options?: ?Options>, - ): Connector>>; - - // With `mergeProps` argument - - declare type MergeProps = ( - stateProps: SP, - dispatchProps: DP, - ownProps: OP, - ) => P; - - declare export function connect( - mapStateToProps: null | void, - mapDispatchToProps: null | void, - // If you get error here try adding return type to you mapStateToProps function - mergeProps: MergeProps, - options?: ?Options, - ): Connector; - - declare export function connect( - mapStateToProps: MapStateToProps, - mapDispatchToProps: null | void, - // If you get error here try adding return type to you mapStateToProps function - mergeProps: MergeProps, - options?: ?Options, - ): Connector; - - // In this case DP is an object of functions which has been bound to dispatch - // by the given mapDispatchToProps function. - declare export function connect( - mapStateToProps: null | void, - mapDispatchToProps: MapDispatchToPropsFn, - mergeProps: MergeProps, - options?: ?Options, - ): Connector; - - // In this case DP is an object of action creators not yet bound to dispatch, - // this difference is not important in the vanila redux, - // but in case of usage with redux-thunk, the return type may differ. - declare export function connect( - mapStateToProps: null | void, - mapDispatchToProps: DP, - mergeProps: MergeProps}>, - options?: ?Options, - ): Connector; - - // In this case DP is an object of functions which has been bound to dispatch - // by the given mapDispatchToProps function. - declare export function connect( - mapStateToProps: MapStateToProps, - mapDispatchToProps: MapDispatchToPropsFn, - mergeProps: MergeProps, - options?: ?Options, - ): Connector; - - // In this case DP is an object of action creators not yet bound to dispatch, - // this difference is not important in the vanila redux, - // but in case of usage with redux-thunk, the return type may differ. - declare export function connect( - mapStateToProps: MapStateToProps, - mapDispatchToProps: DP, - mergeProps: MergeProps}>, - options?: ?Options, - ): Connector; - - // ------------------------------------------------------------ - // Typings for Hooks - // ------------------------------------------------------------ - - /* Action and AnyAction are taken from the redux TypeScript types defined here: - * https://github.com/reduxjs/redux/blob/d794c56f78eccb56ba3c67971c26df8ee34dacc1/src/types/actions.ts - * - * We turn them into objects so that they can be spread. - * - * We use AnyAction as the default for useDispatch as DefinitelyTyped does: - * https://github.com/DefinitelyTyped/DefinitelyTyped/blob/f7ec78508c6797e42f87a4390735bc2c650a1bfd/types/react-redux/index.d.ts#L540 - */ - declare export type Action = { - type: T, - ... - } - - declare export type AnyAction = { - ...Action, - [string]: any, - ... - } - - declare export type Dispatch<-A: Action> = (action: A, ...extraArgs: any[]) => mixed - - // Since A is contravariant in Dispatch, empty is a reasonable bound here. This is equivalent - // to using mixed as a default in a read-only position. - declare export function useDispatch = Dispatch>(): ( - & ((T) => T) - // Supports thunks at their various lengths and use cases depending if user has typed them as tuple vs array - & (((...args: [any]) => T) => T) - & (((...args: [any, any]) => T) => T) - & (((...args: [any, any, any]) => T) => T) - & (((...args: Array) => T) => T) - & D - ); - - declare export function useSelector( - selector: (state: S) => SS, - equalityFn?: (a: SS, b: SS) => boolean, - ): SS; - - declare export function useStore(): Store; - - // ------------------------------------------------------------ - // Typings for Provider - // ------------------------------------------------------------ - - declare export class Provider extends React.Component<{ - store: Store, - children?: React.Node, - ... - }> {} - - declare export function createProvider( - storeKey?: string, - subKey?: string, - ): Class>; - - // ------------------------------------------------------------ - // Typings for connectAdvanced() - // ------------------------------------------------------------ - - declare type ConnectAdvancedOptions = { - getDisplayName?: (name: string) => string, - methodName?: string, - renderCountProp?: string, - shouldHandleStateChanges?: boolean, - storeKey?: string, - forwardRef?: boolean, - ... - }; - - declare type SelectorFactoryOptions = { - getDisplayName: (name: string) => string, - methodName: string, - renderCountProp: ?string, - shouldHandleStateChanges: boolean, - storeKey: string, - forwardRef: boolean, - displayName: string, - wrappedComponentName: string, - WrappedComponent: Com, - ... - }; - - declare type MapStateToPropsEx = ( - state: S, - props: SP, - ) => RSP; - - declare type SelectorFactory< - Com: React.ComponentType, - Dispatch, - S: Object, - OP: Object, - EFO: Object, - CP: Object, - > = ( - dispatch: Dispatch, - factoryOptions: SelectorFactoryOptions & EFO, - ) => MapStateToPropsEx; - - declare export function connectAdvanced< - Com: React.ComponentType, - D, - S: Object, - OP: Object, - CP: Object, - EFO: Object, - ST: { [_: $Keys]: any, ... }, - >( - selectorFactory: SelectorFactory, - connectAdvancedOptions: ?(ConnectAdvancedOptions & EFO), - ): (component: Com) => React.ComponentType & Partial; - - declare export function batch(() => void): void - - declare export function shallowEqual(left: T, right: any): boolean - - declare export default { - Provider: typeof Provider, - createProvider: typeof createProvider, - connect: typeof connect, - connectAdvanced: typeof connectAdvanced, - useDispatch: typeof useDispatch, - useSelector: typeof useSelector, - useStore: typeof useStore, - batch: typeof batch, - ... - }; -} diff --git a/web/flow-typed/npm/redux_v4.x.x.js b/web/flow-typed/npm/redux_v4.x.x.js deleted file mode 100644 --- a/web/flow-typed/npm/redux_v4.x.x.js +++ /dev/null @@ -1,131 +0,0 @@ -// flow-typed signature: f42950aebee3189b48dae0d4697c6776 -// flow-typed version: 0e28de5e8a/redux_v4.x.x/flow_>=v0.201.x - -declare module 'redux' { - /* - - S = State - A = Action - D = Dispatch - - */ - - declare export type Action = { type: T, ... } - - declare export type DispatchAPI = (action: A) => A; - - declare export type Dispatch> = DispatchAPI; - - declare export type MiddlewareAPI> = { - dispatch: D, - getState(): S, - ... - }; - - declare export type Store> = { - // rewrite MiddlewareAPI members in order to get nicer error messages (intersections produce long messages) - dispatch: D, - getState(): S, - subscribe(listener: () => void): () => void, - replaceReducer(nextReducer: Reducer): void, - ... - }; - - declare export type Reducer = (state: S, action: A) => S; - - declare export type Middleware> = ( - api: MiddlewareAPI - ) => (next: D) => D; - - declare export type StoreCreator> = { - (reducer: Reducer, enhancer?: StoreEnhancer): Store, - ( - reducer: Reducer, - preloadedState: S, - enhancer?: StoreEnhancer - ): Store, - ... - }; - - declare export type StoreEnhancer> = ( - next: StoreCreator - ) => StoreCreator; - - declare export function createStore( - reducer: Reducer, - enhancer?: StoreEnhancer - ): Store; - declare export function createStore( - reducer: Reducer, - preloadedState?: S, - enhancer?: StoreEnhancer - ): Store; - - declare export function legacy_createStore( - reducer: Reducer, - enhancer?: StoreEnhancer - ): Store; - declare export function legacy_createStore( - reducer: Reducer, - preloadedState?: S, - enhancer?: StoreEnhancer - ): Store; - - declare export function applyMiddleware( - ...middlewares: Array> - ): StoreEnhancer; - - declare export type ActionCreator = (...args: Array) => A; - declare export type ActionCreators = { [key: K]: ActionCreator, ... }; - - declare export function bindActionCreators< - A, - C: ActionCreator, - D: DispatchAPI - >( - actionCreator: C, - dispatch: D - ): C; - declare export function bindActionCreators< - A, - K, - C: ActionCreators, - D: DispatchAPI - >( - actionCreators: C, - dispatch: D - ): C; - - declare export function combineReducers( - reducers: {[K in keyof RootState]: Reducer} - ): Reducer; - - declare function _compose(): (a: T) => T; - declare function _compose) => mixed>( - f: F, - ): F; - declare function _compose, R>( - f1: (a: A) => R, - f2: (...T) => A, - ): (...T) => R; - declare function _compose, R>( - f1: (b: B) => R, - f2: (a: A) => B, - f3: (...T) => A, - ): (...T) => R; - declare function _compose, R>( - f1: (c: C) => R, - f2: (b: B) => C, - f3: (a: A) => B, - f4: (...T) => A, - ): (...T) => R; - declare function _compose( - f1: (b: any) => R, - ...funcs: $ReadOnlyArray<(...$ReadOnlyArray) => mixed> - ): (...$ReadOnlyArray) => R; - declare function _compose( - ...funcs: $ReadOnlyArray<(...$ReadOnlyArray) => mixed> - ): (...$ReadOnlyArray) => R; - - declare export var compose: typeof _compose; -} diff --git a/web/flow-typed/npm/reselect_v3.x.x.js b/web/flow-typed/npm/reselect_v3.x.x.js deleted file mode 100644 --- a/web/flow-typed/npm/reselect_v3.x.x.js +++ /dev/null @@ -1,895 +0,0 @@ -// flow-typed signature: 76cd084ba22dd6276af7e44a634b4878 -// flow-typed version: c6154227d1/reselect_v3.x.x/flow_>=v0.47.x <=v0.103.x - -type ExtractReturnType = ((...rest: any[]) => Return) => Return; - -declare module "reselect" { - declare type InputSelector<-TState, TProps, TResult> = - (state: TState, props: TProps, ...rest: any[]) => TResult - - declare type OutputSelector<-TState, TProps, TResult> = - & InputSelector - & { - recomputations(): number, - resetRecomputations(): number, - resultFunc(state: TState, props: TProps, ...rest: Array): TResult, - }; - - declare type SelectorCreator = { - ( - selector1: InputSelector, - resultFunc: (arg1: T1) => TResult - ): OutputSelector, - ( - selectors: [InputSelector], - resultFunc: (arg1: T1) => TResult - ): OutputSelector, - - ( - selector1: InputSelector, - selector2: InputSelector, - resultFunc: (arg1: T1, arg2: T2) => TResult - ): OutputSelector, - ( - selectors: [InputSelector, InputSelector], - resultFunc: (arg1: T1, arg2: T2) => TResult - ): OutputSelector, - - ( - selector1: InputSelector, - selector2: InputSelector, - selector3: InputSelector, - resultFunc: (arg1: T1, arg2: T2, arg3: T3) => TResult - ): OutputSelector, - ( - selectors: [ - InputSelector, - InputSelector, - InputSelector - ], - resultFunc: (arg1: T1, arg2: T2, arg3: T3) => TResult - ): OutputSelector, - - ( - selector1: InputSelector, - selector2: InputSelector, - selector3: InputSelector, - selector4: InputSelector, - resultFunc: (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => TResult - ): OutputSelector, - ( - selectors: [ - InputSelector, - InputSelector, - InputSelector, - InputSelector - ], - resultFunc: (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => TResult - ): OutputSelector, - - ( - selector1: InputSelector, - selector2: InputSelector, - selector3: InputSelector, - selector4: InputSelector, - selector5: InputSelector, - resultFunc: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => TResult - ): OutputSelector, - ( - selectors: [ - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector - ], - resultFunc: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => TResult - ): OutputSelector, - - ( - selector1: InputSelector, - selector2: InputSelector, - selector3: InputSelector, - selector4: InputSelector, - selector5: InputSelector, - selector6: InputSelector, - resultFunc: ( - arg1: T1, - arg2: T2, - arg3: T3, - arg4: T4, - arg5: T5, - arg6: T6 - ) => TResult - ): OutputSelector, - ( - selectors: [ - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector - ], - resultFunc: ( - arg1: T1, - arg2: T2, - arg3: T3, - arg4: T4, - arg5: T5, - arg6: T6 - ) => TResult - ): OutputSelector, - - ( - selector1: InputSelector, - selector2: InputSelector, - selector3: InputSelector, - selector4: InputSelector, - selector5: InputSelector, - selector6: InputSelector, - selector7: InputSelector, - resultFunc: ( - arg1: T1, - arg2: T2, - arg3: T3, - arg4: T4, - arg5: T5, - arg6: T6, - arg7: T7 - ) => TResult - ): OutputSelector, - ( - selectors: [ - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector - ], - resultFunc: ( - arg1: T1, - arg2: T2, - arg3: T3, - arg4: T4, - arg5: T5, - arg6: T6, - arg7: T7 - ) => TResult - ): OutputSelector, - - ( - selector1: InputSelector, - selector2: InputSelector, - selector3: InputSelector, - selector4: InputSelector, - selector5: InputSelector, - selector6: InputSelector, - selector7: InputSelector, - selector8: InputSelector, - resultFunc: ( - arg1: T1, - arg2: T2, - arg3: T3, - arg4: T4, - arg5: T5, - arg6: T6, - arg7: T7, - arg8: T8 - ) => TResult - ): OutputSelector, - ( - selectors: [ - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector - ], - resultFunc: ( - arg1: T1, - arg2: T2, - arg3: T3, - arg4: T4, - arg5: T5, - arg6: T6, - arg7: T7, - arg8: T8 - ) => TResult - ): OutputSelector, - - ( - selector1: InputSelector, - selector2: InputSelector, - selector3: InputSelector, - selector4: InputSelector, - selector5: InputSelector, - selector6: InputSelector, - selector7: InputSelector, - selector8: InputSelector, - selector9: InputSelector, - resultFunc: ( - arg1: T1, - arg2: T2, - arg3: T3, - arg4: T4, - arg5: T5, - arg6: T6, - arg7: T7, - arg8: T8, - arg9: T9 - ) => TResult - ): OutputSelector, - ( - selectors: [ - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector - ], - resultFunc: ( - arg1: T1, - arg2: T2, - arg3: T3, - arg4: T4, - arg5: T5, - arg6: T6, - arg7: T7, - arg8: T8, - arg9: T9 - ) => TResult - ): OutputSelector, - - ( - selector1: InputSelector, - selector2: InputSelector, - selector3: InputSelector, - selector4: InputSelector, - selector5: InputSelector, - selector6: InputSelector, - selector7: InputSelector, - selector8: InputSelector, - selector9: InputSelector, - selector10: InputSelector, - resultFunc: ( - arg1: T1, - arg2: T2, - arg3: T3, - arg4: T4, - arg5: T5, - arg6: T6, - arg7: T7, - arg8: T8, - arg9: T9, - arg10: T10 - ) => TResult - ): OutputSelector, - ( - selectors: [ - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector - ], - resultFunc: ( - arg1: T1, - arg2: T2, - arg3: T3, - arg4: T4, - arg5: T5, - arg6: T6, - arg7: T7, - arg8: T8, - arg9: T9, - arg10: T10 - ) => TResult - ): OutputSelector, - - ( - selector1: InputSelector, - selector2: InputSelector, - selector3: InputSelector, - selector4: InputSelector, - selector5: InputSelector, - selector6: InputSelector, - selector7: InputSelector, - selector8: InputSelector, - selector9: InputSelector, - selector10: InputSelector, - selector11: InputSelector, - resultFunc: ( - arg1: T1, - arg2: T2, - arg3: T3, - arg4: T4, - arg5: T5, - arg6: T6, - arg7: T7, - arg8: T8, - arg9: T9, - arg10: T10, - arg11: T11 - ) => TResult - ): OutputSelector, - ( - selectors: [ - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector - ], - resultFunc: ( - arg1: T1, - arg2: T2, - arg3: T3, - arg4: T4, - arg5: T5, - arg6: T6, - arg7: T7, - arg8: T8, - arg9: T9, - arg10: T10, - arg11: T11 - ) => TResult - ): OutputSelector, - - < - TState, - TProps, - TResult, - T1, - T2, - T3, - T4, - T5, - T6, - T7, - T8, - T9, - T10, - T11, - T12 - >( - selector1: InputSelector, - selector2: InputSelector, - selector3: InputSelector, - selector4: InputSelector, - selector5: InputSelector, - selector6: InputSelector, - selector7: InputSelector, - selector8: InputSelector, - selector9: InputSelector, - selector10: InputSelector, - selector11: InputSelector, - selector12: InputSelector, - resultFunc: ( - arg1: T1, - arg2: T2, - arg3: T3, - arg4: T4, - arg5: T5, - arg6: T6, - arg7: T7, - arg8: T8, - arg9: T9, - arg10: T10, - arg11: T11, - arg12: T12 - ) => TResult - ): OutputSelector, - < - TState, - TProps, - TResult, - T1, - T2, - T3, - T4, - T5, - T6, - T7, - T8, - T9, - T10, - T11, - T12 - >( - selectors: [ - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector - ], - resultFunc: ( - arg1: T1, - arg2: T2, - arg3: T3, - arg4: T4, - arg5: T5, - arg6: T6, - arg7: T7, - arg8: T8, - arg9: T9, - arg10: T10, - arg11: T11, - arg12: T12 - ) => TResult - ): OutputSelector, - - < - TState, - TProps, - TResult, - T1, - T2, - T3, - T4, - T5, - T6, - T7, - T8, - T9, - T10, - T11, - T12, - T13 - >( - selector1: InputSelector, - selector2: InputSelector, - selector3: InputSelector, - selector4: InputSelector, - selector5: InputSelector, - selector6: InputSelector, - selector7: InputSelector, - selector8: InputSelector, - selector9: InputSelector, - selector10: InputSelector, - selector11: InputSelector, - selector12: InputSelector, - selector13: InputSelector, - resultFunc: ( - arg1: T1, - arg2: T2, - arg3: T3, - arg4: T4, - arg5: T5, - arg6: T6, - arg7: T7, - arg8: T8, - arg9: T9, - arg10: T10, - arg11: T11, - arg12: T12, - arg13: T13 - ) => TResult - ): OutputSelector, - < - TState, - TProps, - TResult, - T1, - T2, - T3, - T4, - T5, - T6, - T7, - T8, - T9, - T10, - T11, - T12, - T13 - >( - selectors: [ - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector - ], - resultFunc: ( - arg1: T1, - arg2: T2, - arg3: T3, - arg4: T4, - arg5: T5, - arg6: T6, - arg7: T7, - arg8: T8, - arg9: T9, - arg10: T10, - arg11: T11, - arg12: T12, - arg13: T13 - ) => TResult - ): OutputSelector, - - < - TState, - TProps, - TResult, - T1, - T2, - T3, - T4, - T5, - T6, - T7, - T8, - T9, - T10, - T11, - T12, - T13, - T14 - >( - selector1: InputSelector, - selector2: InputSelector, - selector3: InputSelector, - selector4: InputSelector, - selector5: InputSelector, - selector6: InputSelector, - selector7: InputSelector, - selector8: InputSelector, - selector9: InputSelector, - selector10: InputSelector, - selector11: InputSelector, - selector12: InputSelector, - selector13: InputSelector, - selector14: InputSelector, - resultFunc: ( - arg1: T1, - arg2: T2, - arg3: T3, - arg4: T4, - arg5: T5, - arg6: T6, - arg7: T7, - arg8: T8, - arg9: T9, - arg10: T10, - arg11: T11, - arg12: T12, - arg13: T13, - arg14: T14 - ) => TResult - ): OutputSelector, - < - TState, - TProps, - TResult, - T1, - T2, - T3, - T4, - T5, - T6, - T7, - T8, - T9, - T10, - T11, - T12, - T13, - T14 - >( - selectors: [ - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector - ], - resultFunc: ( - arg1: T1, - arg2: T2, - arg3: T3, - arg4: T4, - arg5: T5, - arg6: T6, - arg7: T7, - arg8: T8, - arg9: T9, - arg10: T10, - arg11: T11, - arg12: T12, - arg13: T13, - arg14: T14 - ) => TResult - ): OutputSelector, - - < - TState, - TProps, - TResult, - T1, - T2, - T3, - T4, - T5, - T6, - T7, - T8, - T9, - T10, - T11, - T12, - T13, - T14, - T15 - >( - selector1: InputSelector, - selector2: InputSelector, - selector3: InputSelector, - selector4: InputSelector, - selector5: InputSelector, - selector6: InputSelector, - selector7: InputSelector, - selector8: InputSelector, - selector9: InputSelector, - selector10: InputSelector, - selector11: InputSelector, - selector12: InputSelector, - selector13: InputSelector, - selector14: InputSelector, - selector15: InputSelector, - resultFunc: ( - arg1: T1, - arg2: T2, - arg3: T3, - arg4: T4, - arg5: T5, - arg6: T6, - arg7: T7, - arg8: T8, - arg9: T9, - arg10: T10, - arg11: T11, - arg12: T12, - arg13: T13, - arg14: T14, - arg15: T15 - ) => TResult - ): OutputSelector, - < - TState, - TProps, - TResult, - T1, - T2, - T3, - T4, - T5, - T6, - T7, - T8, - T9, - T10, - T11, - T12, - T13, - T14, - T15 - >( - selectors: [ - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector - ], - resultFunc: ( - arg1: T1, - arg2: T2, - arg3: T3, - arg4: T4, - arg5: T5, - arg6: T6, - arg7: T7, - arg8: T8, - arg9: T9, - arg10: T10, - arg11: T11, - arg12: T12, - arg13: T13, - arg14: T14, - arg15: T15 - ) => TResult - ): OutputSelector, - - < - TState, - TProps, - TResult, - T1, - T2, - T3, - T4, - T5, - T6, - T7, - T8, - T9, - T10, - T11, - T12, - T13, - T14, - T15, - T16 - >( - selector1: InputSelector, - selector2: InputSelector, - selector3: InputSelector, - selector4: InputSelector, - selector5: InputSelector, - selector6: InputSelector, - selector7: InputSelector, - selector8: InputSelector, - selector9: InputSelector, - selector10: InputSelector, - selector11: InputSelector, - selector12: InputSelector, - selector13: InputSelector, - selector14: InputSelector, - selector15: InputSelector, - selector16: InputSelector, - resultFunc: ( - arg1: T1, - arg2: T2, - arg3: T3, - arg4: T4, - arg5: T5, - arg6: T6, - arg7: T7, - arg8: T8, - arg9: T9, - arg10: T10, - arg11: T11, - arg12: T12, - arg13: T13, - arg14: T14, - arg15: T15, - arg16: T16 - ) => TResult - ): OutputSelector, - < - TState, - TProps, - TResult, - T1, - T2, - T3, - T4, - T5, - T6, - T7, - T8, - T9, - T10, - T11, - T12, - T13, - T14, - T15, - T16 - >( - selectors: [ - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector, - InputSelector - ], - resultFunc: ( - arg1: T1, - arg2: T2, - arg3: T3, - arg4: T4, - arg5: T5, - arg6: T6, - arg7: T7, - arg8: T8, - arg9: T9, - arg10: T10, - arg11: T11, - arg12: T12, - arg13: T13, - arg14: T14, - arg15: T15, - arg16: T16 - ) => TResult - ): OutputSelector - }; - - declare type Reselect = { - createSelector: SelectorCreator, - - defaultMemoize: ( - func: TFunc, - equalityCheck?: (a: any, b: any) => boolean - ) => TFunc, - - createSelectorCreator: ( - memoize: Function, - ...memoizeOptions: any[] - ) => SelectorCreator, - - createStructuredSelector: }>( - inputSelectors: InputSelectors, - selectorCreator?: SelectorCreator - ) => OutputSelector}> - }; - - declare module.exports: Reselect; -}