diff --git a/.circleci/config.yml b/.circleci/config.yml index 48a9f448bda3..75d7c06d09d5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -41,9 +41,6 @@ jobs: - run: name: Check ESLint command: yarn lint - - run: - name: Check Flow - command: yarn flow check - run: name: Check Prettier command: yarn prettier:diff diff --git a/.eslintignore b/.eslintignore index f1dc7f76c3e1..41d132a32969 100644 --- a/.eslintignore +++ b/.eslintignore @@ -10,5 +10,3 @@ scripts packages/docusaurus-1.x/lib/core/metadata.js packages/docusaurus-1.x/lib/core/MetadataBlog.js packages/docusaurus-1.x/lib/core/__tests__/split-tab.test.js -packages/docusaurus-utils/lib -packages/docusaurus/lib diff --git a/.flowconfig b/.flowconfig deleted file mode 100644 index c56a11463890..000000000000 --- a/.flowconfig +++ /dev/null @@ -1,14 +0,0 @@ -[ignore] -/packages/.*/lib -/packages/.*/__tests__ - -[include] - -[libs] - -[lints] - -[options] -module.name_mapper='^@docusaurus\/\([a-zA-Z0-9_\-]+\)$' -> '/packages/docusaurus-\1/src/index' - -[strict] diff --git a/.gitignore b/.gitignore index 0dd577d51fac..633e2eb7cdb5 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,4 @@ yarn-error.log build .docusaurus .cache-loader -packages/docusaurus-utils/lib -packages/docusaurus/lib/ diff --git a/.prettierignore b/.prettierignore index 799eaf59d20a..6b9e084ea312 100644 --- a/.prettierignore +++ b/.prettierignore @@ -2,6 +2,3 @@ dist node_modules build .docusaurus -packages/docusaurus-utils/lib -packages/docusaurus/lib -flow-typed diff --git a/babel.config.js b/babel.config.js index 761fbcf30815..2798f4892e96 100644 --- a/babel.config.js +++ b/babel.config.js @@ -16,7 +16,6 @@ module.exports = { }, ], '@babel/react', - '@babel/preset-flow', ], plugins: [ '@babel/plugin-proposal-class-properties', diff --git a/flow-typed/npm/escape-string-regexp_v1.x.x.js b/flow-typed/npm/escape-string-regexp_v1.x.x.js deleted file mode 100644 index 528fc1cfed29..000000000000 --- a/flow-typed/npm/escape-string-regexp_v1.x.x.js +++ /dev/null @@ -1,10 +0,0 @@ -/** - * Copyright (c) 2017-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -declare module 'escape-string-regexp' { - declare module.exports: (input: string) => string; -} diff --git a/flow-typed/npm/fs-extra_v7.x.x.js b/flow-typed/npm/fs-extra_v7.x.x.js deleted file mode 100644 index 7d9135259ef2..000000000000 --- a/flow-typed/npm/fs-extra_v7.x.x.js +++ /dev/null @@ -1,768 +0,0 @@ -/** - * Copyright (c) 2017-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -declare module 'fs-extra' { - import type {Stats, ReadStream, WriteStream} from 'fs'; - - declare export type SymlinkType = 'dir' | 'file'; - declare export type FsSymlinkType = 'dir' | 'file' | 'junction'; - - declare export type CopyFilterSync = (src: string, dest: string) => boolean; - declare export type CopyFilterAsync = ( - src: string, - dest: string, - ) => Promise; - - declare export type CopyOptions = { - dereference?: boolean, - overwrite?: boolean, - preserveTimestamps?: boolean, - errorOnExist?: boolean, - recursive?: boolean, - }; - - declare export type CopyOptionsAync = CopyOptions & { - filter?: CopyFilterSync | CopyFilterAsync, - }; - - declare export type CopyOptionsSync = CopyOptions & { - filter?: CopyFilterSync, - }; - - declare export type MoveOptions = { - overwrite?: boolean, - limit?: number, - }; - - declare export type ReadOptions = { - throws?: boolean, - fs?: Object, - reviver?: any, - encoding?: string, - flag?: string, - }; - - declare export type WriteFileOptions = { - encoding?: string, - flag?: string, - mode?: number, - }; - - declare export type WriteOptions = WriteFileOptions & { - fs?: Object, - replacer?: any, - spaces?: number | string, - EOL?: string, - }; - - declare export type ReadResult = { - bytesRead: number, - buffer: Buffer, - }; - - declare export type WriteResult = { - bytesWritten: number, - buffer: Buffer, - }; - - declare export function copy( - src: string, - dest: string, - options?: CopyOptionsAync, - ): Promise; - declare export function copy( - src: string, - dest: string, - callback: (err: Error) => void, - ): void; - declare export function copy( - src: string, - dest: string, - options: CopyOptionsAync, - callback: (err: Error) => void, - ): void; - declare export function copySync( - src: string, - dest: string, - options?: CopyOptionsSync, - ): void; - - declare export function move( - src: string, - dest: string, - options?: MoveOptions, - ): Promise; - declare export function move( - src: string, - dest: string, - callback: (err: Error) => void, - ): void; - declare export function move( - src: string, - dest: string, - options: MoveOptions, - callback: (err: Error) => void, - ): void; - declare export function moveSync( - src: string, - dest: string, - options?: MoveOptions, - ): void; - - declare export function createFile(file: string): Promise; - declare export function createFile( - file: string, - callback: (err: Error) => void, - ): void; - declare export function createFileSync(file: string): void; - declare export function createReadStream( - path: string, - options?: Object, - ): ReadStream; - declare export function createWriteStream( - path: string, - options?: Object, - ): WriteStream; - - declare export function ensureDir(path: string): Promise; - declare export function ensureDir( - path: string, - callback: (err: Error) => void, - ): void; - declare export function ensureDirSync(path: string): void; - - declare export function exists(path: string): Promise; - declare export function exists( - path: string, - callback?: (exists: boolean) => void, - ): void; - - declare export function mkdirs(dir: string): Promise; - declare export function mkdirs( - dir: string, - callback: (err: Error) => void, - ): void; - declare export function mkdirsSync(dir: string): void; - - declare export function mkdirp(dir: string): Promise; - declare export function mkdirp( - dir: string, - callback: (err: Error) => void, - ): void; - declare export function mkdirpSync(dir: string): void; - - declare export function outputFile( - file: string, - data: any, - options?: WriteFileOptions | string, - ): Promise; - declare export function outputFile( - file: string, - data: any, - callback: (err: Error) => void, - ): void; - declare export function outputFile( - file: string, - data: any, - options: WriteFileOptions | string, - callback: (err: Error) => void, - ): void; - declare export function outputFileSync( - file: string, - data: any, - options?: WriteFileOptions | string, - ): void; - - declare export function readJson( - file: string, - options?: ReadOptions, - ): Promise; - declare export function readJson( - file: string, - callback: (err: Error, jsonObject: any) => void, - ): void; - declare export function readJson( - file: string, - options: ReadOptions, - callback: (err: Error, jsonObject: any) => void, - ): void; - declare export function readJSON( - file: string, - options?: ReadOptions, - ): Promise; - declare export function readJSON( - file: string, - callback: (err: Error, jsonObject: any) => void, - ): void; - declare export function readJSON( - file: string, - options: ReadOptions, - callback: (err: Error, jsonObject: any) => void, - ): void; - - declare export function readJsonSync( - file: string, - options?: ReadOptions, - ): any; - declare export function readJSONSync( - file: string, - options?: ReadOptions, - ): any; - - declare export function remove(dir: string): Promise; - declare export function remove( - dir: string, - callback: (err: Error) => void, - ): void; - declare export function removeSync(dir: string): void; - - declare export function outputJson( - file: string, - data: any, - options?: WriteOptions, - ): Promise; - declare export function outputJSON( - file: string, - data: any, - options?: WriteOptions, - ): Promise; - declare export function outputJson( - file: string, - data: any, - options: WriteOptions, - callback: (err: Error) => void, - ): void; - declare export function outputJSON( - file: string, - data: any, - options: WriteOptions, - callback: (err: Error) => void, - ): void; - declare export function outputJson( - file: string, - data: any, - callback: (err: Error) => void, - ): void; - declare export function outputJSON( - file: string, - data: any, - callback: (err: Error) => void, - ): void; - declare export function outputJsonSync( - file: string, - data: any, - options?: WriteOptions, - ): void; - declare export function outputJSONSync( - file: string, - data: any, - options?: WriteOptions, - ): void; - - declare export function writeJSON( - file: string, - object: any, - options?: WriteOptions, - ): Promise; - declare export function writeJSON( - file: string, - object: any, - callback: (err: Error) => void, - ): void; - declare export function writeJSON( - file: string, - object: any, - options: WriteOptions, - callback: (err: Error) => void, - ): void; - declare export function writeJson( - file: string, - object: any, - options?: WriteOptions, - ): Promise; - declare export function writeJson( - file: string, - object: any, - callback: (err: Error) => void, - ): void; - declare export function writeJson( - file: string, - object: any, - options: WriteOptions, - callback: (err: Error) => void, - ): void; - - declare export function writeJsonSync( - file: string, - object: any, - options?: WriteOptions, - ): void; - declare export function writeJSONSync( - file: string, - object: any, - options?: WriteOptions, - ): void; - - declare export function ensureFile(path: string): Promise; - declare export function ensureFile( - path: string, - callback: (err: Error) => void, - ): void; - declare export function ensureFileSync(path: string): void; - - declare export function ensureLink(src: string, dest: string): Promise; - declare export function ensureLink( - src: string, - dest: string, - callback: (err: Error) => void, - ): void; - declare export function ensureLinkSync(src: string, dest: string): void; - - declare export function ensureSymlink( - src: string, - dest: string, - type?: SymlinkType, - ): Promise; - declare export function ensureSymlink( - src: string, - dest: string, - type: SymlinkType, - callback: (err: Error) => void, - ): void; - declare export function ensureSymlink( - src: string, - dest: string, - callback: (err: Error) => void, - ): void; - declare export function ensureSymlinkSync( - src: string, - dest: string, - type?: SymlinkType, - ): void; - - declare export function emptyDir(path: string): Promise; - declare export function emptyDir( - path: string, - callback: (err: Error) => void, - ): void; - declare export function emptyDirSync(path: string): void; - - declare export function pathExists(path: string): Promise; - declare export function pathExists( - path: string, - callback: (err: Error, exists: boolean) => void, - ): void; - declare export function pathExistsSync(path: string): boolean; - - declare export function access( - path: string | Buffer, - callback: (err: ErrnoError) => void, - ): void; - declare export function access( - path: string | Buffer, - mode: number, - callback: (err: ErrnoError) => void, - ): void; - declare export function access( - path: string | Buffer, - mode?: number, - ): Promise; - - declare export function appendFile( - file: string | Buffer | number, - data: any, - options: {encoding?: string, mode?: number | string, flag?: string}, - callback: (err: ErrnoError) => void, - ): void; - declare export function appendFile( - file: string | Buffer | number, - data: any, - callback: (err: ErrnoError) => void, - ): void; - declare export function appendFile( - file: string | Buffer | number, - data: any, - options?: {encoding?: string, mode?: number | string, flag?: string}, - ): Promise; - - declare export function chmod( - path: string | Buffer, - mode: string | number, - callback: (err: ErrnoError) => void, - ): void; - declare export function chmod( - path: string | Buffer, - mode: string | number, - ): Promise; - - declare export function chown( - path: string | Buffer, - uid: number, - gid: number, - ): Promise; - declare export function chown( - path: string | Buffer, - uid: number, - gid: number, - callback: (err: ErrnoError) => void, - ): void; - - declare export function close( - fd: number, - callback: (err: ErrnoError) => void, - ): void; - declare export function close(fd: number): Promise; - - declare export function fchmod( - fd: number, - mode: string | number, - callback: (err: ErrnoError) => void, - ): void; - declare export function fchmod( - fd: number, - mode: string | number, - ): Promise; - - declare export function fchown( - fd: number, - uid: number, - gid: number, - callback: (err: ErrnoError) => void, - ): void; - declare export function fchown( - fd: number, - uid: number, - gid: number, - ): Promise; - - declare export function fdatasync(fd: number, callback: () => void): void; - declare export function fdatasync(fd: number): Promise; - - declare export function fstat( - fd: number, - callback: (err: ErrnoError, stats: Stats) => any, - ): void; - declare export function fstat(fd: number): Promise; - - declare export function fsync( - fd: number, - callback: (err: ErrnoError) => void, - ): void; - declare export function fsync(fd: number): Promise; - - declare export function ftruncate( - fd: number, - callback: (err: ErrnoError) => void, - ): void; - declare export function ftruncate( - fd: number, - len: number, - callback: (err: ErrnoError) => void, - ): void; - declare export function ftruncate(fd: number, len?: number): Promise; - - declare export function futimes( - fd: number, - atime: number, - mtime: number, - callback: (err: ErrnoError) => void, - ): void; - declare export function futimes( - fd: number, - atime: Date, - mtime: Date, - callback: (err: ErrnoError) => void, - ): void; - declare export function futimes( - fd: number, - atime: number, - mtime: number, - ): Promise; - declare export function futimes( - fd: number, - atime: Date, - mtime: Date, - ): Promise; - - declare export function lchown( - path: string | Buffer, - uid: number, - gid: number, - callback: (err: ErrnoError) => void, - ): void; - declare export function lchown( - path: string | Buffer, - uid: number, - gid: number, - ): Promise; - - declare export function link( - srcpath: string | Buffer, - dstpath: string | Buffer, - callback: (err: ErrnoError) => void, - ): void; - declare export function link( - srcpath: string | Buffer, - dstpath: string | Buffer, - ): Promise; - - declare export function lstat( - path: string | Buffer, - callback: (err: ErrnoError, stats: Stats) => any, - ): void; - declare export function lstat(path: string | Buffer): Promise; - - declare export function mkdir( - path: string | Buffer, - callback: (err: ErrnoError) => void, - ): void; - declare export function mkdir( - path: string | Buffer, - mode: number | string, - callback: (err: ErrnoError) => void, - ): void; - declare export function mkdir(path: string | Buffer): Promise; - - declare export function open( - path: string | Buffer, - flags: string | number, - callback: (err: ErrnoError, fd: number) => void, - ): void; - declare export function open( - path: string | Buffer, - flags: string | number, - mode: number, - callback: (err: ErrnoError, fd: number) => void, - ): void; - declare export function open( - path: string | Buffer, - flags: string | number, - mode?: number, - ): Promise; - - declare export function read( - fd: number, - buffer: Buffer, - offset: number, - length: number, - position: number | null, - callback: (err: ErrnoError, bytesRead: number, buffer: Buffer) => void, - ): void; - declare export function read( - fd: number, - buffer: Buffer, - offset: number, - length: number, - position: number | null, - ): Promise; - - declare export function readFile( - file: string | Buffer | number, - callback: (err: ErrnoError, data: Buffer) => void, - ): void; - declare export function readFile( - file: string | Buffer | number, - encoding: string, - callback: (err: ErrnoError, data: string) => void, - ): void; - declare export function readFile( - file: string | Buffer | number, - options: {flag?: string} | {encoding: string, flag?: string}, - callback: (err: ErrnoError, data: Buffer) => void, - ): void; - declare export function readFile( - file: string | Buffer | number, - options: {flag?: string} | {encoding: string, flag?: string}, - ): Promise; - declare export function readFile( - file: string | Buffer | number, - encoding: string, - ): Promise; - declare export function readFile( - file: string | Buffer | number, - ): Promise; - - declare export function readdir( - path: string | Buffer, - callback: (err: ErrnoError, files: string[]) => void, - ): void; - declare export function readdir(path: string | Buffer): Promise; - - declare export function readlink( - path: string | Buffer, - callback: (err: ErrnoError, linkString: string) => any, - ): void; - declare export function readlink(path: string | Buffer): Promise; - - declare export function realpath( - path: string | Buffer, - callback: (err: ErrnoError, resolvedPath: string) => any, - ): void; - declare export function realpath( - path: string | Buffer, - cache: {[path: string]: string}, - callback: (err: ErrnoError, resolvedPath: string) => any, - ): void; - declare export function realpath( - path: string | Buffer, - cache?: {[path: string]: string}, - ): Promise; - - declare export function rename( - oldPath: string, - newPath: string, - callback: (err: ErrnoError) => void, - ): void; - declare export function rename( - oldPath: string, - newPath: string, - ): Promise; - - declare export function rmdir( - path: string | Buffer, - callback: (err: ErrnoError) => void, - ): void; - declare export function rmdir(path: string | Buffer): Promise; - - declare export function stat( - path: string | Buffer, - callback: (err: ErrnoError, stats: Stats) => any, - ): void; - declare export function stat(path: string | Buffer): Promise; - - declare export function statSync(path: string): Stats; - - declare export function symlink( - srcpath: string | Buffer, - dstpath: string | Buffer, - type: FsSymlinkType | void, - callback: (err: ErrnoError) => void, - ): void; - declare export function symlink( - srcpath: string | Buffer, - dstpath: string | Buffer, - callback: (err: ErrnoError) => void, - ): void; - declare export function symlink( - srcpath: string | Buffer, - dstpath: string | Buffer, - type?: FsSymlinkType, - ): Promise; - - declare export function truncate( - path: string | Buffer, - callback: (err: ErrnoError) => void, - ): void; - declare export function truncate( - path: string | Buffer, - len: number, - callback: (err: ErrnoError) => void, - ): void; - declare export function truncate( - path: string | Buffer, - len?: number, - ): Promise; - - declare export function unlink( - path: string | Buffer, - callback: (err: ErrnoError) => void, - ): void; - declare export function unlink(path: string | Buffer): Promise; - - declare export function utimes( - path: string | Buffer, - atime: number, - mtime: number, - callback: (err: ErrnoError) => void, - ): void; - declare export function utimes( - path: string | Buffer, - atime: Date, - mtime: Date, - callback: (err: ErrnoError) => void, - ): void; - declare export function utimes( - path: string | Buffer, - atime: number, - mtime: number, - ): Promise; - declare export function utimes( - path: string | Buffer, - atime: Date, - mtime: Date, - ): Promise; - - declare export function write( - fd: number, - buffer: Buffer, - offset: number, - length: number, - position: number | null, - callback: (err: ErrnoError, written: number, buffer: Buffer) => void, - ): void; - declare export function write( - fd: number, - buffer: Buffer, - offset: number, - length: number, - callback: (err: ErrnoError, written: number, buffer: Buffer) => void, - ): void; - declare export function write( - fd: number, - data: any, - callback: (err: ErrnoError, written: number, str: string) => void, - ): void; - declare export function write( - fd: number, - data: any, - offset: number, - callback: (err: ErrnoError, written: number, str: string) => void, - ): void; - declare export function write( - fd: number, - data: any, - offset: number, - encoding: string, - callback: (err: ErrnoError, written: number, str: string) => void, - ): void; - declare export function write( - fd: number, - buffer: Buffer, - offset: number, - length: number, - position?: number | null, - ): Promise; - declare export function write( - fd: number, - data: any, - offset: number, - encoding?: string, - ): Promise; - - declare export function writeFile( - file: string | Buffer | number, - data: any, - callback: (err: ErrnoError) => void, - ): void; - declare export function writeFile( - file: string | Buffer | number, - data: any, - options?: WriteFileOptions | string, - ): Promise; - declare export function writeFile( - file: string | Buffer | number, - data: any, - options: WriteFileOptions | string, - callback: (err: ErrnoError) => void, - ): void; - - declare export function mkdtemp(prefix: string): Promise; - declare export function mkdtemp( - prefix: string, - callback: (err: ErrnoError, folder: string) => void, - ): void; -} diff --git a/flow-typed/npm/lodash_v4.x.x.js b/flow-typed/npm/lodash_v4.x.x.js deleted file mode 100644 index 583bbfce2a86..000000000000 --- a/flow-typed/npm/lodash_v4.x.x.js +++ /dev/null @@ -1,6047 +0,0 @@ -/** - * Copyright (c) 2017-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -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< - A, - B, - C, - R, - *, - *, - *, - >; - - 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< - A, - B, - C, - D, - R, - *, - *, - *, - *, - >; - - 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< - A, - B, - C, - D, - E, - R, - *, - *, - *, - *, - *, - >; - - 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< - A, - B, - C, - D, - E, - F, - R, - *, - *, - *, - *, - *, - *, - >; - - 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 NestedArray = Array>; - - declare type matchesIterateeShorthand = {[key: any]: 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 OIterateeWithResult = - | Object - | string - | ((value: V, key: string, object: O) => R); - declare type OIteratee = OIterateeWithResult; - declare type OFlatMapIteratee = OIterateeWithResult>; - - 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 FlatMapIteratee = - | ((item: T, index: number, array: ?$ReadOnlyArray) => Array) - | Object - | string; - declare type Comparator = (item: T, item2: T) => boolean; - - declare type MapIterator = - | ((item: T, index: number, array: Array) => U) - | propertyIterateeShorthand; - - declare type ReadOnlyMapIterator = - | ((item: T, index: number, array: $ReadOnlyArray) => U) - | propertyIterateeShorthand; - - declare type OMapIterator = - | ((item: T, key: string, object: O) => U) - | propertyIterateeShorthand; - - declare class Lodash { - // Array - chunk(array?: ?Array, size?: ?number): Array>; - compact(array?: ?Array): Array; - concat( - base?: ?$ReadOnlyArray, - ...elements: Array - ): Array; - difference( - array?: ?$ReadOnlyArray, - ...values: Array> - ): Array; - differenceBy( - array?: ?$ReadOnlyArray, - values?: ?$ReadOnlyArray, - iteratee?: ?ValueOnlyIteratee, - ): T[]; - differenceWith( - array?: ?$ReadOnlyArray, - values?: ?$ReadOnlyArray, - comparator?: ?Comparator, - ): T[]; - drop(array?: ?Array, n?: ?number): Array; - dropRight(array?: ?Array, n?: ?number): Array; - dropRightWhile(array?: ?Array, predicate?: ?Predicate): Array; - dropWhile(array?: ?Array, predicate?: ?Predicate): Array; - fill( - array?: ?Array, - value?: ?U, - start?: ?number, - end?: ?number, - ): Array; - findIndex( - array: $ReadOnlyArray, - predicate?: ?Predicate, - fromIndex?: ?number, - ): number; - findIndex( - array: void | null, - predicate?: ?Predicate, - fromIndex?: ?number, - ): -1; - findLastIndex( - array: $ReadOnlyArray, - predicate?: ?Predicate, - fromIndex?: ?number, - ): number; - findLastIndex( - array: void | null, - predicate?: ?Predicate, - fromIndex?: ?number, - ): -1; - // alias of _.head - first(array: ?$ReadOnlyArray): T; - flatten(array?: ?Array | X>): Array; - flattenDeep(array?: ?(any[])): Array; - flattenDepth(array?: ?(any[]), depth?: ?number): any[]; - fromPairs(pairs?: ?Array<[A, B]>): {[key: A]: B}; - head(array: ?$ReadOnlyArray): T; - indexOf(array: Array, value: T, fromIndex?: number): number; - indexOf(array: void | null, value?: ?T, fromIndex?: ?number): -1; - initial(array: ?Array): Array; - intersection(...arrays?: Array<$ReadOnlyArray>): Array; - // Workaround until (...parameter: T, parameter2: U) works - intersectionBy( - a1?: ?$ReadOnlyArray, - iteratee?: ?ValueOnlyIteratee, - ): Array; - intersectionBy( - a1?: ?$ReadOnlyArray, - a2?: ?$ReadOnlyArray, - iteratee?: ?ValueOnlyIteratee, - ): Array; - intersectionBy( - a1?: ?$ReadOnlyArray, - a2?: ?$ReadOnlyArray, - a3?: ?$ReadOnlyArray, - iteratee?: ?ValueOnlyIteratee, - ): Array; - intersectionBy( - a1?: ?$ReadOnlyArray, - a2?: ?$ReadOnlyArray, - a3?: ?$ReadOnlyArray, - a4?: ?$ReadOnlyArray, - iteratee?: ?ValueOnlyIteratee, - ): Array; - // Workaround until (...parameter: T, parameter2: U) works - intersectionWith( - a1?: ?$ReadOnlyArray, - comparator?: ?Comparator, - ): Array; - intersectionWith( - a1?: ?$ReadOnlyArray, - a2?: ?$ReadOnlyArray, - comparator?: ?Comparator, - ): Array; - intersectionWith( - a1?: ?$ReadOnlyArray, - a2?: ?$ReadOnlyArray, - a3?: ?$ReadOnlyArray, - comparator?: ?Comparator, - ): Array; - intersectionWith( - a1?: ?$ReadOnlyArray, - a2?: ?$ReadOnlyArray, - a3?: ?$ReadOnlyArray, - a4?: ?$ReadOnlyArray, - comparator?: ?Comparator, - ): Array; - join(array: Array, separator?: ?string): string; - join(array: void | null, separator?: ?string): ''; - last(array: ?$ReadOnlyArray): T; - lastIndexOf(array: Array, value?: ?T, fromIndex?: ?number): number; - lastIndexOf(array: void | null, value?: ?T, fromIndex?: ?number): -1; - nth(array: T[], n?: ?number): T; - nth(array: void | null, n?: ?number): void; - pull(array: Array, ...values?: Array): Array; - pull(array: T, ...values?: Array): T; - pullAll(array: Array, values?: ?Array): Array; - pullAll(array: T, values?: ?Array): T; - pullAllBy( - array: Array, - values?: ?Array, - iteratee?: ?ValueOnlyIteratee, - ): Array; - pullAllBy( - array: T, - values?: ?Array, - iteratee?: ?ValueOnlyIteratee, - ): T; - pullAllWith(array: T[], values?: ?(T[]), comparator?: ?Function): T[]; - pullAllWith( - array: T, - values?: ?Array, - comparator?: ?Function, - ): T; - pullAt(array?: ?Array, ...indexed?: Array): Array; - pullAt(array?: ?Array, indexed?: ?Array): Array; - remove(array?: ?Array, predicate?: ?Predicate): Array; - reverse(array: Array): Array; - reverse(array: T): T; - slice( - array?: ?$ReadOnlyArray, - start?: ?number, - end?: ?number, - ): Array; - sortedIndex(array: Array, value: T): number; - sortedIndex(array: void | null, value: ?T): 0; - sortedIndexBy( - array: Array, - value?: ?T, - iteratee?: ?ValueOnlyIteratee, - ): number; - sortedIndexBy( - array: void | null, - value?: ?T, - iteratee?: ?ValueOnlyIteratee, - ): 0; - sortedIndexOf(array: Array, value: T): number; - sortedIndexOf(array: void | null, value?: ?T): -1; - sortedLastIndex(array: Array, value: T): number; - sortedLastIndex(array: void | null, value?: ?T): 0; - sortedLastIndexBy( - array: Array, - value: T, - iteratee?: ValueOnlyIteratee, - ): number; - sortedLastIndexBy( - array: void | null, - value?: ?T, - iteratee?: ?ValueOnlyIteratee, - ): 0; - sortedLastIndexOf(array: Array, value: T): number; - sortedLastIndexOf(array: void | null, value?: ?T): -1; - sortedUniq(array?: ?Array): Array; - sortedUniqBy( - array?: ?Array, - iteratee?: ?ValueOnlyIteratee, - ): Array; - tail(array?: ?Array): Array; - take(array?: ?$ReadOnlyArray, n?: ?number): Array; - takeRight(array?: ?$ReadOnlyArray, n?: ?number): Array; - takeRightWhile(array?: ?Array, predicate?: ?Predicate): Array; - takeWhile(array?: ?Array, predicate?: ?Predicate): Array; - union(...arrays?: Array<$ReadOnlyArray>): Array; - // Workaround until (...parameter: T, parameter2: U) works - unionBy( - a1?: ?$ReadOnlyArray, - iteratee?: ?ValueOnlyIteratee, - ): Array; - unionBy( - a1?: ?$ReadOnlyArray, - a2: $ReadOnlyArray, - iteratee?: ValueOnlyIteratee, - ): Array; - unionBy( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - a3: $ReadOnlyArray, - iteratee?: ValueOnlyIteratee, - ): Array; - unionBy( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - a3: $ReadOnlyArray, - a4: $ReadOnlyArray, - iteratee?: ValueOnlyIteratee, - ): Array; - // Workaround until (...parameter: T, parameter2: U) works - unionWith(a1?: ?Array, comparator?: ?Comparator): Array; - unionWith( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - comparator?: Comparator, - ): Array; - unionWith( - a1: $ReadOnlyArray, - a2: $ReadOnlyArray, - a3: $ReadOnlyArray, - comparator?: Comparator, - ): Array; - unionWith( - 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?: ?Array): Array; - unzipWith(array: ?Array, iteratee?: ?Iteratee): Array; - without(array?: ?$ReadOnlyArray, ...values?: Array): Array; - xor(...array: Array>): Array; - // Workaround until (...parameter: T, parameter2: U) works - xorBy(a1?: ?Array, iteratee?: ?ValueOnlyIteratee): Array; - xorBy( - a1: Array, - a2: Array, - iteratee?: ValueOnlyIteratee, - ): Array; - xorBy( - a1: Array, - a2: Array, - a3: Array, - iteratee?: ValueOnlyIteratee, - ): Array; - xorBy( - a1: Array, - a2: Array, - a3: Array, - a4: Array, - iteratee?: ValueOnlyIteratee, - ): Array; - // Workaround until (...parameter: T, parameter2: U) works - xorWith(a1?: ?Array, comparator?: ?Comparator): Array; - xorWith( - a1: Array, - a2: Array, - comparator?: Comparator, - ): Array; - xorWith( - a1: Array, - a2: Array, - a3: Array, - comparator?: Comparator, - ): Array; - xorWith( - a1: Array, - a2: Array, - a3: Array, - a4: Array, - comparator?: Comparator, - ): Array; - zip(a1?: ?(A[]), a2?: ?(B[])): Array<[A, B]>; - zip(a1: A[], a2: B[], a3: C[]): Array<[A, B, C]>; - zip(a1: A[], a2: B[], a3: C[], a4: D[]): Array<[A, B, C, D]>; - zip( - a1: A[], - a2: B[], - a3: C[], - a4: D[], - a5: E[], - ): Array<[A, B, C, D, E]>; - - zipObject(props: Array, values?: ?Array): {[key: K]: V}; - zipObject(props: void | null, values?: ?Array): {}; - zipObjectDeep(props: any[], values?: ?any): Object; - zipObjectDeep(props: void | null, values?: ?any): {}; - - zipWith(a1?: ?Array): Array<[A]>; - zipWith(a1: Array, iteratee: (A) => T): Array; - - zipWith(a1: Array, a2: Array): Array<[A, B]>; - zipWith( - a1: Array, - a2: Array, - iteratee: (A, B) => T, - ): Array; - - zipWith( - a1: Array, - a2: Array, - a3: Array, - ): Array<[A, B, C]>; - zipWith( - a1: Array, - a2: Array, - a3: Array, - iteratee: (A, B, C) => T, - ): Array; - - zipWith( - a1: Array, - a2: Array, - a3: Array, - a4: Array, - ): Array<[A, B, C, D]>; - zipWith( - a1: Array, - a2: Array, - a3: Array, - a4: Array, - iteratee: (A, B, C, D) => T, - ): Array; - - // Collection - countBy(array: Array, iteratee?: ?ValueOnlyIteratee): Object; - countBy(array: void | null, iteratee?: ?ValueOnlyIteratee): {}; - countBy(object: T, iteratee?: ?ValueOnlyIteratee): Object; - // alias of _.forEach - each(array: $ReadOnlyArray, iteratee?: ?Iteratee): Array; - each(array: T, iteratee?: ?Iteratee): T; - each(object: T, iteratee?: ?OIteratee): T; - // alias of _.forEachRight - eachRight(array: $ReadOnlyArray, iteratee?: ?Iteratee): Array; - eachRight(array: T, iteratee?: ?Iteratee): T; - eachRight(object: T, iteratee?: OIteratee): T; - every(array?: ?$ReadOnlyArray, iteratee?: ?Iteratee): boolean; - every(object: T, iteratee?: OIteratee): boolean; - filter(array?: ?$ReadOnlyArray, predicate?: ?Predicate): Array; - filter( - object: T, - predicate?: OPredicate, - ): Array; - find( - array: $ReadOnlyArray, - predicate?: ?Predicate, - fromIndex?: ?number, - ): T | void; - find( - array: void | null, - predicate?: ?Predicate, - fromIndex?: ?number, - ): void; - find( - object: T, - predicate?: OPredicate, - fromIndex?: number, - ): V; - findLast( - array: ?$ReadOnlyArray, - predicate?: ?Predicate, - fromIndex?: ?number, - ): T | void; - findLast( - object: T, - predicate?: ?OPredicate, - ): V; - flatMap( - array?: ?$ReadOnlyArray, - iteratee?: ?FlatMapIteratee, - ): Array; - flatMap( - object: T, - iteratee?: OFlatMapIteratee, - ): Array; - flatMapDeep( - array?: ?$ReadOnlyArray, - iteratee?: ?FlatMapIteratee, - ): Array; - flatMapDeep( - object: T, - iteratee?: ?OFlatMapIteratee, - ): Array; - flatMapDepth( - array?: ?Array, - iteratee?: ?FlatMapIteratee, - depth?: ?number, - ): Array; - flatMapDepth( - object: T, - iteratee?: OFlatMapIteratee, - depth?: number, - ): Array; - forEach(array: $ReadOnlyArray, iteratee?: ?Iteratee): Array; - forEach(array: T, iteratee?: ?Iteratee): T; - forEach(object: T, iteratee?: ?OIteratee): T; - forEachRight( - array: $ReadOnlyArray, - iteratee?: ?Iteratee, - ): Array; - forEachRight(array: T, iteratee?: ?Iteratee): T; - forEachRight(object: T, iteratee?: ?OIteratee): T; - groupBy( - array: $ReadOnlyArray, - iteratee?: ?ValueOnlyIteratee, - ): {[key: V]: Array}; - groupBy(array: void | null, iteratee?: ?ValueOnlyIteratee): {}; - groupBy( - object: T, - iteratee?: ValueOnlyIteratee, - ): {[key: V]: Array}; - includes( - array: $ReadOnlyArray, - value: T, - fromIndex?: ?number, - ): boolean; - includes(array: void | null, value?: ?T, fromIndex?: ?number): false; - includes(object: T, value: any, fromIndex?: number): boolean; - includes(str: string, value: string, fromIndex?: number): boolean; - invokeMap( - array?: ?$ReadOnlyArray, - path?: ?((value: T) => Path) | Path, - ...args?: Array - ): Array; - invokeMap( - object: T, - path: ((value: any) => Path) | Path, - ...args?: Array - ): Array; - keyBy( - array: $ReadOnlyArray, - iteratee?: ?ValueOnlyIteratee, - ): {[key: V]: T}; - keyBy(array: void | null, iteratee?: ?ValueOnlyIteratee<*>): {}; - keyBy( - object: T, - iteratee?: ?ValueOnlyIteratee, - ): {[key: V]: A}; - map(array?: ?Array, iteratee?: ?MapIterator): Array; - map( - array: ?$ReadOnlyArray, - iteratee?: ReadOnlyMapIterator, - ): Array; - map( - object: ?T, - iteratee?: OMapIterator, - ): Array; - map( - str: ?string, - iteratee?: (char: string, index: number, str: string) => any, - ): string; - orderBy( - array: $ReadOnlyArray, - iteratees?: ?$ReadOnlyArray> | ?string, - orders?: ?$ReadOnlyArray<'asc' | 'desc'> | ?string, - ): Array; - orderBy( - array: null | void, - iteratees?: ?$ReadOnlyArray> | ?string, - orders?: ?$ReadOnlyArray<'asc' | 'desc'> | ?string, - ): Array; - orderBy( - object: T, - iteratees?: $ReadOnlyArray> | string, - orders?: $ReadOnlyArray<'asc' | 'desc'> | string, - ): Array; - partition( - array?: ?$ReadOnlyArray, - predicate?: ?Predicate, - ): [Array, Array]; - partition( - object: T, - predicate?: OPredicate, - ): [Array, Array]; - reduce( - array: $ReadOnlyArray, - iteratee?: ( - accumulator: U, - value: T, - index: number, - array: ?Array, - ) => U, - accumulator?: U, - ): U; - reduce( - array: void | null, - iteratee?: ?( - accumulator: U, - value: T, - index: number, - array: ?Array, - ) => U, - accumulator?: ?U, - ): void | null; - reduce( - 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: number, - array: ?Array, - ) => U, - accumulator?: ?U, - ): void | null; - reduceRight( - array: $ReadOnlyArray, - iteratee?: ?( - accumulator: U, - value: T, - index: number, - array: ?Array, - ) => U, - accumulator?: ?U, - ): U; - reduceRight( - object: T, - iteratee?: ?(accumulator: U, value: any, key: string, object: T) => U, - accumulator?: ?U, - ): U; - reject(array: ?$ReadOnlyArray, predicate?: Predicate): Array; - reject( - object?: ?T, - predicate?: ?OPredicate, - ): Array; - sample(array: ?Array): T; - sample(object: T): V; - sampleSize(array?: ?Array, n?: ?number): Array; - sampleSize(object: T, n?: number): Array; - shuffle(array: ?Array): Array; - shuffle(object: T): Array; - size(collection: $ReadOnlyArray | Object | string): number; - some(array: void | null, predicate?: ?Predicate): false; - some(array: ?$ReadOnlyArray, predicate?: Predicate): boolean; - some( - object?: ?T, - predicate?: OPredicate, - ): boolean; - sortBy( - array: ?$ReadOnlyArray, - ...iteratees?: $ReadOnlyArray> - ): Array; - sortBy( - array: ?$ReadOnlyArray, - iteratees?: $ReadOnlyArray>, - ): Array; - sortBy( - object: T, - ...iteratees?: Array> - ): Array; - sortBy( - 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: Array - ): F; - bindKey(obj?: ?Object, key?: ?string, ...partials?: Array): Function; - curry: Curry; - curry(func: Function, arity?: number): Function; - curryRight(func: Function, arity?: number): Function; - debounce any>( - func: F, - wait?: number, - options?: DebounceOptions, - ): F; - defer(func: (...any[]) => any, ...args?: Array): TimeoutID; - delay(func: Function, wait: number, ...args?: Array): TimeoutID; - flip(func: (...any[]) => R): (...any[]) => 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?: Array): Function; - overArgs(func?: ?Function, transforms?: ?Array): Function; - partial(func: (...any[]) => R, ...partials: any[]): (...any[]) => R; - partialRight( - func: (...any[]) => R, - ...partials: Array - ): (...any[]) => R; - partialRight( - func: (...any[]) => R, - partials: Array, - ): (...any[]) => R; - rearg(func: Function, ...indexes: Array): Function; - rearg(func: Function, indexes: Array): Function; - rest(func: Function, start?: number): Function; - spread(func: Function): Function; - throttle any>( - func: F, - wait?: number, - options?: ThrottleOptions, - ): F; - unary any>(func: F): F; - wrap(value?: any, wrapper?: ?Function): Function; - - // Lang - castArray(value: *): any[]; - 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 & {[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; - isArguments(value: any): boolean; - isArray(value: Array): true; - isArray(value: any): false; - isArrayBuffer(value: ArrayBuffer): true; - isArrayBuffer(value: any): false; - isArrayLike(value: Array | string | {length: number}): true; - isArrayLike(value: any): false; - isArrayLikeObject(value: {length: number} | Array): true; - isArrayLikeObject(value: any): false; - isBoolean(value: boolean): true; - isBoolean(value: any): false; - isBuffer(value: void | null): false; - isBuffer(value: any): boolean; - isDate(value: Date): true; - isDate(value: any): false; - isElement(value: Element): true; - isElement(value: any): false; - isEmpty(value: void | null | '' | {} | [] | number | boolean): true; - isEmpty(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; - isError(value: any): false; - isFinite(value: number): boolean; - isFinite(value: any): false; - isFunction(value: Function): true; - isFunction(value: any): false; - isInteger(value: number): boolean; - isInteger(value: any): false; - isLength(value: void | null): false; - isLength(value: any): boolean; - isMap(value: Map): true; - isMap(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; - isNaN(value: any): false; - isNative(value: number | string | void | null | Object): false; - isNative(value: any): boolean; - isNil(value: void | null): true; - isNil(value: any): false; - isNull(value: null): true; - isNull(value: any): false; - isNumber(value: number): true; - isNumber(value: any): false; - isObject(value: any): boolean; - isObjectLike(value: void | null): false; - isObjectLike(value: any): boolean; - isPlainObject(value: any): boolean; - isRegExp(value: RegExp): true; - isRegExp(value: any): false; - isSafeInteger(value: number): boolean; - isSafeInteger(value: any): false; - isSet(value: Set): true; - isSet(value: any): false; - isString(value: string): true; - isString(value: any): false; - isSymbol(value: Symbol): true; - isSymbol(value: any): false; - isTypedArray(value: $TypedArray): true; - isTypedArray(value: any): false; - isUndefined(value: void): true; - isUndefined(value: any): false; - isWeakMap(value: WeakMap): true; - isWeakMap(value: any): false; - isWeakSet(value: WeakSet): true; - isWeakSet(value: any): false; - lt(value: any, other: any): boolean; - lte(value: any, other: any): boolean; - toArray(value: any): Array; - toFinite(value: void | null): 0; - toFinite(value: any): number; - toInteger(value: void | null): 0; - toInteger(value: any): number; - toLength(value: void | null): 0; - toLength(value: any): number; - toNumber(value: void | null): 0; - toNumber(value: any): number; - toPlainObject(value: any): Object; - toSafeInteger(value: void | null): 0; - toSafeInteger(value: any): number; - toString(value: void | null): ''; - toString(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: ?Array): T; - maxBy(array: ?$ReadOnlyArray, iteratee?: Iteratee): T; - mean(array: Array<*>): number; - meanBy(array: Array, iteratee?: Iteratee): number; - min(array: ?Array): 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: Array<*>): number; - sumBy(array: $ReadOnlyArray, iteratee?: Iteratee): number; - - // number - clamp(number?: number, lower?: ?number, upper?: ?number): number; - clamp(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?: Array): Object; - assignIn(): {}; - assignIn(a: A, b: B): A & B; - assignIn(a: A, b: B, c: C): A & B & C; - assignIn(a: A, b: B, c: C, d: D): A & B & C & D; - assignIn(a: A, b: B, c: C, d: D, e: E): A & B & C & D & E; - assignInWith(): {}; - assignInWith( - object: T, - s1: A, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A, - ) => any | void, - ): Object; - assignInWith( - object: T, - s1: A, - s2: B, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B, - ) => any | void, - ): Object; - assignInWith( - object: T, - s1: A, - s2: B, - s3: C, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B | C, - ) => any | void, - ): Object; - assignInWith( - 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(): {}; - assignWith( - object: T, - s1: A, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A, - ) => any | void, - ): Object; - assignWith( - object: T, - s1: A, - s2: B, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B, - ) => any | void, - ): Object; - assignWith( - object: T, - s1: A, - s2: B, - s3: C, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B | C, - ) => any | void, - ): Object; - assignWith( - 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: Array): Array; - at(object?: ?Object, paths: Array): Array; - create(prototype: void | null, properties: void | null): {}; - create(prototype: T, properties: Object): T; - create(prototype: any, properties: void | null): {}; - defaults(object?: ?Object, ...sources?: Array): Object; - defaultsDeep(object?: ?Object, ...sources?: 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; - extend(a: A, b: B, c: C): A & B & C; - extend(a: A, b: B, c: C, d: D): A & B & C & D; - extend(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; - extendWith( - object: T, - s1: A, - s2: B, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B, - ) => any | void, - ): Object; - extendWith( - object: T, - s1: A, - s2: B, - s3: C, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B | C, - ) => any | void, - ): Object; - extendWith( - 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; - findKey( - object: void | null, - predicate?: ?OPredicate, - ): void; - findLastKey( - object: T, - predicate?: ?OPredicate, - ): string | void; - findLastKey( - object: void | null, - predicate?: ?OPredicate, - ): void; - forIn(object: Object, iteratee?: ?OIteratee<*>): Object; - forIn(object: void | null, iteratee?: ?OIteratee<*>): null; - forInRight(object: Object, iteratee?: ?OIteratee<*>): Object; - forInRight(object: void | null, iteratee?: ?OIteratee<*>): null; - forOwn(object: Object, iteratee?: ?OIteratee<*>): Object; - forOwn(object: void | null, iteratee?: ?OIteratee<*>): null; - forOwnRight(object: Object, iteratee?: ?OIteratee<*>): Object; - forOwnRight(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; - has(object: Object, path: void | null): false; - has(object: void | null, path?: ?Path): false; - hasIn(object: Object, path: Path): boolean; - hasIn(object: Object, path: void | null): false; - hasIn(object: void | null, path?: ?Path): false; - invert(object: Object, multiVal?: ?boolean): Object; - invert(object: void | null, multiVal?: ?boolean): {}; - invertBy(object: Object, iteratee?: ?Function): Object; - invertBy(object: void | null, iteratee?: ?Function): {}; - invoke(object?: ?Object, path?: ?Path, ...args?: Array): any; - keys(object?: ?{[key: K]: any}): Array; - keys(object?: ?Object): Array; - keysIn(object?: ?Object): Array; - mapKeys(object: Object, iteratee?: ?OIteratee<*>): Object; - mapKeys(object: void | null, iteratee?: ?OIteratee<*>): {}; - mapValues(object: Object, iteratee?: ?OIteratee<*>): Object; - mapValues(object: void | null, iteratee?: ?OIteratee<*>): {}; - merge(object?: ?Object, ...sources?: Array): Object; - mergeWith(): {}; - mergeWith( - object: T, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A, - ) => any | void, - ): Object; - mergeWith( - object: T, - s1: A, - s2: B, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B, - ) => any | void, - ): Object; - mergeWith( - object: T, - s1: A, - s2: B, - s3: C, - customizer?: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B | C, - ) => any | void, - ): Object; - mergeWith( - 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: Array): Object; - omit(object?: ?Object, props: Array): Object; - omitBy( - object: T, - predicate?: ?OPredicate, - ): Object; - omitBy(object: void | null, predicate?: ?OPredicate): {}; - pick(object?: ?Object, ...props: Array): Object; - pick(object?: ?Object, props: Array): Object; - pickBy( - object: T, - predicate?: ?OPredicate, - ): Object; - pickBy(object: void | null, predicate?: ?OPredicate): {}; - result(object?: ?Object, path?: ?Path, defaultValue?: any): any; - set(object: Object, path?: ?Path, value: any): Object; - set(object: T, path?: ?Path, value?: ?any): T; - setWith( - object: T, - path?: ?Path, - value: any, - customizer?: (nsValue: any, key: string, nsObject: T) => any, - ): Object; - setWith( - object: T, - path?: ?Path, - value?: ?any, - customizer?: ?(nsValue: any, key: string, nsObject: T) => any, - ): T; - toPairs(object?: ?Object | Array<*>): Array<[string, any]>; - toPairsIn(object?: ?Object): Array<[string, any]>; - transform( - collection: Object | $ReadOnlyArray, - iteratee?: ?OIteratee<*>, - accumulator?: any, - ): any; - transform( - collection: void | null, - iteratee?: ?OIteratee<*>, - accumulator?: ?any, - ): {}; - unset(object: void | null, path?: ?Path): true; - unset(object: Object, path?: ?Path): boolean; - update(object: Object, path: Path, updater: Function): Object; - update(object: T, path?: ?Path, updater?: ?Function): T; - updateWith( - object: Object, - path?: ?Path, - updater?: ?Function, - customizer?: ?Function, - ): Object; - updateWith( - 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; - camelCase(string: void | null): ''; - capitalize(string: string): string; - capitalize(string: void | null): ''; - deburr(string: string): string; - deburr(string: void | null): ''; - endsWith(string: string, target?: string, position?: ?number): boolean; - endsWith(string: void | null, target?: ?string, position?: ?number): false; - escape(string: string): string; - escape(string: void | null): ''; - escapeRegExp(string: string): string; - escapeRegExp(string: void | null): ''; - kebabCase(string: string): string; - kebabCase(string: void | null): ''; - lowerCase(string: string): string; - lowerCase(string: void | null): ''; - lowerFirst(string: string): string; - lowerFirst(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; - repeat(string: void | null, n?: ?number): ''; - replace( - string: string, - pattern: RegExp | string, - replacement: ((string: string) => string) | string, - ): string; - replace( - string: void | null, - pattern?: ?RegExp | ?string, - replacement: ?((string: string) => string) | ?string, - ): ''; - snakeCase(string: string): string; - snakeCase(string: void | null): ''; - split( - string?: ?string, - separator?: ?RegExp | ?string, - limit?: ?number, - ): Array; - startCase(string: string): string; - startCase(string: void | null): ''; - startsWith(string: string, target?: string, position?: number): boolean; - startsWith( - string: void | null, - target?: ?string, - position?: ?number, - ): false; - template(string?: ?string, options?: ?TemplateSettings): Function; - toLower(string: string): string; - toLower(string: void | null): ''; - toUpper(string: string): string; - toUpper(string: void | null): ''; - trim(string: string, chars?: string): string; - trim(string: void | null, chars?: ?string): ''; - trimEnd(string: string, chars?: ?string): string; - trimEnd(string: void | null, chars?: ?string): ''; - trimStart(string: string, chars?: ?string): string; - trimStart(string: void | null, chars?: ?string): ''; - truncate(string: string, options?: TruncateOptions): string; - truncate(string: void | null, options?: ?TruncateOptions): ''; - unescape(string: string): string; - unescape(string: void | null): ''; - upperCase(string: string): string; - upperCase(string: void | null): ''; - upperFirst(string: string): string; - upperFirst(string: void | null): ''; - words(string?: ?string, pattern?: ?RegExp | ?string): Array; - - // Util - attempt(func: Function, ...args: Array): any; - bindAll(object: Object, methodNames?: ?Array): Object; - bindAll(object: T, methodNames?: ?Array): T; - bindAll(object: Object, ...methodNames: Array): Object; - cond(pairs?: ?NestedArray): Function; - conforms(source?: ?Object): Function; - constant(value: T): () => T; - defaultTo(value: T1, defaultValue: T2): T2; - defaultTo(value: T1, defaultValue: T2): T1; - // NaN is a number instead of its own type, otherwise it would behave like null/void - defaultTo(value: T1, defaultValue: T2): T1 | T2; - flow: $ComposeReverse & ((funcs: Array) => Function); - flowRight: $Compose & ((funcs: Array) => Function); - identity(value: T): T; - iteratee(func?: any): Function; - matches(source?: ?Object): Function; - matchesProperty(path?: ?Path, srcValue: any): Function; - method(path?: ?Path, ...args?: Array): Function; - methodOf(object?: ?Object, ...args?: Array): Function; - mixin( - object?: T, - source: Object, - options?: {chain: boolean}, - ): T; - noConflict(): Lodash; - noop(...args: Array): void; - nthArg(n?: ?number): Function; - over(...iteratees: Array): Function; - over(iteratees: Array): Function; - overEvery(...predicates: Array): Function; - overEvery(predicates: Array): Function; - overSome(...predicates: Array): Function; - overSome(predicates: Array): Function; - property(path?: ?Path): Function; - propertyOf(object?: ?Object): Function; - range(start: number, end: number, step?: number): Array; - range(end: number, step?: number): Array; - rangeRight(start?: ?number, end?: ?number, step?: ?number): Array; - rangeRight(end?: ?number, step?: ?number): Array; - runInContext(context?: ?Object): Function; - - stubArray(): Array<*>; - stubFalse(): false; - stubObject(): {}; - stubString(): ''; - stubTrue(): true; - times(n?: ?number, ...rest?: Array): Array; - times(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< - A, - B, - C, - R, - *, - *, - *, - >; - - 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< - A, - B, - C, - D, - R, - *, - *, - *, - *, - >; - - 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< - A, - B, - C, - D, - E, - R, - *, - *, - *, - *, - *, - >; - - 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< - A, - B, - C, - D, - E, - F, - R, - *, - *, - *, - *, - *, - *, - >; - - 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 NestedArray = Array>; - - declare type matchesIterateeShorthand = {[string | number]: any}; - declare type matchesPropertyIterateeShorthand = [string, any]; - declare type propertyIterateeShorthand = string; - - declare type OPredicate = - | ((value: A) => any) - | matchesIterateeShorthand - | matchesPropertyIterateeShorthand - | propertyIterateeShorthand; - - declare type OIterateeWithResult = Object | string | ((value: V) => R); - declare type OIteratee = OIterateeWithResult; - declare type OFlatMapIteratee = 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 FlatMapIteratee = - | ((item: T) => Array) - | Object - | string; - declare type Comparator = (item: T, item2: T) => boolean; - - declare type MapIterator = ((item: T) => U) | propertyIterateeShorthand; - - declare type OMapIterator = - | ((item: T) => U) - | propertyIterateeShorthand; - - declare class Lodash { - // Array - chunk(size: number): (array: Array) => Array>; - chunk(size: number, array: Array): Array>; - compact(array?: ?$ReadOnlyArray): Array; - concat | T, B: Array | U>( - base: A, - ): (elements: B) => Array; - concat | T, B: Array | U>( - base: A, - elements: B, - ): Array; - difference(values: $ReadOnlyArray): (array: $ReadOnlyArray) => T[]; - difference(values: $ReadOnlyArray, array: $ReadOnlyArray): T[]; - differenceBy( - iteratee: ValueOnlyIteratee, - ): ((values: $ReadOnlyArray) => (array: $ReadOnlyArray) => T[]) & - ((values: $ReadOnlyArray, array: $ReadOnlyArray) => T[]); - differenceBy( - iteratee: ValueOnlyIteratee, - values: $ReadOnlyArray, - ): (array: $ReadOnlyArray) => T[]; - differenceBy( - iteratee: ValueOnlyIteratee, - values: $ReadOnlyArray, - array: $ReadOnlyArray, - ): T[]; - differenceWith( - comparator: Comparator, - ): ((first: $ReadOnly) => (second: $ReadOnly) => T[]) & - ((first: $ReadOnly, second: $ReadOnly) => T[]); - differenceWith( - comparator: Comparator, - first: $ReadOnly, - ): (second: $ReadOnly) => T[]; - differenceWith( - comparator: Comparator, - first: $ReadOnly, - second: $ReadOnly, - ): T[]; - drop(n: number): (array: Array) => Array; - drop(n: number, array: Array): Array; - dropLast(n: number): (array: Array) => Array; - dropLast(n: number, array: Array): Array; - dropRight(n: number): (array: Array) => Array; - dropRight(n: number, array: Array): Array; - dropRightWhile(predicate: Predicate): (array: Array) => Array; - dropRightWhile(predicate: Predicate, array: Array): Array; - dropWhile(predicate: Predicate): (array: Array) => Array; - dropWhile(predicate: Predicate, array: Array): Array; - dropLastWhile(predicate: Predicate): (array: Array) => Array; - dropLastWhile(predicate: Predicate, array: Array): 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); - fill( - start: number, - end: number, - ): ((value: U) => (array: Array) => Array) & - ((value: U, array: Array) => Array); - fill( - start: number, - end: number, - value: U, - ): (array: Array) => Array; - fill( - start: number, - end: number, - value: U, - array: Array, - ): Array; - findIndex(predicate: Predicate): (array: $ReadOnlyArray) => number; - findIndex(predicate: Predicate, array: $ReadOnlyArray): number; - findIndexFrom( - predicate: Predicate, - ): ((fromIndex: number) => (array: $ReadOnlyArray) => number) & - ((fromIndex: number, array: $ReadOnlyArray) => number); - findIndexFrom( - predicate: Predicate, - fromIndex: number, - ): (array: $ReadOnlyArray) => number; - findIndexFrom( - predicate: Predicate, - fromIndex: number, - array: $ReadOnlyArray, - ): number; - findLastIndex( - predicate: Predicate, - ): (array: $ReadOnlyArray) => number; - findLastIndex(predicate: Predicate, array: $ReadOnlyArray): number; - findLastIndexFrom( - predicate: Predicate, - ): ((fromIndex: number) => (array: $ReadOnlyArray) => number) & - ((fromIndex: number, array: $ReadOnlyArray) => number); - findLastIndexFrom( - predicate: Predicate, - fromIndex: number, - ): (array: $ReadOnlyArray) => number; - findLastIndexFrom( - predicate: Predicate, - fromIndex: number, - array: $ReadOnlyArray, - ): number; - // alias of _.head - first(array: $ReadOnlyArray): T; - flatten(array: Array | X>): Array; - unnest(array: Array | X>): Array; - flattenDeep(array: any[]): Array; - flattenDepth(depth: number): (array: any[]) => any[]; - flattenDepth(depth: number, array: any[]): any[]; - fromPairs(pairs: Array<[A, B]>): {[key: A]: B}; - head(array: $ReadOnlyArray): T; - indexOf(value: T): (array: Array) => number; - indexOf(value: T, array: Array): number; - indexOfFrom( - value: T, - ): ((fromIndex: number) => (array: Array) => number) & - ((fromIndex: number, array: Array) => number); - indexOfFrom(value: T, fromIndex: number): (array: Array) => number; - indexOfFrom(value: T, fromIndex: number, array: Array): number; - initial(array: Array): Array; - init(array: Array): Array; - intersection(a1: Array): (a2: Array) => Array; - intersection(a1: Array, a2: Array): Array; - intersectionBy( - iteratee: ValueOnlyIteratee, - ): ((a1: Array) => (a2: Array) => Array) & - ((a1: Array, a2: Array) => Array); - intersectionBy( - iteratee: ValueOnlyIteratee, - a1: Array, - ): (a2: Array) => Array; - intersectionBy( - iteratee: ValueOnlyIteratee, - a1: Array, - a2: Array, - ): Array; - intersectionWith( - comparator: Comparator, - ): ((a1: Array) => (a2: Array) => Array) & - ((a1: Array, a2: Array) => Array); - intersectionWith( - comparator: Comparator, - a1: Array, - ): (a2: Array) => Array; - intersectionWith( - comparator: Comparator, - a1: Array, - a2: Array, - ): Array; - join(separator: string): (array: Array) => string; - join(separator: string, array: Array): string; - last(array: Array): T; - lastIndexOf(value: T): (array: Array) => number; - lastIndexOf(value: T, array: Array): number; - lastIndexOfFrom( - value: T, - ): ((fromIndex: number) => (array: Array) => number) & - ((fromIndex: number, array: Array) => number); - lastIndexOfFrom( - value: T, - fromIndex: number, - ): (array: Array) => number; - lastIndexOfFrom(value: T, fromIndex: number, array: Array): number; - nth(n: number): (array: T[]) => T; - nth(n: number, array: T[]): T; - pull(value: T): (array: Array) => Array; - pull(value: T, array: Array): Array; - pullAll(values: Array): (array: Array) => Array; - pullAll(values: Array, array: Array): Array; - pullAllBy( - iteratee: ValueOnlyIteratee, - ): ((values: Array) => (array: Array) => Array) & - ((values: Array, array: Array) => Array); - pullAllBy( - iteratee: ValueOnlyIteratee, - values: Array, - ): (array: Array) => Array; - pullAllBy( - iteratee: ValueOnlyIteratee, - values: Array, - array: Array, - ): Array; - pullAllWith( - comparator: Function, - ): ((values: T[]) => (array: T[]) => T[]) & - ((values: T[], array: T[]) => T[]); - pullAllWith(comparator: Function, values: T[]): (array: T[]) => T[]; - pullAllWith(comparator: Function, values: T[], array: T[]): T[]; - pullAt(indexed: Array): (array: Array) => Array; - pullAt(indexed: Array, array: Array): Array; - remove(predicate: Predicate): (array: Array) => Array; - remove(predicate: Predicate, array: Array): Array; - reverse(array: Array): Array; - slice( - start: number, - ): ((end: number) => (array: Array) => Array) & - ((end: number, array: Array) => Array); - slice(start: number, end: number): (array: Array) => Array; - slice(start: number, end: number, array: Array): Array; - sortedIndex(value: T): (array: Array) => number; - sortedIndex(value: T, array: Array): number; - sortedIndexBy( - iteratee: ValueOnlyIteratee, - ): ((value: T) => (array: Array) => number) & - ((value: T, array: Array) => number); - sortedIndexBy( - iteratee: ValueOnlyIteratee, - value: T, - ): (array: Array) => number; - sortedIndexBy( - iteratee: ValueOnlyIteratee, - value: T, - array: Array, - ): number; - sortedIndexOf(value: T): (array: Array) => number; - sortedIndexOf(value: T, array: Array): number; - sortedLastIndex(value: T): (array: Array) => number; - sortedLastIndex(value: T, array: Array): number; - sortedLastIndexBy( - iteratee: ValueOnlyIteratee, - ): ((value: T) => (array: Array) => number) & - ((value: T, array: Array) => number); - sortedLastIndexBy( - iteratee: ValueOnlyIteratee, - value: T, - ): (array: Array) => number; - sortedLastIndexBy( - iteratee: ValueOnlyIteratee, - value: T, - array: Array, - ): number; - sortedLastIndexOf(value: T): (array: Array) => number; - sortedLastIndexOf(value: T, array: Array): number; - sortedUniq(array: Array): Array; - sortedUniqBy(iteratee: ValueOnlyIteratee, array: Array): Array; - tail(array: Array): Array; - take(n: number): (array: $ReadOnlyArray) => Array; - take(n: number, array: $ReadOnlyArray): Array; - takeRight(n: number): (array: $ReadOnlyArray) => Array; - takeRight(n: number, array: $ReadOnlyArray): Array; - takeLast(n: number): (array: Array) => Array; - takeLast(n: number, array: Array): Array; - takeRightWhile(predicate: Predicate): (array: Array) => Array; - takeRightWhile(predicate: Predicate, array: Array): Array; - takeLastWhile(predicate: Predicate): (array: Array) => Array; - takeLastWhile(predicate: Predicate, array: Array): Array; - takeWhile(predicate: Predicate): (array: Array) => Array; - takeWhile(predicate: Predicate, array: Array): Array; - union(a1: Array): (a2: Array) => Array; - union(a1: Array, a2: Array): Array; - unionBy( - iteratee: ValueOnlyIteratee, - ): ((a1: Array) => (a2: Array) => Array) & - ((a1: Array, a2: Array) => Array); - unionBy( - iteratee: ValueOnlyIteratee, - a1: Array, - ): (a2: Array) => Array; - unionBy( - iteratee: ValueOnlyIteratee, - a1: Array, - a2: Array, - ): Array; - unionWith( - comparator: Comparator, - ): ((a1: Array) => (a2: Array) => Array) & - ((a1: Array, a2: Array) => Array); - unionWith( - comparator: Comparator, - a1: Array, - ): (a2: Array) => Array; - unionWith( - comparator: Comparator, - a1: Array, - a2: Array, - ): Array; - uniq(array: Array): Array; - uniqBy(iteratee: ValueOnlyIteratee): (array: Array) => Array; - uniqBy(iteratee: ValueOnlyIteratee, array: Array): Array; - uniqWith(comparator: Comparator): (array: Array) => Array; - uniqWith(comparator: Comparator, array: Array): Array; - unzip(array: Array): Array; - unzipWith(iteratee: Iteratee): (array: Array) => Array; - unzipWith(iteratee: Iteratee, array: Array): Array; - without(values: Array): (array: Array) => Array; - without(values: Array, array: Array): Array; - xor(a1: Array): (a2: Array) => Array; - xor(a1: Array, a2: Array): Array; - symmetricDifference(a1: Array): (a2: Array) => Array; - symmetricDifference(a1: Array, a2: Array): Array; - xorBy( - iteratee: ValueOnlyIteratee, - ): ((a1: Array) => (a2: Array) => Array) & - ((a1: Array, a2: Array) => Array); - xorBy( - iteratee: ValueOnlyIteratee, - a1: Array, - ): (a2: Array) => Array; - xorBy( - iteratee: ValueOnlyIteratee, - a1: Array, - a2: Array, - ): Array; - symmetricDifferenceBy( - iteratee: ValueOnlyIteratee, - ): ((a1: Array) => (a2: Array) => Array) & - ((a1: Array, a2: Array) => Array); - symmetricDifferenceBy( - iteratee: ValueOnlyIteratee, - a1: Array, - ): (a2: Array) => Array; - symmetricDifferenceBy( - iteratee: ValueOnlyIteratee, - a1: Array, - a2: Array, - ): Array; - xorWith( - comparator: Comparator, - ): ((a1: Array) => (a2: Array) => Array) & - ((a1: Array, a2: Array) => Array); - xorWith( - comparator: Comparator, - a1: Array, - ): (a2: Array) => Array; - xorWith(comparator: Comparator, a1: Array, a2: Array): Array; - symmetricDifferenceWith( - comparator: Comparator, - ): ((a1: Array) => (a2: Array) => Array) & - ((a1: Array, a2: Array) => Array); - symmetricDifferenceWith( - comparator: Comparator, - a1: Array, - ): (a2: Array) => Array; - symmetricDifferenceWith( - comparator: Comparator, - a1: Array, - a2: Array, - ): Array; - zip(a1: A[]): (a2: B[]) => Array<[A, B]>; - zip(a1: A[], a2: B[]): Array<[A, B]>; - zipAll(arrays: Array>): Array; - zipObject(props?: Array): (values?: Array) => {[key: K]: V}; - zipObject(props?: Array, values?: Array): {[key: K]: V}; - zipObj(props: Array): (values: Array) => Object; - zipObj(props: Array, values: Array): Object; - zipObjectDeep(props: any[]): (values: any) => Object; - zipObjectDeep(props: any[], values: any): Object; - zipWith( - iteratee: Iteratee, - ): ((a1: NestedArray) => (a2: NestedArray) => Array) & - ((a1: NestedArray, a2: NestedArray) => Array); - zipWith( - iteratee: Iteratee, - a1: NestedArray, - ): (a2: NestedArray) => Array; - zipWith( - iteratee: Iteratee, - a1: NestedArray, - a2: NestedArray, - ): Array; - // Collection - countBy( - iteratee: ValueOnlyIteratee, - ): (collection: Array | {[id: any]: T}) => {[string]: number}; - countBy( - iteratee: ValueOnlyIteratee, - collection: Array | {[id: any]: T}, - ): {[string]: number}; - // alias of _.forEach - each( - iteratee: Iteratee | OIteratee, - ): (collection: $ReadOnlyArray | {[id: any]: T}) => Array; - each( - iteratee: Iteratee | OIteratee, - collection: $ReadOnlyArray | {[id: any]: T}, - ): Array; - // alias of _.forEachRight - eachRight( - iteratee: Iteratee | OIteratee, - ): (collection: $ReadOnlyArray | {[id: any]: T}) => Array; - eachRight( - iteratee: Iteratee | OIteratee, - collection: $ReadOnlyArray | {[id: any]: T}, - ): Array; - every( - iteratee: Iteratee | OIteratee, - ): (collection: $ReadOnlyArray | {[id: any]: T}) => boolean; - every( - iteratee: Iteratee | OIteratee, - collection: $ReadOnlyArray | {[id: any]: T}, - ): boolean; - all( - iteratee: Iteratee | OIteratee, - ): (collection: Array | {[id: any]: T}) => boolean; - all( - iteratee: Iteratee | OIteratee, - collection: Array | {[id: any]: T}, - ): boolean; - filter( - predicate: Predicate | OPredicate, - ): (collection: $ReadOnlyArray | {[id: any]: T}) => Array; - filter( - predicate: Predicate | OPredicate, - collection: $ReadOnlyArray | {[id: any]: T}, - ): Array; - find( - predicate: Predicate | OPredicate, - ): (collection: $ReadOnlyArray | {[id: any]: T}) => T | void; - find( - predicate: Predicate | OPredicate, - collection: $ReadOnlyArray | {[id: any]: T}, - ): T | void; - findFrom( - predicate: Predicate | OPredicate, - ): (( - fromIndex: number, - ) => (collection: $ReadOnlyArray | {[id: any]: T}) => T | void) & - (( - fromIndex: number, - collection: $ReadOnlyArray | {[id: any]: T}, - ) => T | void); - findFrom( - predicate: Predicate | OPredicate, - fromIndex: number, - ): (collection: Array | {[id: any]: T}) => T | void; - findFrom( - predicate: Predicate | OPredicate, - fromIndex: number, - collection: $ReadOnlyArray | {[id: any]: T}, - ): T | void; - findLast( - predicate: Predicate | OPredicate, - ): (collection: $ReadOnlyArray | {[id: any]: T}) => T | void; - findLast( - predicate: Predicate | OPredicate, - collection: $ReadOnlyArray | {[id: any]: T}, - ): T | void; - findLastFrom( - predicate: Predicate | OPredicate, - ): (( - fromIndex: number, - ) => (collection: $ReadOnlyArray | {[id: any]: T}) => T | void) & - (( - fromIndex: number, - collection: $ReadOnlyArray | {[id: any]: T}, - ) => T | void); - findLastFrom( - predicate: Predicate | OPredicate, - fromIndex: number, - ): (collection: $ReadOnlyArray | {[id: any]: T}) => T | void; - findLastFrom( - predicate: Predicate | OPredicate, - fromIndex: number, - collection: $ReadOnlyArray | {[id: any]: T}, - ): T | void; - flatMap( - iteratee: FlatMapIteratee | OFlatMapIteratee, - ): (collection: Array | {[id: any]: T}) => Array; - flatMap( - iteratee: FlatMapIteratee | OFlatMapIteratee, - collection: Array | {[id: any]: T}, - ): Array; - flatMapDeep( - iteratee: FlatMapIteratee | OFlatMapIteratee, - ): (collection: Array | {[id: any]: T}) => Array; - flatMapDeep( - iteratee: FlatMapIteratee | OFlatMapIteratee, - collection: Array | {[id: any]: T}, - ): Array; - flatMapDepth( - iteratee: FlatMapIteratee | OFlatMapIteratee, - ): (( - depth: number, - ) => (collection: Array | {[id: any]: T}) => Array) & - ((depth: number, collection: Array | {[id: any]: T}) => Array); - flatMapDepth( - iteratee: FlatMapIteratee | OFlatMapIteratee, - depth: number, - ): (collection: Array | {[id: any]: T}) => Array; - flatMapDepth( - iteratee: FlatMapIteratee | OFlatMapIteratee, - depth: number, - collection: Array | {[id: any]: T}, - ): Array; - forEach( - iteratee: Iteratee | OIteratee, - ): (collection: $ReadOnlyArray | {[id: any]: T}) => Array; - forEach( - iteratee: Iteratee | OIteratee, - collection: $ReadOnlyArray | {[id: any]: T}, - ): Array; - forEachRight( - iteratee: Iteratee | OIteratee, - ): (collection: $ReadOnlyArray | {[id: any]: T}) => Array; - forEachRight( - iteratee: Iteratee | OIteratee, - collection: $ReadOnlyArray | {[id: any]: T}, - ): Array; - groupBy( - iteratee: ValueOnlyIteratee, - ): (collection: $ReadOnlyArray | {[id: any]: T}) => {[key: V]: Array}; - groupBy( - iteratee: ValueOnlyIteratee, - collection: $ReadOnlyArray | {[id: any]: T}, - ): {[key: V]: Array}; - includes(value: T): (collection: Array | {[id: any]: T}) => boolean; - includes(value: T, collection: Array | {[id: any]: T}): boolean; - includes(value: string): (str: string) => boolean; - includes(value: string, str: string): boolean; - contains(value: string): (str: string) => boolean; - contains(value: string, str: string): boolean; - contains(value: T): (collection: Array | {[id: any]: T}) => boolean; - contains(value: T, collection: Array | {[id: any]: T}): boolean; - includesFrom( - value: string, - ): ((fromIndex: number) => (str: string) => boolean) & - ((fromIndex: number, str: string) => boolean); - includesFrom(value: string, fromIndex: number): (str: string) => boolean; - includesFrom(value: string, fromIndex: number, str: string): boolean; - includesFrom( - value: T, - ): ((fromIndex: number) => (collection: Array) => boolean) & - ((fromIndex: number, collection: Array) => boolean); - includesFrom( - value: T, - fromIndex: number, - ): (collection: Array) => boolean; - includesFrom(value: T, fromIndex: number, collection: Array): boolean; - invokeMap( - path: ((value: T) => Path) | Path, - ): (collection: Array | {[id: any]: T}) => Array; - invokeMap( - path: ((value: T) => Path) | Path, - collection: Array | {[id: any]: T}, - ): Array; - invokeArgsMap( - path: ((value: T) => Path) | Path, - ): (( - collection: Array | {[id: any]: T}, - ) => (args: Array) => Array) & - ((collection: Array | {[id: any]: T}, args: Array) => Array); - invokeArgsMap( - path: ((value: T) => Path) | Path, - collection: Array | {[id: any]: T}, - ): (args: Array) => Array; - invokeArgsMap( - path: ((value: T) => Path) | Path, - collection: Array | {[id: any]: T}, - args: Array, - ): Array; - keyBy( - iteratee: ValueOnlyIteratee, - ): (collection: $ReadOnlyArray | {[id: any]: T}) => {[key: V]: T}; - keyBy( - iteratee: ValueOnlyIteratee, - collection: $ReadOnlyArray | {[id: any]: T}, - ): {[key: V]: T}; - indexBy( - iteratee: ValueOnlyIteratee, - ): (collection: $ReadOnlyArray | {[id: any]: T}) => {[key: V]: T}; - indexBy( - iteratee: ValueOnlyIteratee, - collection: $ReadOnlyArray | {[id: any]: T}, - ): {[key: V]: T}; - map( - iteratee: MapIterator | OMapIterator, - ): (collection: $ReadOnlyArray | {[id: any]: T}) => Array; - map( - iteratee: MapIterator | OMapIterator, - collection: $ReadOnlyArray | {[id: any]: T}, - ): Array; - map(iteratee: (char: string) => any): (str: string) => string; - map(iteratee: (char: string) => any, str: string): string; - pluck( - iteratee: MapIterator | OMapIterator, - ): (collection: Array | {[id: any]: T}) => Array; - pluck( - iteratee: MapIterator | OMapIterator, - collection: Array | {[id: any]: T}, - ): Array; - pluck(iteratee: (char: string) => any): (str: string) => string; - pluck(iteratee: (char: string) => any, str: string): string; - orderBy( - iteratees: $ReadOnlyArray | OIteratee<*>> | string, - ): (( - orders: $ReadOnlyArray<'asc' | 'desc'> | string, - ) => (collection: $ReadOnlyArray | {[id: any]: T}) => Array) & - (( - orders: $ReadOnlyArray<'asc' | 'desc'> | string, - collection: $ReadOnlyArray | {[id: any]: T}, - ) => Array); - orderBy( - iteratees: $ReadOnlyArray | OIteratee<*>> | string, - orders: $ReadOnlyArray<'asc' | 'desc'> | string, - ): (collection: $ReadOnlyArray | {[id: any]: T}) => Array; - orderBy( - iteratees: $ReadOnlyArray | OIteratee<*>> | string, - orders: $ReadOnlyArray<'asc' | 'desc'> | string, - collection: $ReadOnlyArray | {[id: any]: T}, - ): Array; - partition( - predicate: Predicate | OPredicate, - ): (collection: Array | {[id: any]: T}) => [Array, Array]; - partition( - predicate: Predicate | OPredicate, - collection: Array | {[id: any]: T}, - ): [Array, Array]; - reduce( - iteratee: (accumulator: U, value: T) => U, - ): ((accumulator: U) => (collection: Array | {[id: any]: T}) => U) & - ((accumulator: U, collection: Array | {[id: any]: T}) => U); - reduce( - iteratee: (accumulator: U, value: T) => U, - accumulator: U, - ): (collection: Array | {[id: any]: T}) => U; - reduce( - iteratee: (accumulator: U, value: T) => U, - accumulator: U, - collection: Array | {[id: any]: T}, - ): U; - reduceRight( - iteratee: (value: T, accumulator: U) => U, - ): ((accumulator: U) => (collection: Array | {[id: any]: T}) => U) & - ((accumulator: U, collection: Array | {[id: any]: T}) => U); - reduceRight( - iteratee: (value: T, accumulator: U) => U, - accumulator: U, - ): (collection: Array | {[id: any]: T}) => U; - reduceRight( - iteratee: (value: T, accumulator: U) => U, - accumulator: U, - collection: Array | {[id: any]: T}, - ): U; - reject( - predicate: Predicate | OPredicate, - ): (collection: Array | {[id: any]: T}) => Array; - reject( - predicate: Predicate | OPredicate, - collection: Array | {[id: any]: T}, - ): Array; - sample(collection: Array | {[id: any]: T}): T; - sampleSize( - n: number, - ): (collection: Array | {[id: any]: T}) => Array; - sampleSize(n: number, collection: Array | {[id: any]: T}): Array; - shuffle(collection: Array | {[id: any]: T}): Array; - size(collection: $ReadOnlyArray | Object | string): number; - some( - predicate: Predicate | OPredicate, - ): (collection: $ReadOnlyArray | {[id: any]: T}) => boolean; - some( - predicate: Predicate | OPredicate, - collection: $ReadOnlyArray | {[id: any]: T}, - ): boolean; - any( - predicate: Predicate | OPredicate, - ): (collection: $ReadOnlyArray | {[id: any]: T}) => boolean; - any( - predicate: Predicate | OPredicate, - collection: $ReadOnlyArray | {[id: any]: T}, - ): boolean; - sortBy( - iteratees: - | $ReadOnlyArray | OIteratee> - | Iteratee - | OIteratee, - ): (collection: $ReadOnlyArray | {[id: any]: T}) => Array; - sortBy( - iteratees: - | $ReadOnlyArray | OIteratee> - | Iteratee - | OIteratee, - collection: $ReadOnlyArray | {[id: any]: T}, - ): Array; - - // Date - now(): number; - - // Function - after(fn: Function): (n: number) => Function; - after(fn: Function, n: number): Function; - ary(func: Function): Function; - nAry(n: number): (func: Function) => Function; - nAry(n: number, func: Function): Function; - before(fn: Function): (n: number) => Function; - before(fn: Function, n: number): Function; - bind(func: Function): (thisArg: any) => Function; - bind(func: Function, thisArg: any): Function; - bindKey(obj: Object): (key: string) => Function; - bindKey(obj: Object, key: string): Function; - curry: Curry; - curryN(arity: number): (func: Function) => Function; - curryN(arity: number, func: Function): Function; - curryRight(func: Function): Function; - curryRightN(arity: number): (func: Function) => Function; - curryRightN(arity: number, func: Function): Function; - debounce(wait: number): (func: (...A) => R) => (...A) => R; - debounce(wait: number, func: (...A) => R): (...A) => R; - defer(func: (...any[]) => any): TimeoutID; - delay(wait: number): (func: Function) => TimeoutID; - delay(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: Array) => Function; - overArgs(func: Function, transforms: Array): Function; - useWith(func: Function): (transforms: Array) => Function; - useWith(func: Function, transforms: Array): Function; - partial(func: Function): (partials: any[]) => Function; - partial(func: Function, partials: any[]): Function; - partialRight(func: Function): (partials: Array) => Function; - partialRight(func: Function, partials: Array): Function; - rearg(indexes: Array): (func: Function) => Function; - rearg(indexes: Array, func: Function): Function; - rest(func: Function): Function; - unapply(func: Function): Function; - restFrom(start: number): (func: Function) => Function; - restFrom(start: number, func: Function): Function; - spread(func: Function): Function; - apply(func: Function): Function; - spreadFrom(start: number): (func: Function) => Function; - spreadFrom(start: number, func: Function): Function; - throttle(wait: number): (func: (...A) => R) => (...A) => R; - throttle(wait: number, func: (...A) => R): (...A) => R; - unary(func: (T, ...any[]) => R): T => R; - wrap(wrapper: Function): (value: any) => Function; - wrap(wrapper: Function, value: any): Function; - - // Lang - castArray(value: *): any[]; - clone(value: T): T; - cloneDeep(value: T): T; - cloneDeepWith( - customizer: (value: T, key: number | string, object: T, stack: any) => U, - ): (value: T) => U; - cloneDeepWith( - 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; - cloneWith( - customizer: (value: T, key: number | string, object: T, stack: any) => U, - value: T, - ): U; - conformsTo( - predicates: T & {[key: string]: (x: any) => boolean}, - ): (source: T) => boolean; - conformsTo( - predicates: T & {[key: string]: (x: any) => boolean}, - source: T, - ): boolean; - where( - predicates: T & {[key: string]: (x: any) => boolean}, - ): (source: T) => boolean; - where( - predicates: T & {[key: string]: (x: any) => boolean}, - source: T, - ): boolean; - conforms( - predicates: T & {[key: string]: (x: any) => boolean}, - ): (source: T) => boolean; - conforms( - predicates: T & {[key: string]: (x: any) => boolean}, - source: T, - ): boolean; - eq(value: any): (other: any) => boolean; - eq(value: any, other: any): boolean; - identical(value: any): (other: any) => boolean; - identical(value: any, other: any): boolean; - gt(value: any): (other: any) => boolean; - gt(value: any, other: any): boolean; - gte(value: any): (other: any) => boolean; - gte(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; - isEqual(value: any, other: any): boolean; - equals(value: any): (other: any) => boolean; - equals(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); - isEqualWith( - customizer: ( - objValue: any, - otherValue: any, - key: number | string, - object: T, - other: U, - stack: any, - ) => boolean | void, - value: T, - ): (other: U) => boolean; - isEqualWith( - 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; - isMatch(source: Object, object: Object): boolean; - whereEq(source: Object): (object: Object) => boolean; - whereEq(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); - isMatchWith( - customizer: ( - objValue: any, - srcValue: any, - key: number | string, - object: T, - source: U, - ) => boolean | void, - source: U, - ): (object: T) => boolean; - isMatchWith( - 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; - isString(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; - lt(value: any, other: any): boolean; - lte(value: any): (other: any) => boolean; - lte(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: Array): T; - maxBy(iteratee: Iteratee): (array: Array) => T; - maxBy(iteratee: Iteratee, array: Array): T; - mean(array: Array<*>): number; - meanBy(iteratee: Iteratee): (array: Array) => number; - meanBy(iteratee: Iteratee, array: Array): number; - min(array: Array): T; - minBy(iteratee: Iteratee): (array: Array) => T; - minBy(iteratee: Iteratee, array: Array): 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: Array<*>): number; - sumBy(iteratee: Iteratee): (array: Array) => number; - sumBy(iteratee: Iteratee, array: Array): number; - - // number - clamp( - lower: number, - ): ((upper: number) => (number: number) => number) & - ((upper: number, number: number) => number); - clamp(lower: number, upper: number): (number: number) => number; - clamp(lower: number, upper: number, number: number): number; - inRange( - start: number, - ): ((end: number) => (number: number) => boolean) & - ((end: number, number: number) => boolean); - inRange(start: number, end: number): (number: number) => boolean; - inRange(start: number, end: number, number: number): boolean; - random(lower: number): (upper: number) => number; - random(lower: number, upper: number): number; - - // Object - assign(object: Object): (source: Object) => Object; - assign(object: Object, source: Object): Object; - assignAll(objects: Array): Object; - assignInAll(objects: Array): Object; - extendAll(objects: Array): Object; - assignIn(a: A): (b: B) => A & B; - assignIn(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); - assignInWith( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A, - ) => any | void, - object: T, - ): (s1: A) => Object; - assignInWith( - 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); - assignWith( - 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; - assignInAllWith( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: Object, - source: Object, - ) => any | void, - ): (objects: Array) => Object; - assignInAllWith( - 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; - extendAllWith( - 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; - assignAllWith( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: Object, - source: Object, - ) => any | void, - objects: Array, - ): Object; - at(paths: Array): (object: Object) => Array; - at(paths: Array, object: Object): Array; - props(paths: Array): (object: Object) => Array; - props(paths: Array, object: Object): Array; - paths(paths: Array): (object: Object) => Array; - paths(paths: Array, object: Object): Array; - create(prototype: T): T; - defaults(source: Object): (object: Object) => Object; - defaults(source: Object, object: Object): Object; - defaultsAll(objects: Array): Object; - defaultsDeep(source: Object): (object: Object) => Object; - defaultsDeep(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; - extend(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); - extendWith( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A, - ) => any | void, - object: T, - ): (s1: A) => Object; - extendWith( - 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; - findKey( - predicate: OPredicate, - object: T, - ): string | void; - findLastKey( - predicate: OPredicate, - ): (object: T) => string | void; - findLastKey( - predicate: OPredicate, - object: T, - ): string | void; - forIn(iteratee: OIteratee<*>): (object: Object) => Object; - forIn(iteratee: OIteratee<*>, object: Object): Object; - forInRight(iteratee: OIteratee<*>): (object: Object) => Object; - forInRight(iteratee: OIteratee<*>, object: Object): Object; - forOwn(iteratee: OIteratee<*>): (object: Object) => Object; - forOwn(iteratee: OIteratee<*>, object: Object): Object; - forOwnRight(iteratee: OIteratee<*>): (object: Object) => Object; - forOwnRight(iteratee: OIteratee<*>, object: Object): Object; - functions(object: Object): Array; - functionsIn(object: Object): Array; - get( - path: Path, - ): (object: Object | $ReadOnlyArray | void | null) => any; - get(path: Path, object: Object | $ReadOnlyArray | void | null): any; - prop(path: Path): (object: Object | Array) => any; - prop(path: Path, object: Object | Array): any; - path(path: Path): (object: Object | Array) => any; - path(path: Path, object: Object | Array): any; - getOr( - defaultValue: any, - ): ((path: Path) => (object: Object | Array) => any) & - ((path: Path, object: Object | $ReadOnlyArray | void | null) => any); - getOr( - defaultValue: any, - path: Path, - ): (object: Object | $ReadOnlyArray | void | null) => any; - getOr( - defaultValue: any, - path: Path, - object: Object | $ReadOnlyArray | void | null, - ): any; - propOr( - defaultValue: any, - ): ((path: Path) => (object: Object | Array) => any) & - ((path: Path, object: Object | Array) => any); - propOr(defaultValue: any, path: Path): (object: Object | Array) => any; - propOr(defaultValue: any, path: Path, object: Object | Array): any; - pathOr( - defaultValue: any, - ): ((path: Path) => (object: Object | Array) => any) & - ((path: Path, object: Object | Array) => any); - pathOr(defaultValue: any, path: Path): (object: Object | Array) => any; - pathOr(defaultValue: any, path: Path, object: Object | Array): any; - has(path: Path): (object: Object) => boolean; - has(path: Path, object: Object): boolean; - hasIn(path: Path): (object: Object) => boolean; - hasIn(path: Path, object: Object): boolean; - invert(object: Object): Object; - invertObj(object: Object): Object; - invertBy(iteratee: Function): (object: Object) => Object; - invertBy(iteratee: Function, object: Object): Object; - invoke(path: Path): (object: Object) => any; - invoke(path: Path, object: Object): any; - invokeArgs( - path: Path, - ): ((object: Object) => (args: Array) => any) & - ((object: Object, args: Array) => any); - invokeArgs(path: Path, object: Object): (args: Array) => any; - invokeArgs(path: Path, object: Object, args: Array): any; - keys(object: {[key: K]: any}): Array; - keys(object: Object): Array; - keysIn(object: Object): Array; - mapKeys(iteratee: OIteratee<*>): (object: Object) => Object; - mapKeys(iteratee: OIteratee<*>, object: Object): Object; - mapValues(iteratee: OIteratee<*>): (object: Object) => Object; - mapValues(iteratee: OIteratee<*>, object: Object): Object; - merge(object: Object): (source: Object) => Object; - merge(object: Object, source: Object): Object; - mergeAll(objects: Array): 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); - mergeWith( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: T, - source: A | B, - ) => any | void, - object: T, - ): (s1: A) => Object; - mergeWith( - 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: Array) => Object; - mergeAllWith( - customizer: ( - objValue: any, - srcValue: any, - key: string, - object: Object, - source: Object, - ) => any | void, - objects: Array, - ): Object; - omit(props: Array): (object: Object) => Object; - omit(props: Array, object: Object): Object; - omitAll(props: Array): (object: Object) => Object; - omitAll(props: Array, object: Object): Object; - omitBy( - predicate: OPredicate, - ): (object: T) => Object; - omitBy(predicate: OPredicate, object: T): Object; - pick(props: Array): (object: Object) => Object; - pick(props: Array, object: Object): Object; - pickAll(props: Array): (object: Object) => Object; - pickAll(props: Array, object: Object): Object; - pickBy( - predicate: OPredicate, - ): (object: T) => Object; - pickBy(predicate: OPredicate, object: T): Object; - result(path: Path): (object: Object) => any; - result(path: Path, object: Object): any; - set( - path: Path, - ): ((value: any) => (object: Object) => Object) & - ((value: any, object: Object) => Object); - set(path: Path, value: any): (object: Object) => Object; - set(path: Path, value: any, object: Object): Object; - assoc( - path: Path, - ): ((value: any) => (object: Object) => Object) & - ((value: any, object: Object) => Object); - assoc(path: Path, value: any): (object: Object) => Object; - assoc(path: Path, value: any, object: Object): Object; - assocPath( - path: Path, - ): ((value: any) => (object: Object) => Object) & - ((value: any, object: Object) => Object); - assocPath(path: Path, value: any): (object: Object) => Object; - assocPath(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); - setWith( - customizer: (nsValue: any, key: string, nsObject: T) => any, - path: Path, - ): ((value: any) => (object: T) => Object) & - ((value: any, object: T) => Object); - setWith( - customizer: (nsValue: any, key: string, nsObject: T) => any, - path: Path, - value: any, - ): (object: T) => Object; - setWith( - customizer: (nsValue: any, key: string, nsObject: T) => any, - path: Path, - value: any, - object: T, - ): Object; - toPairs(object: Object | Array<*>): Array<[string, any]>; - toPairsIn(object: Object): Array<[string, any]>; - transform( - iteratee: OIteratee<*>, - ): (( - accumulator: any, - ) => (collection: Object | $ReadOnlyArray) => any) & - ((accumulator: any, collection: Object | $ReadOnlyArray) => any); - transform( - iteratee: OIteratee<*>, - accumulator: any, - ): (collection: Object | $ReadOnlyArray) => any; - transform( - iteratee: OIteratee<*>, - accumulator: any, - collection: Object | $ReadOnlyArray, - ): any; - unset(path: Path): (object: Object) => Object; - unset(path: Path, object: Object): Object; - dissoc(path: Path): (object: Object) => Object; - dissoc(path: Path, object: Object): Object; - dissocPath(path: Path): (object: Object) => Object; - dissocPath(path: Path, object: Object): Object; - update( - path: Path, - ): ((updater: Function) => (object: Object) => Object) & - ((updater: Function, object: Object) => Object); - update(path: Path, updater: Function): (object: Object) => Object; - update(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); - updateWith( - customizer: Function, - path: Path, - ): ((updater: Function) => (object: Object) => Object) & - ((updater: Function, object: Object) => Object); - updateWith( - customizer: Function, - path: Path, - updater: Function, - ): (object: Object) => Object; - updateWith( - 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; - tap(interceptor: (value: T) => any, value: T): T; - thru(interceptor: (value: T1) => T2): (value: T1) => T2; - thru(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; - endsWith(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; - pad(length: number, string: string): string; - padChars( - chars: string, - ): ((length: number) => (string: string) => string) & - ((length: number, string: string) => string); - padChars(chars: string, length: number): (string: string) => string; - padChars(chars: string, length: number, string: string): string; - padEnd(length: number): (string: string) => string; - padEnd(length: number, string: string): string; - padCharsEnd( - chars: string, - ): ((length: number) => (string: string) => string) & - ((length: number, string: string) => string); - padCharsEnd(chars: string, length: number): (string: string) => string; - padCharsEnd(chars: string, length: number, string: string): string; - padStart(length: number): (string: string) => string; - padStart(length: number, string: string): string; - padCharsStart( - chars: string, - ): ((length: number) => (string: string) => string) & - ((length: number, string: string) => string); - padCharsStart(chars: string, length: number): (string: string) => string; - padCharsStart(chars: string, length: number, string: string): string; - parseInt(radix: number): (string: string) => number; - parseInt(radix: number, string: string): number; - repeat(n: number): (string: string) => string; - repeat(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); - replace( - pattern: RegExp | string, - replacement: ((string: string) => string) | string, - ): (string: string) => string; - replace( - pattern: RegExp | string, - replacement: ((string: string) => string) | string, - string: string, - ): string; - snakeCase(string: string): string; - split(separator: RegExp | string): (string: string) => Array; - split(separator: RegExp | string, string: string): Array; - startCase(string: string): string; - startsWith(target: string): (string: string) => boolean; - startsWith(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; - trimChars(chars: string, string: string): string; - trimEnd(string: string): string; - trimCharsEnd(chars: string): (string: string) => string; - trimCharsEnd(chars: string, string: string): string; - trimStart(string: string): string; - trimCharsStart(chars: string): (string: string) => string; - trimCharsStart(chars: string, string: string): string; - truncate(options: TruncateOptions): (string: string) => string; - truncate(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: Array): (object: Object) => Object; - bindAll(methodNames: Array, object: Object): Object; - cond(pairs: NestedArray): Function; - constant(value: T): () => T; - always(value: T): () => T; - defaultTo(defaultValue: T2): (value: T1) => T2; - defaultTo(defaultValue: T2, value: T1): T2; - defaultTo(defaultValue: T2): (value: T1) => T1; - defaultTo(defaultValue: T2, value: T1): T1; - // NaN is a number instead of its own type, otherwise it would behave like null/void - defaultTo(defaultValue: T2): (value: T1) => T1 | T2; - defaultTo(defaultValue: T2, value: T1): T1 | T2; - flow: $ComposeReverse & ((funcs: Array) => Function); - pipe: $ComposeReverse & ((funcs: Array) => Function); - flowRight: $Compose & ((funcs: Array) => Function); - compose: $Compose & ((funcs: Array) => Function); - compose(funcs: Array): Function; - identity(value: T): T; - iteratee(func: any): Function; - matches(source: Object): (object: Object) => boolean; - matches(source: Object, object: Object): boolean; - matchesProperty(path: Path): (srcValue: any) => Function; - matchesProperty(path: Path, srcValue: any): Function; - propEq(path: Path): (srcValue: any) => Function; - propEq(path: Path, srcValue: any): Function; - pathEq(path: Path): (srcValue: any) => Function; - pathEq(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); - mixin( - object: T, - source: Object, - ): (options: {chain: boolean}) => T; - mixin( - object: T, - source: Object, - options: {chain: boolean}, - ): T; - noConflict(): Lodash; - noop(...args: Array): void; - nthArg(n: number): Function; - over(iteratees: Array): Function; - juxt(iteratees: Array): Function; - overEvery(predicates: Array): Function; - allPass(predicates: Array): Function; - overSome(predicates: Array): Function; - anyPass(predicates: Array): Function; - property(path: Path): (object: Object | Array) => any; - property(path: Path, object: Object | Array): any; - propertyOf(object: Object): (path: Path) => Function; - propertyOf(object: Object, path: Path): Function; - range(start: number): (end: number) => Array; - range(start: number, end: number): Array; - rangeStep( - step: number, - ): ((start: number) => (end: number) => Array) & - ((start: number, end: number) => Array); - rangeStep(step: number, start: number): (end: number) => Array; - rangeStep(step: number, start: number, end: number): Array; - rangeRight(start: number): (end: number) => Array; - rangeRight(start: number, end: number): Array; - rangeStepRight( - step: number, - ): ((start: number) => (end: number) => Array) & - ((start: number, end: number) => Array); - rangeStepRight(step: number, start: number): (end: number) => Array; - rangeStepRight(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; - times(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: $PropertyType<$Exports<'lodash'>, 'chunk'>; -} - -declare module 'lodash/compact' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'compact'>; -} - -declare module 'lodash/concat' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'concat'>; -} - -declare module 'lodash/difference' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'difference'>; -} - -declare module 'lodash/differenceBy' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'differenceBy'>; -} - -declare module 'lodash/differenceWith' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'differenceWith'>; -} - -declare module 'lodash/drop' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'drop'>; -} - -declare module 'lodash/dropRight' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'dropRight'>; -} - -declare module 'lodash/dropRightWhile' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'dropRightWhile'>; -} - -declare module 'lodash/dropWhile' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'dropWhile'>; -} - -declare module 'lodash/fill' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'fill'>; -} - -declare module 'lodash/findIndex' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'findIndex'>; -} - -declare module 'lodash/findLastIndex' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'findLastIndex'>; -} - -declare module 'lodash/first' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'first'>; -} - -declare module 'lodash/flatten' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'flatten'>; -} - -declare module 'lodash/flattenDeep' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'flattenDeep'>; -} - -declare module 'lodash/flattenDepth' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'flattenDepth'>; -} - -declare module 'lodash/fromPairs' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'fromPairs'>; -} - -declare module 'lodash/head' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'head'>; -} - -declare module 'lodash/indexOf' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'indexOf'>; -} - -declare module 'lodash/initial' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'initial'>; -} - -declare module 'lodash/intersection' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'intersection'>; -} - -declare module 'lodash/intersectionBy' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'intersectionBy'>; -} - -declare module 'lodash/intersectionWith' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'intersectionWith'>; -} - -declare module 'lodash/join' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'join'>; -} - -declare module 'lodash/last' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'last'>; -} - -declare module 'lodash/lastIndexOf' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'lastIndexOf'>; -} - -declare module 'lodash/nth' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'nth'>; -} - -declare module 'lodash/pull' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'pull'>; -} - -declare module 'lodash/pullAll' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'pullAll'>; -} - -declare module 'lodash/pullAllBy' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'pullAllBy'>; -} - -declare module 'lodash/pullAllWith' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'pullAllWith'>; -} - -declare module 'lodash/pullAt' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'pullAt'>; -} - -declare module 'lodash/remove' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'remove'>; -} - -declare module 'lodash/reverse' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'reverse'>; -} - -declare module 'lodash/slice' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'slice'>; -} - -declare module 'lodash/sortedIndex' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'sortedIndex'>; -} - -declare module 'lodash/sortedIndexBy' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'sortedIndexBy'>; -} - -declare module 'lodash/sortedIndexOf' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'sortedIndexOf'>; -} - -declare module 'lodash/sortedLastIndex' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'sortedLastIndex'>; -} - -declare module 'lodash/sortedLastIndexBy' { - declare module.exports: $PropertyType< - $Exports<'lodash'>, - 'sortedLastIndexBy', - >; -} - -declare module 'lodash/sortedLastIndexOf' { - declare module.exports: $PropertyType< - $Exports<'lodash'>, - 'sortedLastIndexOf', - >; -} - -declare module 'lodash/sortedUniq' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'sortedUniq'>; -} - -declare module 'lodash/sortedUniqBy' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'sortedUniqBy'>; -} - -declare module 'lodash/tail' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'tail'>; -} - -declare module 'lodash/take' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'take'>; -} - -declare module 'lodash/takeRight' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'takeRight'>; -} - -declare module 'lodash/takeRightWhile' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'takeRightWhile'>; -} - -declare module 'lodash/takeWhile' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'takeWhile'>; -} - -declare module 'lodash/union' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'union'>; -} - -declare module 'lodash/unionBy' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'unionBy'>; -} - -declare module 'lodash/unionWith' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'unionWith'>; -} - -declare module 'lodash/uniq' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'uniq'>; -} - -declare module 'lodash/uniqBy' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'uniqBy'>; -} - -declare module 'lodash/uniqWith' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'uniqWith'>; -} - -declare module 'lodash/unzip' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'unzip'>; -} - -declare module 'lodash/unzipWith' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'unzipWith'>; -} - -declare module 'lodash/without' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'without'>; -} - -declare module 'lodash/xor' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'xor'>; -} - -declare module 'lodash/xorBy' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'xorBy'>; -} - -declare module 'lodash/xorWith' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'xorWith'>; -} - -declare module 'lodash/zip' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'zip'>; -} - -declare module 'lodash/zipObject' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'zipObject'>; -} - -declare module 'lodash/zipObjectDeep' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'zipObjectDeep'>; -} - -declare module 'lodash/zipWith' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'zipWith'>; -} - -declare module 'lodash/countBy' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'countBy'>; -} - -declare module 'lodash/each' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'each'>; -} - -declare module 'lodash/eachRight' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'eachRight'>; -} - -declare module 'lodash/every' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'every'>; -} - -declare module 'lodash/filter' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'filter'>; -} - -declare module 'lodash/find' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'find'>; -} - -declare module 'lodash/findLast' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'findLast'>; -} - -declare module 'lodash/flatMap' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'flatMap'>; -} - -declare module 'lodash/flatMapDeep' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'flatMapDeep'>; -} - -declare module 'lodash/flatMapDepth' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'flatMapDepth'>; -} - -declare module 'lodash/forEach' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'forEach'>; -} - -declare module 'lodash/forEachRight' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'forEachRight'>; -} - -declare module 'lodash/groupBy' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'groupBy'>; -} - -declare module 'lodash/includes' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'includes'>; -} - -declare module 'lodash/invokeMap' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'invokeMap'>; -} - -declare module 'lodash/keyBy' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'keyBy'>; -} - -declare module 'lodash/map' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'map'>; -} - -declare module 'lodash/orderBy' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'orderBy'>; -} - -declare module 'lodash/partition' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'partition'>; -} - -declare module 'lodash/reduce' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'reduce'>; -} - -declare module 'lodash/reduceRight' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'reduceRight'>; -} - -declare module 'lodash/reject' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'reject'>; -} - -declare module 'lodash/sample' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'sample'>; -} - -declare module 'lodash/sampleSize' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'sampleSize'>; -} - -declare module 'lodash/shuffle' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'shuffle'>; -} - -declare module 'lodash/size' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'size'>; -} - -declare module 'lodash/some' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'some'>; -} - -declare module 'lodash/sortBy' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'sortBy'>; -} - -declare module 'lodash/now' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'now'>; -} - -declare module 'lodash/after' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'after'>; -} - -declare module 'lodash/ary' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'ary'>; -} - -declare module 'lodash/before' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'before'>; -} - -declare module 'lodash/bind' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'bind'>; -} - -declare module 'lodash/bindKey' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'bindKey'>; -} - -declare module 'lodash/curry' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'curry'>; -} - -declare module 'lodash/curryRight' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'curryRight'>; -} - -declare module 'lodash/debounce' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'debounce'>; -} - -declare module 'lodash/defer' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'defer'>; -} - -declare module 'lodash/delay' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'delay'>; -} - -declare module 'lodash/flip' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'flip'>; -} - -declare module 'lodash/memoize' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'memoize'>; -} - -declare module 'lodash/negate' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'negate'>; -} - -declare module 'lodash/once' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'once'>; -} - -declare module 'lodash/overArgs' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'overArgs'>; -} - -declare module 'lodash/partial' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'partial'>; -} - -declare module 'lodash/partialRight' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'partialRight'>; -} - -declare module 'lodash/rearg' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'rearg'>; -} - -declare module 'lodash/rest' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'rest'>; -} - -declare module 'lodash/spread' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'spread'>; -} - -declare module 'lodash/throttle' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'throttle'>; -} - -declare module 'lodash/unary' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'unary'>; -} - -declare module 'lodash/wrap' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'wrap'>; -} - -declare module 'lodash/castArray' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'castArray'>; -} - -declare module 'lodash/clone' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'clone'>; -} - -declare module 'lodash/cloneDeep' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'cloneDeep'>; -} - -declare module 'lodash/cloneDeepWith' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'cloneDeepWith'>; -} - -declare module 'lodash/cloneWith' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'cloneWith'>; -} - -declare module 'lodash/conformsTo' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'conformsTo'>; -} - -declare module 'lodash/eq' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'eq'>; -} - -declare module 'lodash/gt' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'gt'>; -} - -declare module 'lodash/gte' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'gte'>; -} - -declare module 'lodash/isArguments' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'isArguments'>; -} - -declare module 'lodash/isArray' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'isArray'>; -} - -declare module 'lodash/isArrayBuffer' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'isArrayBuffer'>; -} - -declare module 'lodash/isArrayLike' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'isArrayLike'>; -} - -declare module 'lodash/isArrayLikeObject' { - declare module.exports: $PropertyType< - $Exports<'lodash'>, - 'isArrayLikeObject', - >; -} - -declare module 'lodash/isBoolean' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'isBoolean'>; -} - -declare module 'lodash/isBuffer' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'isBuffer'>; -} - -declare module 'lodash/isDate' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'isDate'>; -} - -declare module 'lodash/isElement' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'isElement'>; -} - -declare module 'lodash/isEmpty' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'isEmpty'>; -} - -declare module 'lodash/isEqual' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'isEqual'>; -} - -declare module 'lodash/isEqualWith' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'isEqualWith'>; -} - -declare module 'lodash/isError' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'isError'>; -} - -declare module 'lodash/isFinite' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'isFinite'>; -} - -declare module 'lodash/isFunction' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'isFunction'>; -} - -declare module 'lodash/isInteger' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'isInteger'>; -} - -declare module 'lodash/isLength' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'isLength'>; -} - -declare module 'lodash/isMap' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'isMap'>; -} - -declare module 'lodash/isMatch' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'isMatch'>; -} - -declare module 'lodash/isMatchWith' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'isMatchWith'>; -} - -declare module 'lodash/isNaN' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'isNaN'>; -} - -declare module 'lodash/isNative' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'isNative'>; -} - -declare module 'lodash/isNil' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'isNil'>; -} - -declare module 'lodash/isNull' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'isNull'>; -} - -declare module 'lodash/isNumber' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'isNumber'>; -} - -declare module 'lodash/isObject' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'isObject'>; -} - -declare module 'lodash/isObjectLike' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'isObjectLike'>; -} - -declare module 'lodash/isPlainObject' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'isPlainObject'>; -} - -declare module 'lodash/isRegExp' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'isRegExp'>; -} - -declare module 'lodash/isSafeInteger' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'isSafeInteger'>; -} - -declare module 'lodash/isSet' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'isSet'>; -} - -declare module 'lodash/isString' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'isString'>; -} - -declare module 'lodash/isSymbol' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'isSymbol'>; -} - -declare module 'lodash/isTypedArray' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'isTypedArray'>; -} - -declare module 'lodash/isUndefined' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'isUndefined'>; -} - -declare module 'lodash/isWeakMap' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'isWeakMap'>; -} - -declare module 'lodash/isWeakSet' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'isWeakSet'>; -} - -declare module 'lodash/lt' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'lt'>; -} - -declare module 'lodash/lte' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'lte'>; -} - -declare module 'lodash/toArray' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'toArray'>; -} - -declare module 'lodash/toFinite' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'toFinite'>; -} - -declare module 'lodash/toInteger' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'toInteger'>; -} - -declare module 'lodash/toLength' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'toLength'>; -} - -declare module 'lodash/toNumber' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'toNumber'>; -} - -declare module 'lodash/toPlainObject' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'toPlainObject'>; -} - -declare module 'lodash/toSafeInteger' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'toSafeInteger'>; -} - -declare module 'lodash/toString' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'toString'>; -} - -declare module 'lodash/add' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'add'>; -} - -declare module 'lodash/ceil' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'ceil'>; -} - -declare module 'lodash/divide' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'divide'>; -} - -declare module 'lodash/floor' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'floor'>; -} - -declare module 'lodash/max' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'max'>; -} - -declare module 'lodash/maxBy' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'maxBy'>; -} - -declare module 'lodash/mean' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'mean'>; -} - -declare module 'lodash/meanBy' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'meanBy'>; -} - -declare module 'lodash/min' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'min'>; -} - -declare module 'lodash/minBy' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'minBy'>; -} - -declare module 'lodash/multiply' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'multiply'>; -} - -declare module 'lodash/round' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'round'>; -} - -declare module 'lodash/subtract' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'subtract'>; -} - -declare module 'lodash/sum' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'sum'>; -} - -declare module 'lodash/sumBy' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'sumBy'>; -} - -declare module 'lodash/clamp' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'clamp'>; -} - -declare module 'lodash/inRange' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'inRange'>; -} - -declare module 'lodash/random' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'random'>; -} - -declare module 'lodash/assign' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'assign'>; -} - -declare module 'lodash/assignIn' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'assignIn'>; -} - -declare module 'lodash/assignInWith' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'assignInWith'>; -} - -declare module 'lodash/assignWith' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'assignWith'>; -} - -declare module 'lodash/at' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'at'>; -} - -declare module 'lodash/create' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'create'>; -} - -declare module 'lodash/defaults' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'defaults'>; -} - -declare module 'lodash/defaultsDeep' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'defaultsDeep'>; -} - -declare module 'lodash/entries' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'entries'>; -} - -declare module 'lodash/entriesIn' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'entriesIn'>; -} - -declare module 'lodash/extend' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'extend'>; -} - -declare module 'lodash/extendWith' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'extendWith'>; -} - -declare module 'lodash/findKey' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'findKey'>; -} - -declare module 'lodash/findLastKey' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'findLastKey'>; -} - -declare module 'lodash/forIn' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'forIn'>; -} - -declare module 'lodash/forInRight' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'forInRight'>; -} - -declare module 'lodash/forOwn' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'forOwn'>; -} - -declare module 'lodash/forOwnRight' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'forOwnRight'>; -} - -declare module 'lodash/functions' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'functions'>; -} - -declare module 'lodash/functionsIn' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'functionsIn'>; -} - -declare module 'lodash/get' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'get'>; -} - -declare module 'lodash/has' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'has'>; -} - -declare module 'lodash/hasIn' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'hasIn'>; -} - -declare module 'lodash/invert' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'invert'>; -} - -declare module 'lodash/invertBy' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'invertBy'>; -} - -declare module 'lodash/invoke' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'invoke'>; -} - -declare module 'lodash/keys' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'keys'>; -} - -declare module 'lodash/keysIn' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'keysIn'>; -} - -declare module 'lodash/mapKeys' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'mapKeys'>; -} - -declare module 'lodash/mapValues' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'mapValues'>; -} - -declare module 'lodash/merge' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'merge'>; -} - -declare module 'lodash/mergeWith' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'mergeWith'>; -} - -declare module 'lodash/omit' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'omit'>; -} - -declare module 'lodash/omitBy' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'omitBy'>; -} - -declare module 'lodash/pick' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'pick'>; -} - -declare module 'lodash/pickBy' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'pickBy'>; -} - -declare module 'lodash/result' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'result'>; -} - -declare module 'lodash/set' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'set'>; -} - -declare module 'lodash/setWith' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'setWith'>; -} - -declare module 'lodash/toPairs' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'toPairs'>; -} - -declare module 'lodash/toPairsIn' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'toPairsIn'>; -} - -declare module 'lodash/transform' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'transform'>; -} - -declare module 'lodash/unset' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'unset'>; -} - -declare module 'lodash/update' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'update'>; -} - -declare module 'lodash/updateWith' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'updateWith'>; -} - -declare module 'lodash/values' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'values'>; -} - -declare module 'lodash/valuesIn' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'valuesIn'>; -} - -declare module 'lodash/chain' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'chain'>; -} - -declare module 'lodash/tap' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'tap'>; -} - -declare module 'lodash/thru' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'thru'>; -} - -declare module 'lodash/camelCase' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'camelCase'>; -} - -declare module 'lodash/capitalize' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'capitalize'>; -} - -declare module 'lodash/deburr' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'deburr'>; -} - -declare module 'lodash/endsWith' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'endsWith'>; -} - -declare module 'lodash/escape' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'escape'>; -} - -declare module 'lodash/escapeRegExp' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'escapeRegExp'>; -} - -declare module 'lodash/kebabCase' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'kebabCase'>; -} - -declare module 'lodash/lowerCase' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'lowerCase'>; -} - -declare module 'lodash/lowerFirst' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'lowerFirst'>; -} - -declare module 'lodash/pad' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'pad'>; -} - -declare module 'lodash/padEnd' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'padEnd'>; -} - -declare module 'lodash/padStart' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'padStart'>; -} - -declare module 'lodash/parseInt' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'parseInt'>; -} - -declare module 'lodash/repeat' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'repeat'>; -} - -declare module 'lodash/replace' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'replace'>; -} - -declare module 'lodash/snakeCase' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'snakeCase'>; -} - -declare module 'lodash/split' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'split'>; -} - -declare module 'lodash/startCase' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'startCase'>; -} - -declare module 'lodash/startsWith' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'startsWith'>; -} - -declare module 'lodash/template' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'template'>; -} - -declare module 'lodash/toLower' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'toLower'>; -} - -declare module 'lodash/toUpper' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'toUpper'>; -} - -declare module 'lodash/trim' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'trim'>; -} - -declare module 'lodash/trimEnd' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'trimEnd'>; -} - -declare module 'lodash/trimStart' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'trimStart'>; -} - -declare module 'lodash/truncate' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'truncate'>; -} - -declare module 'lodash/unescape' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'unescape'>; -} - -declare module 'lodash/upperCase' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'upperCase'>; -} - -declare module 'lodash/upperFirst' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'upperFirst'>; -} - -declare module 'lodash/words' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'words'>; -} - -declare module 'lodash/attempt' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'attempt'>; -} - -declare module 'lodash/bindAll' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'bindAll'>; -} - -declare module 'lodash/cond' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'cond'>; -} - -declare module 'lodash/conforms' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'conforms'>; -} - -declare module 'lodash/constant' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'constant'>; -} - -declare module 'lodash/defaultTo' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'defaultTo'>; -} - -declare module 'lodash/flow' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'flow'>; -} - -declare module 'lodash/flowRight' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'flowRight'>; -} - -declare module 'lodash/identity' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'identity'>; -} - -declare module 'lodash/iteratee' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'iteratee'>; -} - -declare module 'lodash/matches' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'matches'>; -} - -declare module 'lodash/matchesProperty' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'matchesProperty'>; -} - -declare module 'lodash/method' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'method'>; -} - -declare module 'lodash/methodOf' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'methodOf'>; -} - -declare module 'lodash/mixin' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'mixin'>; -} - -declare module 'lodash/noConflict' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'noConflict'>; -} - -declare module 'lodash/noop' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'noop'>; -} - -declare module 'lodash/nthArg' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'nthArg'>; -} - -declare module 'lodash/over' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'over'>; -} - -declare module 'lodash/overEvery' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'overEvery'>; -} - -declare module 'lodash/overSome' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'overSome'>; -} - -declare module 'lodash/property' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'property'>; -} - -declare module 'lodash/propertyOf' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'propertyOf'>; -} - -declare module 'lodash/range' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'range'>; -} - -declare module 'lodash/rangeRight' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'rangeRight'>; -} - -declare module 'lodash/runInContext' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'runInContext'>; -} - -declare module 'lodash/stubArray' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'stubArray'>; -} - -declare module 'lodash/stubFalse' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'stubFalse'>; -} - -declare module 'lodash/stubObject' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'stubObject'>; -} - -declare module 'lodash/stubString' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'stubString'>; -} - -declare module 'lodash/stubTrue' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'stubTrue'>; -} - -declare module 'lodash/times' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'times'>; -} - -declare module 'lodash/toPath' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'toPath'>; -} - -declare module 'lodash/uniqueId' { - declare module.exports: $PropertyType<$Exports<'lodash'>, 'uniqueId'>; -} - -declare module 'lodash/fp/chunk' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'chunk'>; -} - -declare module 'lodash/fp/compact' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'compact'>; -} - -declare module 'lodash/fp/concat' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'concat'>; -} - -declare module 'lodash/fp/difference' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'difference'>; -} - -declare module 'lodash/fp/differenceBy' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'differenceBy'>; -} - -declare module 'lodash/fp/differenceWith' { - declare module.exports: $PropertyType< - $Exports<'lodash/fp'>, - 'differenceWith', - >; -} - -declare module 'lodash/fp/drop' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'drop'>; -} - -declare module 'lodash/fp/dropLast' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'dropLast'>; -} - -declare module 'lodash/fp/dropRight' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'dropRight'>; -} - -declare module 'lodash/fp/dropRightWhile' { - declare module.exports: $PropertyType< - $Exports<'lodash/fp'>, - 'dropRightWhile', - >; -} - -declare module 'lodash/fp/dropWhile' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'dropWhile'>; -} - -declare module 'lodash/fp/dropLastWhile' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'dropLastWhile'>; -} - -declare module 'lodash/fp/fill' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'fill'>; -} - -declare module 'lodash/fp/findIndex' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'findIndex'>; -} - -declare module 'lodash/fp/findIndexFrom' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'findIndexFrom'>; -} - -declare module 'lodash/fp/findLastIndex' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'findLastIndex'>; -} - -declare module 'lodash/fp/findLastIndexFrom' { - declare module.exports: $PropertyType< - $Exports<'lodash/fp'>, - 'findLastIndexFrom', - >; -} - -declare module 'lodash/fp/first' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'first'>; -} - -declare module 'lodash/fp/flatten' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'flatten'>; -} - -declare module 'lodash/fp/unnest' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'unnest'>; -} - -declare module 'lodash/fp/flattenDeep' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'flattenDeep'>; -} - -declare module 'lodash/fp/flattenDepth' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'flattenDepth'>; -} - -declare module 'lodash/fp/fromPairs' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'fromPairs'>; -} - -declare module 'lodash/fp/head' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'head'>; -} - -declare module 'lodash/fp/indexOf' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'indexOf'>; -} - -declare module 'lodash/fp/indexOfFrom' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'indexOfFrom'>; -} - -declare module 'lodash/fp/initial' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'initial'>; -} - -declare module 'lodash/fp/init' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'init'>; -} - -declare module 'lodash/fp/intersection' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'intersection'>; -} - -declare module 'lodash/fp/intersectionBy' { - declare module.exports: $PropertyType< - $Exports<'lodash/fp'>, - 'intersectionBy', - >; -} - -declare module 'lodash/fp/intersectionWith' { - declare module.exports: $PropertyType< - $Exports<'lodash/fp'>, - 'intersectionWith', - >; -} - -declare module 'lodash/fp/join' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'join'>; -} - -declare module 'lodash/fp/last' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'last'>; -} - -declare module 'lodash/fp/lastIndexOf' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'lastIndexOf'>; -} - -declare module 'lodash/fp/lastIndexOfFrom' { - declare module.exports: $PropertyType< - $Exports<'lodash/fp'>, - 'lastIndexOfFrom', - >; -} - -declare module 'lodash/fp/nth' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'nth'>; -} - -declare module 'lodash/fp/pull' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'pull'>; -} - -declare module 'lodash/fp/pullAll' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'pullAll'>; -} - -declare module 'lodash/fp/pullAllBy' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'pullAllBy'>; -} - -declare module 'lodash/fp/pullAllWith' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'pullAllWith'>; -} - -declare module 'lodash/fp/pullAt' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'pullAt'>; -} - -declare module 'lodash/fp/remove' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'remove'>; -} - -declare module 'lodash/fp/reverse' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'reverse'>; -} - -declare module 'lodash/fp/slice' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'slice'>; -} - -declare module 'lodash/fp/sortedIndex' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'sortedIndex'>; -} - -declare module 'lodash/fp/sortedIndexBy' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'sortedIndexBy'>; -} - -declare module 'lodash/fp/sortedIndexOf' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'sortedIndexOf'>; -} - -declare module 'lodash/fp/sortedLastIndex' { - declare module.exports: $PropertyType< - $Exports<'lodash/fp'>, - 'sortedLastIndex', - >; -} - -declare module 'lodash/fp/sortedLastIndexBy' { - declare module.exports: $PropertyType< - $Exports<'lodash/fp'>, - 'sortedLastIndexBy', - >; -} - -declare module 'lodash/fp/sortedLastIndexOf' { - declare module.exports: $PropertyType< - $Exports<'lodash/fp'>, - 'sortedLastIndexOf', - >; -} - -declare module 'lodash/fp/sortedUniq' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'sortedUniq'>; -} - -declare module 'lodash/fp/sortedUniqBy' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'sortedUniqBy'>; -} - -declare module 'lodash/fp/tail' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'tail'>; -} - -declare module 'lodash/fp/take' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'take'>; -} - -declare module 'lodash/fp/takeRight' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'takeRight'>; -} - -declare module 'lodash/fp/takeLast' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'takeLast'>; -} - -declare module 'lodash/fp/takeRightWhile' { - declare module.exports: $PropertyType< - $Exports<'lodash/fp'>, - 'takeRightWhile', - >; -} - -declare module 'lodash/fp/takeLastWhile' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'takeLastWhile'>; -} - -declare module 'lodash/fp/takeWhile' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'takeWhile'>; -} - -declare module 'lodash/fp/union' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'union'>; -} - -declare module 'lodash/fp/unionBy' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'unionBy'>; -} - -declare module 'lodash/fp/unionWith' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'unionWith'>; -} - -declare module 'lodash/fp/uniq' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'uniq'>; -} - -declare module 'lodash/fp/uniqBy' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'uniqBy'>; -} - -declare module 'lodash/fp/uniqWith' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'uniqWith'>; -} - -declare module 'lodash/fp/unzip' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'unzip'>; -} - -declare module 'lodash/fp/unzipWith' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'unzipWith'>; -} - -declare module 'lodash/fp/without' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'without'>; -} - -declare module 'lodash/fp/xor' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'xor'>; -} - -declare module 'lodash/fp/symmetricDifference' { - declare module.exports: $PropertyType< - $Exports<'lodash/fp'>, - 'symmetricDifference', - >; -} - -declare module 'lodash/fp/xorBy' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'xorBy'>; -} - -declare module 'lodash/fp/symmetricDifferenceBy' { - declare module.exports: $PropertyType< - $Exports<'lodash/fp'>, - 'symmetricDifferenceBy', - >; -} - -declare module 'lodash/fp/xorWith' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'xorWith'>; -} - -declare module 'lodash/fp/symmetricDifferenceWith' { - declare module.exports: $PropertyType< - $Exports<'lodash/fp'>, - 'symmetricDifferenceWith', - >; -} - -declare module 'lodash/fp/zip' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'zip'>; -} - -declare module 'lodash/fp/zipAll' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'zipAll'>; -} - -declare module 'lodash/fp/zipObject' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'zipObject'>; -} - -declare module 'lodash/fp/zipObj' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'zipObj'>; -} - -declare module 'lodash/fp/zipObjectDeep' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'zipObjectDeep'>; -} - -declare module 'lodash/fp/zipWith' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'zipWith'>; -} - -declare module 'lodash/fp/countBy' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'countBy'>; -} - -declare module 'lodash/fp/each' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'each'>; -} - -declare module 'lodash/fp/eachRight' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'eachRight'>; -} - -declare module 'lodash/fp/every' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'every'>; -} - -declare module 'lodash/fp/all' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'all'>; -} - -declare module 'lodash/fp/filter' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'filter'>; -} - -declare module 'lodash/fp/find' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'find'>; -} - -declare module 'lodash/fp/findFrom' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'findFrom'>; -} - -declare module 'lodash/fp/findLast' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'findLast'>; -} - -declare module 'lodash/fp/findLastFrom' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'findLastFrom'>; -} - -declare module 'lodash/fp/flatMap' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'flatMap'>; -} - -declare module 'lodash/fp/flatMapDeep' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'flatMapDeep'>; -} - -declare module 'lodash/fp/flatMapDepth' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'flatMapDepth'>; -} - -declare module 'lodash/fp/forEach' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'forEach'>; -} - -declare module 'lodash/fp/forEachRight' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'forEachRight'>; -} - -declare module 'lodash/fp/groupBy' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'groupBy'>; -} - -declare module 'lodash/fp/includes' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'includes'>; -} - -declare module 'lodash/fp/contains' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'contains'>; -} - -declare module 'lodash/fp/includesFrom' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'includesFrom'>; -} - -declare module 'lodash/fp/invokeMap' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'invokeMap'>; -} - -declare module 'lodash/fp/invokeArgsMap' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'invokeArgsMap'>; -} - -declare module 'lodash/fp/keyBy' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'keyBy'>; -} - -declare module 'lodash/fp/indexBy' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'indexBy'>; -} - -declare module 'lodash/fp/map' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'map'>; -} - -declare module 'lodash/fp/pluck' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'pluck'>; -} - -declare module 'lodash/fp/orderBy' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'orderBy'>; -} - -declare module 'lodash/fp/partition' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'partition'>; -} - -declare module 'lodash/fp/reduce' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'reduce'>; -} - -declare module 'lodash/fp/reduceRight' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'reduceRight'>; -} - -declare module 'lodash/fp/reject' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'reject'>; -} - -declare module 'lodash/fp/sample' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'sample'>; -} - -declare module 'lodash/fp/sampleSize' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'sampleSize'>; -} - -declare module 'lodash/fp/shuffle' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'shuffle'>; -} - -declare module 'lodash/fp/size' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'size'>; -} - -declare module 'lodash/fp/some' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'some'>; -} - -declare module 'lodash/fp/any' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'any'>; -} - -declare module 'lodash/fp/sortBy' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'sortBy'>; -} - -declare module 'lodash/fp/now' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'now'>; -} - -declare module 'lodash/fp/after' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'after'>; -} - -declare module 'lodash/fp/ary' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'ary'>; -} - -declare module 'lodash/fp/nAry' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'nAry'>; -} - -declare module 'lodash/fp/before' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'before'>; -} - -declare module 'lodash/fp/bind' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'bind'>; -} - -declare module 'lodash/fp/bindKey' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'bindKey'>; -} - -declare module 'lodash/fp/curry' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'curry'>; -} - -declare module 'lodash/fp/curryN' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'curryN'>; -} - -declare module 'lodash/fp/curryRight' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'curryRight'>; -} - -declare module 'lodash/fp/curryRightN' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'curryRightN'>; -} - -declare module 'lodash/fp/debounce' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'debounce'>; -} - -declare module 'lodash/fp/defer' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'defer'>; -} - -declare module 'lodash/fp/delay' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'delay'>; -} - -declare module 'lodash/fp/flip' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'flip'>; -} - -declare module 'lodash/fp/memoize' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'memoize'>; -} - -declare module 'lodash/fp/negate' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'negate'>; -} - -declare module 'lodash/fp/complement' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'complement'>; -} - -declare module 'lodash/fp/once' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'once'>; -} - -declare module 'lodash/fp/overArgs' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'overArgs'>; -} - -declare module 'lodash/fp/useWith' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'useWith'>; -} - -declare module 'lodash/fp/partial' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'partial'>; -} - -declare module 'lodash/fp/partialRight' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'partialRight'>; -} - -declare module 'lodash/fp/rearg' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'rearg'>; -} - -declare module 'lodash/fp/rest' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'rest'>; -} - -declare module 'lodash/fp/unapply' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'unapply'>; -} - -declare module 'lodash/fp/restFrom' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'restFrom'>; -} - -declare module 'lodash/fp/spread' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'spread'>; -} - -declare module 'lodash/fp/apply' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'apply'>; -} - -declare module 'lodash/fp/spreadFrom' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'spreadFrom'>; -} - -declare module 'lodash/fp/throttle' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'throttle'>; -} - -declare module 'lodash/fp/unary' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'unary'>; -} - -declare module 'lodash/fp/wrap' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'wrap'>; -} - -declare module 'lodash/fp/castArray' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'castArray'>; -} - -declare module 'lodash/fp/clone' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'clone'>; -} - -declare module 'lodash/fp/cloneDeep' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'cloneDeep'>; -} - -declare module 'lodash/fp/cloneDeepWith' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'cloneDeepWith'>; -} - -declare module 'lodash/fp/cloneWith' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'cloneWith'>; -} - -declare module 'lodash/fp/conformsTo' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'conformsTo'>; -} - -declare module 'lodash/fp/where' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'where'>; -} - -declare module 'lodash/fp/conforms' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'conforms'>; -} - -declare module 'lodash/fp/eq' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'eq'>; -} - -declare module 'lodash/fp/identical' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'identical'>; -} - -declare module 'lodash/fp/gt' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'gt'>; -} - -declare module 'lodash/fp/gte' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'gte'>; -} - -declare module 'lodash/fp/isArguments' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'isArguments'>; -} - -declare module 'lodash/fp/isArray' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'isArray'>; -} - -declare module 'lodash/fp/isArrayBuffer' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'isArrayBuffer'>; -} - -declare module 'lodash/fp/isArrayLike' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'isArrayLike'>; -} - -declare module 'lodash/fp/isArrayLikeObject' { - declare module.exports: $PropertyType< - $Exports<'lodash/fp'>, - 'isArrayLikeObject', - >; -} - -declare module 'lodash/fp/isBoolean' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'isBoolean'>; -} - -declare module 'lodash/fp/isBuffer' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'isBuffer'>; -} - -declare module 'lodash/fp/isDate' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'isDate'>; -} - -declare module 'lodash/fp/isElement' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'isElement'>; -} - -declare module 'lodash/fp/isEmpty' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'isEmpty'>; -} - -declare module 'lodash/fp/isEqual' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'isEqual'>; -} - -declare module 'lodash/fp/equals' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'equals'>; -} - -declare module 'lodash/fp/isEqualWith' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'isEqualWith'>; -} - -declare module 'lodash/fp/isError' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'isError'>; -} - -declare module 'lodash/fp/isFinite' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'isFinite'>; -} - -declare module 'lodash/fp/isFunction' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'isFunction'>; -} - -declare module 'lodash/fp/isInteger' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'isInteger'>; -} - -declare module 'lodash/fp/isLength' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'isLength'>; -} - -declare module 'lodash/fp/isMap' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'isMap'>; -} - -declare module 'lodash/fp/isMatch' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'isMatch'>; -} - -declare module 'lodash/fp/whereEq' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'whereEq'>; -} - -declare module 'lodash/fp/isMatchWith' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'isMatchWith'>; -} - -declare module 'lodash/fp/isNaN' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'isNaN'>; -} - -declare module 'lodash/fp/isNative' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'isNative'>; -} - -declare module 'lodash/fp/isNil' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'isNil'>; -} - -declare module 'lodash/fp/isNull' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'isNull'>; -} - -declare module 'lodash/fp/isNumber' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'isNumber'>; -} - -declare module 'lodash/fp/isObject' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'isObject'>; -} - -declare module 'lodash/fp/isObjectLike' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'isObjectLike'>; -} - -declare module 'lodash/fp/isPlainObject' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'isPlainObject'>; -} - -declare module 'lodash/fp/isRegExp' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'isRegExp'>; -} - -declare module 'lodash/fp/isSafeInteger' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'isSafeInteger'>; -} - -declare module 'lodash/fp/isSet' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'isSet'>; -} - -declare module 'lodash/fp/isString' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'isString'>; -} - -declare module 'lodash/fp/isSymbol' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'isSymbol'>; -} - -declare module 'lodash/fp/isTypedArray' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'isTypedArray'>; -} - -declare module 'lodash/fp/isUndefined' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'isUndefined'>; -} - -declare module 'lodash/fp/isWeakMap' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'isWeakMap'>; -} - -declare module 'lodash/fp/isWeakSet' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'isWeakSet'>; -} - -declare module 'lodash/fp/lt' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'lt'>; -} - -declare module 'lodash/fp/lte' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'lte'>; -} - -declare module 'lodash/fp/toArray' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'toArray'>; -} - -declare module 'lodash/fp/toFinite' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'toFinite'>; -} - -declare module 'lodash/fp/toInteger' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'toInteger'>; -} - -declare module 'lodash/fp/toLength' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'toLength'>; -} - -declare module 'lodash/fp/toNumber' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'toNumber'>; -} - -declare module 'lodash/fp/toPlainObject' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'toPlainObject'>; -} - -declare module 'lodash/fp/toSafeInteger' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'toSafeInteger'>; -} - -declare module 'lodash/fp/toString' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'toString'>; -} - -declare module 'lodash/fp/add' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'add'>; -} - -declare module 'lodash/fp/ceil' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'ceil'>; -} - -declare module 'lodash/fp/divide' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'divide'>; -} - -declare module 'lodash/fp/floor' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'floor'>; -} - -declare module 'lodash/fp/max' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'max'>; -} - -declare module 'lodash/fp/maxBy' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'maxBy'>; -} - -declare module 'lodash/fp/mean' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'mean'>; -} - -declare module 'lodash/fp/meanBy' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'meanBy'>; -} - -declare module 'lodash/fp/min' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'min'>; -} - -declare module 'lodash/fp/minBy' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'minBy'>; -} - -declare module 'lodash/fp/multiply' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'multiply'>; -} - -declare module 'lodash/fp/round' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'round'>; -} - -declare module 'lodash/fp/subtract' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'subtract'>; -} - -declare module 'lodash/fp/sum' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'sum'>; -} - -declare module 'lodash/fp/sumBy' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'sumBy'>; -} - -declare module 'lodash/fp/clamp' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'clamp'>; -} - -declare module 'lodash/fp/inRange' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'inRange'>; -} - -declare module 'lodash/fp/random' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'random'>; -} - -declare module 'lodash/fp/assign' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'assign'>; -} - -declare module 'lodash/fp/assignAll' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'assignAll'>; -} - -declare module 'lodash/fp/assignInAll' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'assignInAll'>; -} - -declare module 'lodash/fp/extendAll' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'extendAll'>; -} - -declare module 'lodash/fp/assignIn' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'assignIn'>; -} - -declare module 'lodash/fp/assignInWith' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'assignInWith'>; -} - -declare module 'lodash/fp/assignWith' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'assignWith'>; -} - -declare module 'lodash/fp/assignInAllWith' { - declare module.exports: $PropertyType< - $Exports<'lodash/fp'>, - 'assignInAllWith', - >; -} - -declare module 'lodash/fp/extendAllWith' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'extendAllWith'>; -} - -declare module 'lodash/fp/assignAllWith' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'assignAllWith'>; -} - -declare module 'lodash/fp/at' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'at'>; -} - -declare module 'lodash/fp/props' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'props'>; -} - -declare module 'lodash/fp/paths' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'paths'>; -} - -declare module 'lodash/fp/create' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'create'>; -} - -declare module 'lodash/fp/defaults' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'defaults'>; -} - -declare module 'lodash/fp/defaultsAll' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'defaultsAll'>; -} - -declare module 'lodash/fp/defaultsDeep' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'defaultsDeep'>; -} - -declare module 'lodash/fp/defaultsDeepAll' { - declare module.exports: $PropertyType< - $Exports<'lodash/fp'>, - 'defaultsDeepAll', - >; -} - -declare module 'lodash/fp/entries' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'entries'>; -} - -declare module 'lodash/fp/entriesIn' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'entriesIn'>; -} - -declare module 'lodash/fp/extend' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'extend'>; -} - -declare module 'lodash/fp/extendWith' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'extendWith'>; -} - -declare module 'lodash/fp/findKey' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'findKey'>; -} - -declare module 'lodash/fp/findLastKey' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'findLastKey'>; -} - -declare module 'lodash/fp/forIn' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'forIn'>; -} - -declare module 'lodash/fp/forInRight' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'forInRight'>; -} - -declare module 'lodash/fp/forOwn' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'forOwn'>; -} - -declare module 'lodash/fp/forOwnRight' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'forOwnRight'>; -} - -declare module 'lodash/fp/functions' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'functions'>; -} - -declare module 'lodash/fp/functionsIn' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'functionsIn'>; -} - -declare module 'lodash/fp/get' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'get'>; -} - -declare module 'lodash/fp/prop' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'prop'>; -} - -declare module 'lodash/fp/path' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'path'>; -} - -declare module 'lodash/fp/getOr' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'getOr'>; -} - -declare module 'lodash/fp/propOr' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'propOr'>; -} - -declare module 'lodash/fp/pathOr' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'pathOr'>; -} - -declare module 'lodash/fp/has' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'has'>; -} - -declare module 'lodash/fp/hasIn' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'hasIn'>; -} - -declare module 'lodash/fp/invert' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'invert'>; -} - -declare module 'lodash/fp/invertObj' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'invertObj'>; -} - -declare module 'lodash/fp/invertBy' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'invertBy'>; -} - -declare module 'lodash/fp/invoke' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'invoke'>; -} - -declare module 'lodash/fp/invokeArgs' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'invokeArgs'>; -} - -declare module 'lodash/fp/keys' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'keys'>; -} - -declare module 'lodash/fp/keysIn' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'keysIn'>; -} - -declare module 'lodash/fp/mapKeys' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'mapKeys'>; -} - -declare module 'lodash/fp/mapValues' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'mapValues'>; -} - -declare module 'lodash/fp/merge' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'merge'>; -} - -declare module 'lodash/fp/mergeAll' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'mergeAll'>; -} - -declare module 'lodash/fp/mergeWith' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'mergeWith'>; -} - -declare module 'lodash/fp/mergeAllWith' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'mergeAllWith'>; -} - -declare module 'lodash/fp/omit' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'omit'>; -} - -declare module 'lodash/fp/omitAll' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'omitAll'>; -} - -declare module 'lodash/fp/omitBy' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'omitBy'>; -} - -declare module 'lodash/fp/pick' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'pick'>; -} - -declare module 'lodash/fp/pickAll' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'pickAll'>; -} - -declare module 'lodash/fp/pickBy' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'pickBy'>; -} - -declare module 'lodash/fp/result' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'result'>; -} - -declare module 'lodash/fp/set' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'set'>; -} - -declare module 'lodash/fp/assoc' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'assoc'>; -} - -declare module 'lodash/fp/assocPath' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'assocPath'>; -} - -declare module 'lodash/fp/setWith' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'setWith'>; -} - -declare module 'lodash/fp/toPairs' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'toPairs'>; -} - -declare module 'lodash/fp/toPairsIn' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'toPairsIn'>; -} - -declare module 'lodash/fp/transform' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'transform'>; -} - -declare module 'lodash/fp/unset' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'unset'>; -} - -declare module 'lodash/fp/dissoc' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'dissoc'>; -} - -declare module 'lodash/fp/dissocPath' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'dissocPath'>; -} - -declare module 'lodash/fp/update' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'update'>; -} - -declare module 'lodash/fp/updateWith' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'updateWith'>; -} - -declare module 'lodash/fp/values' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'values'>; -} - -declare module 'lodash/fp/valuesIn' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'valuesIn'>; -} - -declare module 'lodash/fp/tap' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'tap'>; -} - -declare module 'lodash/fp/thru' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'thru'>; -} - -declare module 'lodash/fp/camelCase' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'camelCase'>; -} - -declare module 'lodash/fp/capitalize' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'capitalize'>; -} - -declare module 'lodash/fp/deburr' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'deburr'>; -} - -declare module 'lodash/fp/endsWith' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'endsWith'>; -} - -declare module 'lodash/fp/escape' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'escape'>; -} - -declare module 'lodash/fp/escapeRegExp' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'escapeRegExp'>; -} - -declare module 'lodash/fp/kebabCase' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'kebabCase'>; -} - -declare module 'lodash/fp/lowerCase' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'lowerCase'>; -} - -declare module 'lodash/fp/lowerFirst' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'lowerFirst'>; -} - -declare module 'lodash/fp/pad' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'pad'>; -} - -declare module 'lodash/fp/padChars' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'padChars'>; -} - -declare module 'lodash/fp/padEnd' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'padEnd'>; -} - -declare module 'lodash/fp/padCharsEnd' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'padCharsEnd'>; -} - -declare module 'lodash/fp/padStart' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'padStart'>; -} - -declare module 'lodash/fp/padCharsStart' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'padCharsStart'>; -} - -declare module 'lodash/fp/parseInt' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'parseInt'>; -} - -declare module 'lodash/fp/repeat' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'repeat'>; -} - -declare module 'lodash/fp/replace' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'replace'>; -} - -declare module 'lodash/fp/snakeCase' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'snakeCase'>; -} - -declare module 'lodash/fp/split' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'split'>; -} - -declare module 'lodash/fp/startCase' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'startCase'>; -} - -declare module 'lodash/fp/startsWith' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'startsWith'>; -} - -declare module 'lodash/fp/template' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'template'>; -} - -declare module 'lodash/fp/toLower' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'toLower'>; -} - -declare module 'lodash/fp/toUpper' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'toUpper'>; -} - -declare module 'lodash/fp/trim' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'trim'>; -} - -declare module 'lodash/fp/trimChars' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'trimChars'>; -} - -declare module 'lodash/fp/trimEnd' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'trimEnd'>; -} - -declare module 'lodash/fp/trimCharsEnd' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'trimCharsEnd'>; -} - -declare module 'lodash/fp/trimStart' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'trimStart'>; -} - -declare module 'lodash/fp/trimCharsStart' { - declare module.exports: $PropertyType< - $Exports<'lodash/fp'>, - 'trimCharsStart', - >; -} - -declare module 'lodash/fp/truncate' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'truncate'>; -} - -declare module 'lodash/fp/unescape' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'unescape'>; -} - -declare module 'lodash/fp/upperCase' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'upperCase'>; -} - -declare module 'lodash/fp/upperFirst' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'upperFirst'>; -} - -declare module 'lodash/fp/words' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'words'>; -} - -declare module 'lodash/fp/attempt' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'attempt'>; -} - -declare module 'lodash/fp/bindAll' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'bindAll'>; -} - -declare module 'lodash/fp/cond' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'cond'>; -} - -declare module 'lodash/fp/constant' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'constant'>; -} - -declare module 'lodash/fp/always' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'always'>; -} - -declare module 'lodash/fp/defaultTo' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'defaultTo'>; -} - -declare module 'lodash/fp/flow' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'flow'>; -} - -declare module 'lodash/fp/pipe' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'pipe'>; -} - -declare module 'lodash/fp/flowRight' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'flowRight'>; -} - -declare module 'lodash/fp/compose' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'compose'>; -} - -declare module 'lodash/fp/identity' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'identity'>; -} - -declare module 'lodash/fp/iteratee' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'iteratee'>; -} - -declare module 'lodash/fp/matches' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'matches'>; -} - -declare module 'lodash/fp/matchesProperty' { - declare module.exports: $PropertyType< - $Exports<'lodash/fp'>, - 'matchesProperty', - >; -} - -declare module 'lodash/fp/propEq' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'propEq'>; -} - -declare module 'lodash/fp/pathEq' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'pathEq'>; -} - -declare module 'lodash/fp/method' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'method'>; -} - -declare module 'lodash/fp/methodOf' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'methodOf'>; -} - -declare module 'lodash/fp/mixin' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'mixin'>; -} - -declare module 'lodash/fp/noConflict' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'noConflict'>; -} - -declare module 'lodash/fp/noop' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'noop'>; -} - -declare module 'lodash/fp/nthArg' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'nthArg'>; -} - -declare module 'lodash/fp/over' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'over'>; -} - -declare module 'lodash/fp/juxt' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'juxt'>; -} - -declare module 'lodash/fp/overEvery' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'overEvery'>; -} - -declare module 'lodash/fp/allPass' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'allPass'>; -} - -declare module 'lodash/fp/overSome' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'overSome'>; -} - -declare module 'lodash/fp/anyPass' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'anyPass'>; -} - -declare module 'lodash/fp/property' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'property'>; -} - -declare module 'lodash/fp/propertyOf' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'propertyOf'>; -} - -declare module 'lodash/fp/range' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'range'>; -} - -declare module 'lodash/fp/rangeStep' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'rangeStep'>; -} - -declare module 'lodash/fp/rangeRight' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'rangeRight'>; -} - -declare module 'lodash/fp/rangeStepRight' { - declare module.exports: $PropertyType< - $Exports<'lodash/fp'>, - 'rangeStepRight', - >; -} - -declare module 'lodash/fp/runInContext' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'runInContext'>; -} - -declare module 'lodash/fp/stubArray' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'stubArray'>; -} - -declare module 'lodash/fp/stubFalse' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'stubFalse'>; -} - -declare module 'lodash/fp/F' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'F'>; -} - -declare module 'lodash/fp/stubObject' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'stubObject'>; -} - -declare module 'lodash/fp/stubString' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'stubString'>; -} - -declare module 'lodash/fp/stubTrue' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'stubTrue'>; -} - -declare module 'lodash/fp/T' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'T'>; -} - -declare module 'lodash/fp/times' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'times'>; -} - -declare module 'lodash/fp/toPath' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'toPath'>; -} - -declare module 'lodash/fp/uniqueId' { - declare module.exports: $PropertyType<$Exports<'lodash/fp'>, 'uniqueId'>; -} diff --git a/package.json b/package.json index cedc04f1414a..145f7c474ba6 100644 --- a/package.json +++ b/package.json @@ -6,12 +6,6 @@ "website-1.x" ], "scripts": { - "build": "lerna run --parallel build --no-private", - "build:clean": "lerna run --parallel build:clean --no-private", - "build:watch": "lerna run --parallel build:watch --no-private", - "flow": "flow", - "flow-typed": "flow-typed", - "install": "yarn run build", "prettier": "prettier --config .prettierrc --write \"**/*.js\"", "prettier:diff": "prettier --config .prettierrc --list-different \"**/*.js\"", "lint": "eslint --cache \"**/*.js\"", @@ -20,7 +14,6 @@ }, "devDependencies": { "@babel/core": "^7.4.4", - "@babel/preset-flow": "^7.0.0", "babel-eslint": "8", "enzyme": "^3.9.0", "enzyme-adapter-react-16": "^1.12.1", @@ -33,9 +26,6 @@ "eslint-plugin-react": "^7.11.1", "eslint-plugin-react-hooks": "^0.0.0", "filepath": "^1.1.0", - "flow-bin": "^0.98.1", - "flow-remove-types": "^1.2.3", - "flow-typed": "^2.5.1", "front-matter": "^2.3.0", "glob-promise": "^3.3.0", "husky": "^1.3.1", diff --git a/packages/docusaurus-utils/.npmignore b/packages/docusaurus-utils/.npmignore deleted file mode 100644 index 85de9cf93344..000000000000 --- a/packages/docusaurus-utils/.npmignore +++ /dev/null @@ -1 +0,0 @@ -src diff --git a/packages/docusaurus-utils/package.json b/packages/docusaurus-utils/package.json index 9413fae05381..feebe1f42de9 100644 --- a/packages/docusaurus-utils/package.json +++ b/packages/docusaurus-utils/package.json @@ -2,17 +2,10 @@ "name": "@docusaurus/utils", "version": "2.0.0-alpha.13", "description": "Node utility functions for Docusaurus packages", - "main": "lib/index.js", + "main": "src/index.js", "publishConfig": { "access": "public" }, - "scripts": { - "prepublish": "yarn run build", - "build": "yarn run build:clean && yarn run build:lib", - "build:clean": "rimraf lib", - "build:lib": "flow-remove-types -q -x '.js,.css,.ejs' src --out-dir lib --ignore '/__tests__/'", - "build:watch": "watch \"yarn build\" src" - }, "license": "MIT", "dependencies": { "escape-string-regexp": "^1.0.5", diff --git a/packages/docusaurus-utils/src/index.js b/packages/docusaurus-utils/src/index.js index d0e80eab4327..e512cd668b45 100644 --- a/packages/docusaurus-utils/src/index.js +++ b/packages/docusaurus-utils/src/index.js @@ -5,8 +5,6 @@ * LICENSE file in the root directory of this source tree. */ -/* @flow */ - const path = require('path'); const fm = require('front-matter'); const {createHash} = require('crypto'); @@ -16,11 +14,13 @@ const escapeStringRegexp = require('escape-string-regexp'); const fs = require('fs-extra'); const fileHash = new Map(); -async function generate( - generatedFilesDir: string, - file: string, - content: any, -): Promise { +/** + * @param {string} generatedFilesDir + * @param {string} file + * @param {*} content + * @returns {Promise} + */ +async function generate(generatedFilesDir, file, content) { const filepath = path.join(generatedFilesDir, file); const lastHash = fileHash.get(filepath); const currentHash = createHash('md5') @@ -37,14 +37,22 @@ async function generate( const indexRE = /(^|.*\/)index\.(md|js)$/i; const extRE = /\.(md|js)$/; -function fileToPath(file: string): string { +/** + * @param {string} file + * @returns {string} + */ +function fileToPath(file) { if (indexRE.test(file)) { return file.replace(indexRE, '/$1'); } return `/${file.replace(extRE, '').replace(/\\/g, '/')}`; } -function encodePath(userpath: string): string { +/** + * @param {string} userpath + * @returns {string} + */ +function encodePath(userpath) { return userpath .split('/') .map(item => encodeURIComponent(item)) @@ -56,7 +64,7 @@ function encodePath(userpath: string): string { * @param {string} str input string * @returns {string} */ -function docuHash(str: string): string { +function docuHash(str) { if (str === '/') { return 'index'; } @@ -72,7 +80,7 @@ function docuHash(str: string): string { * @param {string} pagePath * @returns {string} unique react component name */ -function genComponentName(pagePath: string): string { +function genComponentName(pagePath) { if (pagePath === '/') { return 'index'; } @@ -89,7 +97,7 @@ function genComponentName(pagePath: string): string { * @param {string} str windows backslash paths * @returns {string} posix-style path */ -function posixPath(str: string): string { +function posixPath(str) { const isExtendedLengthPath = /^\\\\\?\\/.test(str); const hasNonAscii = /[^\u0000-\u0080]+/.test(str); // eslint-disable-line @@ -100,11 +108,14 @@ function posixPath(str: string): string { } const chunkNameCache = new Map(); -function genChunkName( - modulePath: string, - prefix?: string, - preferredName?: string, -): string { +/** + * Generate unique chunk name given a module path + * @param {string} modulePath + * @param {string=} prefix + * @param {string=} preferredName + * @returns {string} + */ +function genChunkName(modulePath, prefix, preferredName) { let chunkName = chunkNameCache.get(modulePath); if (!chunkName) { let str = modulePath; @@ -121,8 +132,12 @@ function genChunkName( } return chunkName; } - -function idx(target?: {}, keyPaths: string | string[]): any { +/** + * @param {*} target + * @param {string|string[]} keyPaths + * @returns {*} + */ +function idx(target, keyPaths) { return ( target && (Array.isArray(keyPaths) @@ -131,7 +146,12 @@ function idx(target?: {}, keyPaths: string | string[]): any { ); } -function getSubFolder(file: string, refDir: string): ?string { +/** + * @param {string} file + * @param {string} refDir + * @returns {string} + */ +function getSubFolder(file, refDir) { const separator = escapeStringRegexp(path.sep); const baseDir = escapeStringRegexp(path.basename(refDir)); const regexSubFolder = new RegExp( @@ -141,7 +161,11 @@ function getSubFolder(file: string, refDir: string): ?string { return match && match[1]; } -function parse(fileString: string): {} { +/** + * @param {string} fileString + * @returns {*} + */ +function parse(fileString) { if (!fm.test(fileString)) { return {metadata: null, content: fileString}; } @@ -150,7 +174,11 @@ function parse(fileString: string): {} { return {metadata, content}; } -function normalizeUrl(rawUrls: string[]): string { +/** + * @param {string[]} rawUrls + * @returns {string} + */ +function normalizeUrl(rawUrls) { const urls = rawUrls; const resultArray = []; diff --git a/packages/docusaurus/.npmignore b/packages/docusaurus/.npmignore deleted file mode 100644 index 85de9cf93344..000000000000 --- a/packages/docusaurus/.npmignore +++ /dev/null @@ -1 +0,0 @@ -src diff --git a/packages/docusaurus/bin/docusaurus.js b/packages/docusaurus/bin/docusaurus.js index 7bf8ea37a940..a8159fa5db6b 100755 --- a/packages/docusaurus/bin/docusaurus.js +++ b/packages/docusaurus/bin/docusaurus.js @@ -12,7 +12,7 @@ const envinfo = require('envinfo'); const semver = require('semver'); const path = require('path'); const program = require('commander'); -const {build, swizzle, init, deploy, start} = require('../lib'); +const {build, swizzle, init, deploy, start} = require('../src'); const requiredVersion = require('../package.json').engines.node; if (!semver.satisfies(process.version, requiredVersion)) { diff --git a/packages/docusaurus/package.json b/packages/docusaurus/package.json index fbddfcdf93b2..756d22ab6dbc 100644 --- a/packages/docusaurus/package.json +++ b/packages/docusaurus/package.json @@ -23,12 +23,7 @@ "docusaurus": "bin/docusaurus.js" }, "scripts": { - "docusaurus": "node bin/docusaurus", - "prepublish": "yarn run build", - "build": "yarn run build:clean && yarn run build:lib", - "build:clean": "rimraf lib", - "build:lib": "flow-remove-types -q -x '.js,.css,.ejs' src --out-dir lib --ignore '/__tests__/'", - "build:watch": "watch \"yarn build\" src" + "docusaurus": "node bin/docusaurus" }, "bugs": { "url": "https://github.com/facebook/Docusaurus/issues" diff --git a/packages/docusaurus/src/server/load/theme.js b/packages/docusaurus/src/server/load/theme.js index 569504c215e7..5c2408373f3d 100644 --- a/packages/docusaurus/src/server/load/theme.js +++ b/packages/docusaurus/src/server/load/theme.js @@ -5,14 +5,12 @@ * LICENSE file in the root directory of this source tree. */ -/* @flow */ - const globby = require('globby'); const fs = require('fs-extra'); const path = require('path'); const {fileToPath, posixPath, normalizeUrl} = require('@docusaurus/utils'); -module.exports = async function loadTheme(themePath: string) { +module.exports = async function loadTheme(themePath) { if (!fs.pathExistsSync(themePath)) { return null; } diff --git a/yarn.lock b/yarn.lock index f79a12a38410..100263355a92 100644 --- a/yarn.lock +++ b/yarn.lock @@ -352,13 +352,6 @@ dependencies: "@babel/helper-plugin-utils" "^7.0.0" -"@babel/plugin-syntax-flow@^7.2.0": - version "7.2.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.2.0.tgz#a765f061f803bc48f240c26f8747faf97c26bf7c" - integrity sha512-r6YMuZDWLtLlu0kqIim5o/3TNRAlWb073HwT3e2nKf9I8IIvOggPrnILYPsrrKilmn/mYEMCf/Z07w3yQJF6dg== - dependencies: - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/plugin-syntax-json-strings@^7.2.0": version "7.2.0" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.2.0.tgz#72bd13f6ffe1d25938129d2a186b11fd62951470" @@ -470,14 +463,6 @@ "@babel/helper-builder-binary-assignment-operator-visitor" "^7.1.0" "@babel/helper-plugin-utils" "^7.0.0" -"@babel/plugin-transform-flow-strip-types@^7.0.0": - version "7.4.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.4.4.tgz#d267a081f49a8705fc9146de0768c6b58dccd8f7" - integrity sha512-WyVedfeEIILYEaWGAUWzVNyqG4sfsNooMhXWsu/YzOvVGcsnPb5PguysjJqI3t3qiaYj0BR8T2f5njdjTGe44Q== - dependencies: - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/plugin-syntax-flow" "^7.2.0" - "@babel/plugin-transform-for-of@^7.4.4": version "7.4.4" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.4.4.tgz#0267fc735e24c808ba173866c6c4d1440fc3c556" @@ -732,14 +717,6 @@ js-levenshtein "^1.1.3" semver "^5.5.0" -"@babel/preset-flow@^7.0.0": - version "7.0.0" - resolved "https://registry.yarnpkg.com/@babel/preset-flow/-/preset-flow-7.0.0.tgz#afd764835d9535ec63d8c7d4caf1c06457263da2" - integrity sha512-bJOHrYOPqJZCkPVbG1Lot2r5OSsB+iUOaxiHdlOeB1yPWS6evswVHwvkDLZ54WTaTRIk89ds0iHmGZSnxlPejQ== - dependencies: - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/plugin-transform-flow-strip-types" "^7.0.0" - "@babel/preset-react@^7.0.0": version "7.0.0" resolved "https://registry.yarnpkg.com/@babel/preset-react/-/preset-react-7.0.0.tgz#e86b4b3d99433c7b3e9e91747e2653958bc6b3c0" @@ -1688,21 +1665,6 @@ once "^1.4.0" universal-user-agent "^2.0.1" -"@octokit/rest@^15.2.6": - version "15.18.1" - resolved "https://registry.yarnpkg.com/@octokit/rest/-/rest-15.18.1.tgz#ec7fb0f8775ef64dc095fae6635411d3fbff9b62" - integrity sha512-g2tecjp2TEtYV8bKAFvfQtu+W29HM7ektmWmw8zrMy9/XCKDEYRErR2YvvhN9+IxkLC4O3lDqYP4b6WgsL6Utw== - dependencies: - before-after-hook "^1.1.0" - btoa-lite "^1.0.0" - debug "^3.1.0" - http-proxy-agent "^2.1.0" - https-proxy-agent "^2.2.0" - lodash "^4.17.4" - node-fetch "^2.1.1" - universal-user-agent "^2.0.0" - url-template "^2.0.8" - "@octokit/rest@^16.16.0": version "16.25.3" resolved "https://registry.yarnpkg.com/@octokit/rest/-/rest-16.25.3.tgz#ce9e7a6230d20d58574ec929f622f2778ead7eb4" @@ -2632,15 +2594,6 @@ babel-plugin-jest-hoist@^24.6.0: dependencies: "@types/babel__traverse" "^7.0.6" -babel-polyfill@^6.26.0: - version "6.26.0" - resolved "https://registry.yarnpkg.com/babel-polyfill/-/babel-polyfill-6.26.0.tgz#379937abc67d7895970adc621f284cd966cf2153" - integrity sha1-N5k3q8Z9eJWXCtxiHyhM2WbPIVM= - dependencies: - babel-runtime "^6.26.0" - core-js "^2.5.0" - regenerator-runtime "^0.10.5" - babel-preset-jest@^24.6.0: version "24.6.0" resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-24.6.0.tgz#66f06136eefce87797539c0d63f1769cc3915984" @@ -2649,20 +2602,12 @@ babel-preset-jest@^24.6.0: "@babel/plugin-syntax-object-rest-spread" "^7.0.0" babel-plugin-jest-hoist "^24.6.0" -babel-runtime@^6.26.0: - version "6.26.0" - resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe" - integrity sha1-llxwWGaOgrVde/4E/yM3vItWR/4= - dependencies: - core-js "^2.4.0" - regenerator-runtime "^0.11.0" - babylon@7.0.0-beta.44: version "7.0.0-beta.44" resolved "https://registry.yarnpkg.com/babylon/-/babylon-7.0.0-beta.44.tgz#89159e15e6e30c5096e22d738d8c0af8a0e8ca1d" integrity sha512-5Hlm13BJVAioCHpImtFqNOF2H3ieTOHd0fmFGMxOJ9jgeFqeAwsv3u5P5cR7CSeFrkgHsT19DgFJkHV0/Mcd8g== -babylon@^6.15.0, babylon@^6.17.4: +babylon@^6.17.4: version "6.18.0" resolved "https://registry.yarnpkg.com/babylon/-/babylon-6.18.0.tgz#af2f3b88fa6f5c1e4c634d1a0f8eac4f55b395e3" integrity sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ== @@ -2712,7 +2657,7 @@ bcrypt-pbkdf@^1.0.0: dependencies: tweetnacl "^0.14.3" -before-after-hook@^1.1.0, before-after-hook@^1.4.0: +before-after-hook@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/before-after-hook/-/before-after-hook-1.4.0.tgz#2b6bf23dca4f32e628fd2747c10a37c74a4b484d" integrity sha512-l5r9ir56nda3qu14nAXIlyq1MmUSs0meCIaFAh8HwkFwP1F8eToOuS3ah2VAHHcY04jaYD7FpJC5JTXHYRbkzg== @@ -2727,11 +2672,6 @@ bfj@^6.1.1: hoopy "^0.1.2" tryer "^1.0.0" -big-integer@^1.6.17: - version "1.6.43" - resolved "https://registry.yarnpkg.com/big-integer/-/big-integer-1.6.43.tgz#8ac15bf13e93e509500859061233e19d8d0d99d1" - integrity sha512-9dULc9jsKmXl0Aeunug8wbF+58n+hQoFjqClN7WeZwGLh0XJUWyJJ9Ee+Ep+Ql/J9fRsTVaeThp8MhiCCrY0Jg== - big.js@^5.2.2: version "5.2.2" resolved "https://registry.yarnpkg.com/big.js/-/big.js-5.2.2.tgz#65f0af382f578bcdc742bd9c281e9cb2d7768328" @@ -2795,14 +2735,6 @@ binary-extensions@^2.0.0: resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.0.0.tgz#23c0df14f6a88077f5f986c0d167ec03c3d5537c" integrity sha512-Phlt0plgpIIBOGTT/ehfFnbNlfsDEiqmzE2KRXoX1bLIlir4X/MR+zSyBEkL05ffWgnRSf/DXv+WrUAVr93/ow== -binary@~0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/binary/-/binary-0.3.0.tgz#9f60553bc5ce8c3386f3b553cff47462adecaa79" - integrity sha1-n2BVO8XOjDOG87VTz/R0Yq3sqnk= - dependencies: - buffers "~0.1.1" - chainsaw "~0.1.0" - bl@^1.0.0: version "1.2.2" resolved "https://registry.yarnpkg.com/bl/-/bl-1.2.2.tgz#a160911717103c07410cef63ef51b397c025af9c" @@ -2828,11 +2760,6 @@ bluebird@^3.0.5, bluebird@^3.5.1, bluebird@^3.5.3: resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.4.tgz#d6cc661595de30d5b3af5fcedd3c0b3ef6ec5714" integrity sha512-FG+nFEZChJrbQ9tIccIfZJBz3J7mLrAhxakAbnrJWn8d7aKOC+LWifa0G+p4ZqKp4y13T7juYvdhq9NzKdsrjw== -bluebird@~3.4.1: - version "3.4.7" - resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.4.7.tgz#f72d760be09b7f76d08ed8fae98b289a8d05fab3" - integrity sha1-9y12C+Cbf3bQjtj66Ysomo0F+rM= - bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.1.1, bn.js@^4.4.0: version "4.11.8" resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.8.tgz#2cde09eb5ee341f484746bb0309b3253b1b1442f" @@ -3054,21 +2981,11 @@ buffer-from@^1.0.0: resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.1.tgz#32713bc028f75c02fdb710d7c7bcec1f2c6070ef" integrity sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A== -buffer-indexof-polyfill@~1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/buffer-indexof-polyfill/-/buffer-indexof-polyfill-1.0.1.tgz#a9fb806ce8145d5428510ce72f278bb363a638bf" - integrity sha1-qfuAbOgUXVQoUQznLyeLs2OmOL8= - buffer-indexof@^1.0.0: version "1.1.1" resolved "https://registry.yarnpkg.com/buffer-indexof/-/buffer-indexof-1.1.1.tgz#52fabcc6a606d1a00302802648ef68f639da268c" integrity sha512-4/rOEg86jivtPTeOUUT61jJO1Ya1TrR/OkqCSZDyq84WJh3LuuiphBYJN+fm5xufIk4XAFcEwte/8WzC8If/1g== -buffer-shims@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/buffer-shims/-/buffer-shims-1.0.0.tgz#9978ce317388c649ad8793028c3477ef044a8b51" - integrity sha1-mXjOMXOIxkmth5MCjDR37wRKi1E= - buffer-xor@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/buffer-xor/-/buffer-xor-1.0.3.tgz#26e61ed1422fb70dd42e6e36729ed51d855fe8d9" @@ -3091,11 +3008,6 @@ buffer@^5.2.1: base64-js "^1.0.2" ieee754 "^1.1.4" -buffers@~0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/buffers/-/buffers-0.1.1.tgz#b24579c3bed4d6d396aeee6d9a8ae7f5482ab7bb" - integrity sha1-skV5w77U1tOWru5tmorn9Ugqt7s= - builtin-status-codes@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz#85982878e21b98e1c66425e03d0174788f569ee8" @@ -3256,11 +3168,6 @@ camelcase@^2.0.0: resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-2.1.1.tgz#7c1d16d679a1bbe59ca02cacecfb011e201f5a1f" integrity sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8= -camelcase@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-3.0.0.tgz#32fc4b9fcdaf845fcdf7e73bb97cac2261f0ab0a" - integrity sha1-MvxLn82vhF/N9+c7uXysImHwqwo= - camelcase@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-4.1.0.tgz#d545635be1e33c542649c69173e5de6acfae34dd" @@ -3318,13 +3225,6 @@ ccount@^1.0.0, ccount@^1.0.3: resolved "https://registry.yarnpkg.com/ccount/-/ccount-1.0.4.tgz#9cf2de494ca84060a2a8d2854edd6dfb0445f386" integrity sha512-fpZ81yYfzentuieinmGnphk0pLkOTMm6MZdVqwd77ROvhko6iujLNGrHH5E7utq3ygWklwfmwuG+A7P+NpqT6w== -chainsaw@~0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/chainsaw/-/chainsaw-0.1.0.tgz#5eab50b28afe58074d0d58291388828b5e5fbc98" - integrity sha1-XqtQsor+WAdNDVgpE4iCi15fvJg= - dependencies: - traverse ">=0.3.0 <0.4" - chalk@1.1.3, chalk@^1.0.0, chalk@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" @@ -3399,11 +3299,6 @@ chardet@^0.7.0: resolved "https://registry.yarnpkg.com/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e" integrity sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA== -charenc@~0.0.1: - version "0.0.2" - resolved "https://registry.yarnpkg.com/charenc/-/charenc-0.0.2.tgz#c0a1d2f3a7092e03774bfa83f14c0fc5790a8667" - integrity sha1-wKHS86cJLgN3S/qD8UwPxXkKhmc= - check-types@^7.3.0: version "7.4.0" resolved "https://registry.yarnpkg.com/check-types/-/check-types-7.4.0.tgz#0378ec1b9616ec71f774931a3c6516fad8c152f4" @@ -3578,15 +3473,6 @@ clipboard@^2.0.0: select "^1.1.2" tiny-emitter "^2.0.0" -cliui@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/cliui/-/cliui-3.2.0.tgz#120601537a916d29940f934da3b48d585a39213d" - integrity sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0= - dependencies: - string-width "^1.0.1" - strip-ansi "^3.0.1" - wrap-ansi "^2.0.0" - cliui@^4.0.0: version "4.1.0" resolved "https://registry.yarnpkg.com/cliui/-/cliui-4.1.0.tgz#348422dbe82d800b3022eef4f6ac10bf2e4d1b49" @@ -3718,11 +3604,6 @@ colormin@^1.0.5: css-color-names "0.0.4" has "^1.0.1" -colors@^1.1.2: - version "1.3.3" - resolved "https://registry.yarnpkg.com/colors/-/colors-1.3.3.tgz#39e005d546afe01e01f9c4ca8fa50f686a01205d" - integrity sha512-mmGt/1pZqYRjMxB1axhTo16/snVZ5krrKkcmMeVKxzECMMXoCgnvTPp10QgHfcbQZw8Dq2jMNG6je4JlWU0gWg== - colors@~1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/colors/-/colors-1.1.2.tgz#168a4701756b6a7f51a12ce0c97bfa28c084ed63" @@ -4055,7 +3936,7 @@ core-js@^1.0.0: resolved "https://registry.yarnpkg.com/core-js/-/core-js-1.2.7.tgz#652294c14651db28fa93bd2d5ff2983a4f08c636" integrity sha1-ZSKUwUZR2yj6k70tX/KYOk8IxjY= -core-js@^2.4.0, core-js@^2.5.0, core-js@^2.5.7, core-js@^2.6.5: +core-js@^2.5.7, core-js@^2.6.5: version "2.6.5" resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.5.tgz#44bc8d249e7fb2ff5d00e0341a7ffb94fbf67895" integrity sha512-klh/kDpwX8hryYL14M9w/xei6vrv6sE8gTHDG7/T/+SEovB/G4ejwcfE/CBzO6Edsu+OETZMZ3wcX/EjUkrl5A== @@ -4143,11 +4024,6 @@ crowdin-cli@^0.3.0: yamljs "^0.2.1" yargs "^2.3.0" -crypt@~0.0.1: - version "0.0.2" - resolved "https://registry.yarnpkg.com/crypt/-/crypt-0.0.2.tgz#88d7ff7ec0dfb86f713dc87bbb42d044d3e6c41b" - integrity sha1-iNf/fsDfuG9xPch7u0LQRNPmxBs= - crypto-browserify@^3.11.0: version "3.12.0" resolved "https://registry.yarnpkg.com/crypto-browserify/-/crypto-browserify-3.12.0.tgz#396cf9f3137f03e4b8e532c58f698254e00f80ec" @@ -4429,7 +4305,7 @@ decamelize-keys@^1.0.0: decamelize "^1.1.0" map-obj "^1.0.0" -decamelize@^1.1.0, decamelize@^1.1.1, decamelize@^1.1.2, decamelize@^1.2.0: +decamelize@^1.1.0, decamelize@^1.1.2, decamelize@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" integrity sha1-9lNNFRSCabIDUue+4m9QH5oZEpA= @@ -4934,13 +4810,6 @@ download@^7.1.0: p-event "^2.1.0" pify "^3.0.0" -duplexer2@~0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/duplexer2/-/duplexer2-0.1.4.tgz#8b12dab878c0d69e3e7891051662a32fc6bddcc1" - integrity sha1-ixLauHjA1p4+eJEFFmKjL8a93ME= - dependencies: - readable-stream "^2.0.2" - duplexer3@^0.1.4: version "0.1.4" resolved "https://registry.yarnpkg.com/duplexer3/-/duplexer3-0.1.4.tgz#ee01dd1cac0ed3cbc7fdbea37dc0a8f1ce002ce2" @@ -5964,40 +5833,6 @@ flatten@^1.0.2: resolved "https://registry.yarnpkg.com/flatten/-/flatten-1.0.2.tgz#dae46a9d78fbe25292258cc1e780a41d95c03782" integrity sha1-2uRqnXj74lKSJYzB54CkHZXAN4I= -flow-bin@^0.98.1: - version "0.98.1" - resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.98.1.tgz#a8d781621c91703df69928acc83c9777e2fcbb49" - integrity sha512-y1YzQgbFUX4EG6h2EO8PhyJeS0VxNgER8XsTwU8IXw4KozfneSmGVgw8y3TwAOza7rVhTlHEoli1xNuNW1rhPw== - -flow-remove-types@^1.2.3: - version "1.2.3" - resolved "https://registry.yarnpkg.com/flow-remove-types/-/flow-remove-types-1.2.3.tgz#6131aefc7da43364bb8b479758c9dec7735d1a18" - integrity sha512-ypq/U3V+t9atYiOuSJd40tekCra03EHKoRsiK/wXGrsZimuum0kdwVY7Yv0HTaoXgHW1WiayomYd+Q3kkvPl9Q== - dependencies: - babylon "^6.15.0" - vlq "^0.2.1" - -flow-typed@^2.5.1: - version "2.5.1" - resolved "https://registry.yarnpkg.com/flow-typed/-/flow-typed-2.5.1.tgz#0ff565cc94d2af8c557744ba364b6f14726a6b9f" - integrity sha1-D/VlzJTSr4xVd0S6NktvFHJqa58= - dependencies: - "@octokit/rest" "^15.2.6" - babel-polyfill "^6.26.0" - colors "^1.1.2" - fs-extra "^5.0.0" - glob "^7.1.2" - got "^7.1.0" - md5 "^2.1.0" - mkdirp "^0.5.1" - rimraf "^2.6.2" - semver "^5.5.0" - table "^4.0.2" - through "^2.3.8" - unzipper "^0.8.11" - which "^1.3.0" - yargs "^4.2.0" - flush-write-stream@^1.0.0: version "1.1.1" resolved "https://registry.yarnpkg.com/flush-write-stream/-/flush-write-stream-1.1.1.tgz#8dd7d873a1babc207d94ead0c2e0e44276ebf2e8" @@ -6147,7 +5982,7 @@ fsevents@^2.0.6: resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.0.6.tgz#87b19df0bfb4a1a51d7ddb51b01b5f3bedb40c33" integrity sha512-vfmKZp3XPM36DNF0qhW+Cdxk7xm7gTEHY1clv1Xq1arwRQuKZgAhw+NZNWbJBtuaNxzNXwhfdPYRrvIbjfS33A== -fstream@^1.0.0, fstream@^1.0.2, fstream@~1.0.10: +fstream@^1.0.0, fstream@^1.0.2: version "1.0.11" resolved "https://registry.yarnpkg.com/fstream/-/fstream-1.0.11.tgz#5c1fb1f117477114f0632a0eb4b71b3cb0fd3171" integrity sha1-XB+x8RdHcRTwYyoOtLcbPLD9MXE= @@ -6490,7 +6325,7 @@ good-listener@^1.2.2: dependencies: delegate "^3.1.2" -got@^7.0.0, got@^7.1.0: +got@^7.0.0: version "7.1.0" resolved "https://registry.yarnpkg.com/got/-/got-7.1.0.tgz#05450fd84094e6bbea56f451a43a9c289166385a" integrity sha512-Y5WMo7xKKq1muPsxD+KmrR8DH5auG7fBdDVueZwETwV6VytKyU9OX/ddpq2/1hp1vIPvVb4T81dKQz3BivkNLw== @@ -7010,7 +6845,7 @@ https-browserify@^1.0.0: resolved "https://registry.yarnpkg.com/https-browserify/-/https-browserify-1.0.0.tgz#ec06c10e0a34c0f2faf199f7fd7fc78fffd03c73" integrity sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM= -https-proxy-agent@^2.2.0, https-proxy-agent@^2.2.1: +https-proxy-agent@^2.2.1: version "2.2.1" resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-2.2.1.tgz#51552970fa04d723e04c56d04178c3f92592bbc0" integrity sha512-HPCTS1LW51bcyMYbxUIOO4HEOlQ1/1qRaFWcyxvwaqUS9TY88aoEuHUY33kuAh1YhVVaDQhLZsnPd+XNARWZlQ== @@ -7338,11 +7173,6 @@ invariant@^2.2.0, invariant@^2.2.2, invariant@^2.2.4: dependencies: loose-envify "^1.0.0" -invert-kv@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/invert-kv/-/invert-kv-1.0.0.tgz#104a8e4aaca6d3d8cd157a8ef8bfab2d7a3ffdb6" - integrity sha1-EEqOSqym09jNFXqO+L+rLXo//bY= - invert-kv@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/invert-kv/-/invert-kv-2.0.0.tgz#7393f5afa59ec9ff5f67a27620d11c226e3eec02" @@ -7429,7 +7259,7 @@ is-boolean-object@^1.0.0: resolved "https://registry.yarnpkg.com/is-boolean-object/-/is-boolean-object-1.0.0.tgz#98f8b28030684219a95f375cfbd88ce3405dff93" integrity sha1-mPiygDBoQhmpXzdc+9iM40Bd/5M= -is-buffer@^1.1.5, is-buffer@~1.1.1: +is-buffer@^1.1.5: version "1.1.6" resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" integrity sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w== @@ -8523,13 +8353,6 @@ lazy-cache@^2.0.2: dependencies: set-getter "^0.1.0" -lcid@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/lcid/-/lcid-1.0.0.tgz#308accafa0bc483a3867b4b6f2b9506251d1b835" - integrity sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU= - dependencies: - invert-kv "^1.0.0" - lcid@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/lcid/-/lcid-2.0.0.tgz#6ef5d2df60e52f82eb228a4c373e8d1f397253cf" @@ -8641,11 +8464,6 @@ list-item@^1.1.1: is-number "^2.1.0" repeat-string "^1.5.2" -listenercount@~1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/listenercount/-/listenercount-1.0.1.tgz#84c8a72ab59c4725321480c975e6508342e70937" - integrity sha1-hMinKrWcRyUyFIDJdeZQg0LnCTc= - listr-silent-renderer@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/listr-silent-renderer/-/listr-silent-renderer-1.1.1.tgz#924b5a3757153770bf1a8e3fbf74b8bbf3f9242e" @@ -8766,11 +8584,6 @@ lodash._reinterpolate@~3.0.0: resolved "https://registry.yarnpkg.com/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz#0ccf2d89166af03b3663c796538b75ac6e114d9d" integrity sha1-DM8tiRZq8Ds2Y8eWU4t1rG4RTZ0= -lodash.assign@^4.0.3, lodash.assign@^4.0.6: - version "4.2.0" - resolved "https://registry.yarnpkg.com/lodash.assign/-/lodash.assign-4.2.0.tgz#0d99f3ccd7a6d261d19bdaeb9245005d285808e7" - integrity sha1-DZnzzNem0mHRm9rrkkUAXShYCOc= - lodash.assignin@^4.0.9: version "4.2.0" resolved "https://registry.yarnpkg.com/lodash.assignin/-/lodash.assignin-4.2.0.tgz#ba8df5fb841eb0a3e8044232b0e263a8dc6a28a2" @@ -9144,15 +8957,6 @@ md5.js@^1.3.4: inherits "^2.0.1" safe-buffer "^5.1.2" -md5@^2.1.0: - version "2.2.1" - resolved "https://registry.yarnpkg.com/md5/-/md5-2.2.1.tgz#53ab38d5fe3c8891ba465329ea23fac0540126f9" - integrity sha1-U6s41f48iJG6RlMp6iP6wFQBJvk= - dependencies: - charenc "~0.0.1" - crypt "~0.0.1" - is-buffer "~1.1.1" - mdast-squeeze-paragraphs@^3.0.0: version "3.0.4" resolved "https://registry.yarnpkg.com/mdast-squeeze-paragraphs/-/mdast-squeeze-paragraphs-3.0.4.tgz#e27affcc8cc854842ff504ebb8f380e3c8e131f8" @@ -9617,7 +9421,7 @@ node-fetch@^1.0.1: encoding "^0.1.11" is-stream "^1.0.1" -node-fetch@^2.1.1, node-fetch@^2.3.0: +node-fetch@^2.3.0: version "2.5.0" resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.5.0.tgz#8028c49fc1191bba56a07adc6e2a954644a48501" integrity sha512-YuZKluhWGJwCcUu4RlZstdAxr8bFfOVHakc1mplwHkk8J+tqM1Y5yraYvIUpeX8aY7+crCwiELJq7Vl0o0LWXw== @@ -10136,13 +9940,6 @@ os-homedir@^1.0.0: resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" integrity sha1-/7xJiDNuDoM94MFox+8VISGqf7M= -os-locale@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/os-locale/-/os-locale-1.4.0.tgz#20f9f17ae29ed345e8bde583b13d2009803c14d9" - integrity sha1-IPnxeuKe00XoveWDsT0gCYA8FNk= - dependencies: - lcid "^1.0.0" - os-locale@^3.0.0: version "3.1.0" resolved "https://registry.yarnpkg.com/os-locale/-/os-locale-3.1.0.tgz#a802a6ee17f24c10483ab9935719cef4ed16bf1a" @@ -11025,11 +10822,6 @@ private@^0.1.6: resolved "https://registry.yarnpkg.com/private/-/private-0.1.8.tgz#2381edb3689f7a53d653190060fcf822d2f368ff" integrity sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg== -process-nextick-args@~1.0.6: - version "1.0.7" - resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-1.0.7.tgz#150e20b756590ad3f91093f25a4f2ad8bff30ba3" - integrity sha1-FQ4gt1ZZCtP5EJPyWk8q2L/zC6M= - process-nextick-args@~2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.0.tgz#a37d732f4271b4ab1ad070d35508e8290788ffaa" @@ -11634,19 +11426,6 @@ read@1, read@~1.0.1: string_decoder "^1.1.1" util-deprecate "^1.0.1" -readable-stream@~2.1.5: - version "2.1.5" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.1.5.tgz#66fa8b720e1438b364681f2ad1a63c618448c9d0" - integrity sha1-ZvqLcg4UOLNkaB8q0aY8YYRIydA= - dependencies: - buffer-shims "^1.0.0" - core-util-is "~1.0.0" - inherits "~2.0.1" - isarray "~1.0.0" - process-nextick-args "~1.0.6" - string_decoder "~0.10.x" - util-deprecate "~1.0.1" - readdir-scoped-modules@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/readdir-scoped-modules/-/readdir-scoped-modules-1.0.2.tgz#9fafa37d286be5d92cbaebdee030dc9b5f406747" @@ -11766,16 +11545,6 @@ regenerate@^1.2.1, regenerate@^1.4.0: resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.4.0.tgz#4a856ec4b56e4077c557589cae85e7a4c8869a11" integrity sha512-1G6jJVDWrt0rK99kBjvEtziZNCICAuvIPkSiUFIQxVP06RCVpq3dmDo2oi6ABpYaDYaTRr67BEhL8r1wgEZZKg== -regenerator-runtime@^0.10.5: - version "0.10.5" - resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.10.5.tgz#336c3efc1220adcedda2c9fab67b5a7955a33658" - integrity sha1-M2w+/BIgrc7dosn6tntaeVWjNlg= - -regenerator-runtime@^0.11.0: - version "0.11.1" - resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz#be05ad7f9bf7d22e056f9726cee5017fbf19e2e9" - integrity sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg== - regenerator-runtime@^0.13.2: version "0.13.2" resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.2.tgz#32e59c9a6fb9b1a4aff09b4930ca2d4477343447" @@ -12424,7 +12193,7 @@ set-value@^2.0.0: is-plain-object "^2.0.3" split-string "^3.0.1" -setimmediate@^1.0.4, setimmediate@^1.0.5, setimmediate@~1.0.4: +setimmediate@^1.0.4, setimmediate@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/setimmediate/-/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285" integrity sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU= @@ -12961,7 +12730,7 @@ string.prototype.trim@^1.1.2: es-abstract "^1.5.0" function-bind "^1.0.2" -string_decoder@0.10, string_decoder@~0.10.x: +string_decoder@0.10: version "0.10.31" resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94" integrity sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ= @@ -13193,7 +12962,7 @@ table@4.0.2: slice-ansi "1.0.0" string-width "^2.1.1" -table@^4.0.2, table@^4.0.3: +table@^4.0.3: version "4.0.3" resolved "https://registry.yarnpkg.com/table/-/table-4.0.3.tgz#00b5e2b602f1794b9acaf9ca908a76386a7813bc" integrity sha512-S7rnFITmBH1EnyKcvxBh1LjYeQMmnZtCXSEbHcH6S0NoKit24ZuFO/T1vDcLdYsLQkM188PVVhQmzKIuThNkKg== @@ -13511,11 +13280,6 @@ tr46@^1.0.1: dependencies: punycode "^2.1.0" -"traverse@>=0.3.0 <0.4": - version "0.3.9" - resolved "https://registry.yarnpkg.com/traverse/-/traverse-0.3.9.tgz#717b8f220cc0bb7b44e40514c22b2e8bbc70d8b9" - integrity sha1-cXuPIgzAu3tE5AUUwisui7xw2Lk= - tree-node-cli@^1.2.5: version "1.2.5" resolved "https://registry.yarnpkg.com/tree-node-cli/-/tree-node-cli-1.2.5.tgz#afd75437976bbf2cc0c52b9949798e7530e8fd8c" @@ -13843,21 +13607,6 @@ unset-value@^1.0.0: has-value "^0.3.1" isobject "^3.0.0" -unzipper@^0.8.11: - version "0.8.14" - resolved "https://registry.yarnpkg.com/unzipper/-/unzipper-0.8.14.tgz#ade0524cd2fc14d11b8de258be22f9d247d3f79b" - integrity sha512-8rFtE7EP5ssOwGpN2dt1Q4njl0N1hUXJ7sSPz0leU2hRdq6+pra57z4YPBlVqm40vcgv6ooKZEAx48fMTv9x4w== - dependencies: - big-integer "^1.6.17" - binary "~0.3.0" - bluebird "~3.4.1" - buffer-indexof-polyfill "~1.0.0" - duplexer2 "~0.1.4" - fstream "~1.0.10" - listenercount "~1.0.1" - readable-stream "~2.1.5" - setimmediate "~1.0.4" - upath@^1.1.1: version "1.1.2" resolved "https://registry.yarnpkg.com/upath/-/upath-1.1.2.tgz#3db658600edaeeccbe6db5e684d67ee8c2acd068" @@ -14045,11 +13794,6 @@ vfile@^3.0.0: unist-util-stringify-position "^1.0.0" vfile-message "^1.0.0" -vlq@^0.2.1: - version "0.2.3" - resolved "https://registry.yarnpkg.com/vlq/-/vlq-0.2.3.tgz#8f3e4328cf63b1540c0d67e1b2778386f8975b26" - integrity sha512-DRibZL6DsNhIgYQ+wNdWDL2SL3bKPlVrRiBqV5yuMm++op8W4kGFtaQfCs4KEJn0wBZcHVHJ3eoywX8983k1ow== - vm-browserify@0.0.4: version "0.0.4" resolved "https://registry.yarnpkg.com/vm-browserify/-/vm-browserify-0.0.4.tgz#5d7ea45bbef9e4a6ff65f95438e0a87c357d5a73" @@ -14324,11 +14068,6 @@ whet.extend@~0.9.9: resolved "https://registry.yarnpkg.com/whet.extend/-/whet.extend-0.9.9.tgz#f877d5bf648c97e5aa542fadc16d6a259b9c11a1" integrity sha1-+HfVv2SMl+WqVC+twW1qJZucEaE= -which-module@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/which-module/-/which-module-1.0.0.tgz#bba63ca861948994ff307736089e3b96026c2a4f" - integrity sha1-u6Y8qGGUiZT/MHc2CJ47lgJsKk8= - which-module@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a" @@ -14348,11 +14087,6 @@ wide-align@^1.1.0: dependencies: string-width "^1.0.2 || 2" -window-size@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/window-size/-/window-size-0.2.0.tgz#b4315bb4214a3d7058ebeee892e13fa24d98b075" - integrity sha1-tDFbtCFKPXBY6+7okuE/ok2YsHU= - windows-release@^3.1.0: version "3.2.0" resolved "https://registry.yarnpkg.com/windows-release/-/windows-release-3.2.0.tgz#8122dad5afc303d833422380680a79cdfa91785f" @@ -14487,11 +14221,6 @@ xtend@^4.0.0, xtend@^4.0.1, xtend@~4.0.0, xtend@~4.0.1: resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.1.tgz#a5c6d532be656e23db820efb943a1f04998d63af" integrity sha1-pcbVMr5lbiPbgg77lDofBJmNY68= -y18n@^3.2.1: - version "3.2.1" - resolved "https://registry.yarnpkg.com/y18n/-/y18n-3.2.1.tgz#6d15fba884c08679c0d77e88e7759e811e07fa41" - integrity sha1-bRX7qITAhnnA136I53WegR4H+kE= - "y18n@^3.2.1 || ^4.0.0", y18n@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.0.tgz#95ef94f85ecc81d007c264e190a120f0a3c8566b" @@ -14523,14 +14252,6 @@ yargs-parser@^11.1.1: camelcase "^5.0.0" decamelize "^1.2.0" -yargs-parser@^2.4.1: - version "2.4.1" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-2.4.1.tgz#85568de3cf150ff49fa51825f03a8c880ddcc5c4" - integrity sha1-hVaN488VD/SfpRgl8DqMiA3cxcQ= - dependencies: - camelcase "^3.0.0" - lodash.assign "^4.0.6" - yargs@12.0.5, yargs@^12.0.1, yargs@^12.0.2: version "12.0.5" resolved "https://registry.yarnpkg.com/yargs/-/yargs-12.0.5.tgz#05f5997b609647b64f66b81e3b4b10a368e7ad13" @@ -14556,26 +14277,6 @@ yargs@^2.3.0: dependencies: wordwrap "0.0.2" -yargs@^4.2.0: - version "4.8.1" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-4.8.1.tgz#c0c42924ca4aaa6b0e6da1739dfb216439f9ddc0" - integrity sha1-wMQpJMpKqmsObaFznfshZDn53cA= - dependencies: - cliui "^3.2.0" - decamelize "^1.1.1" - get-caller-file "^1.0.1" - lodash.assign "^4.0.3" - os-locale "^1.4.0" - read-pkg-up "^1.0.1" - require-directory "^2.1.1" - require-main-filename "^1.0.1" - set-blocking "^2.0.0" - string-width "^1.0.1" - which-module "^1.0.0" - window-size "^0.2.0" - y18n "^3.2.1" - yargs-parser "^2.4.1" - yauzl@^2.4.2: version "2.10.0" resolved "https://registry.yarnpkg.com/yauzl/-/yauzl-2.10.0.tgz#c7eb17c93e112cb1086fa6d8e51fb0667b79a5f9"