remove node_modules
This commit is contained in:
-1
@@ -1 +0,0 @@
|
|||||||
../sha.js/bin.js
|
|
||||||
-1
@@ -1 +0,0 @@
|
|||||||
../typescript/bin/tsc
|
|
||||||
-1
@@ -1 +0,0 @@
|
|||||||
../typescript/bin/tsserver
|
|
||||||
-2626
File diff suppressed because it is too large
Load Diff
-21
@@ -1,21 +0,0 @@
|
|||||||
MIT License
|
|
||||||
|
|
||||||
Copyright (c) Microsoft Corporation.
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all
|
|
||||||
copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
||||||
SOFTWARE
|
|
||||||
-16
@@ -1,16 +0,0 @@
|
|||||||
# Installation
|
|
||||||
> `npm install --save @types/lodash`
|
|
||||||
|
|
||||||
# Summary
|
|
||||||
This package contains type definitions for Lo-Dash (https://lodash.com).
|
|
||||||
|
|
||||||
# Details
|
|
||||||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lodash.
|
|
||||||
|
|
||||||
### Additional Details
|
|
||||||
* Last updated: Mon, 14 Nov 2022 21:32:45 GMT
|
|
||||||
* Dependencies: none
|
|
||||||
* Global values: `_`
|
|
||||||
|
|
||||||
# Credits
|
|
||||||
These definitions were written by [Brian Zengel](https://github.com/bczengel), [Ilya Mochalov](https://github.com/chrootsu), [AJ Richardson](https://github.com/aj-r), [e-cloud](https://github.com/e-cloud), [Georgii Dolzhykov](https://github.com/thorn0), [Jack Moore](https://github.com/jtmthf), [Dominique Rau](https://github.com/DomiR), and [William Chelman](https://github.com/WilliamChelman).
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { add } from "./index";
|
|
||||||
export = add;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { after } from "./index";
|
|
||||||
export = after;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { ary } from "./index";
|
|
||||||
export = ary;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { assign } from "./index";
|
|
||||||
export = assign;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { assignIn } from "./index";
|
|
||||||
export = assignIn;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { assignInWith } from "./index";
|
|
||||||
export = assignInWith;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { assignWith } from "./index";
|
|
||||||
export = assignWith;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { at } from "./index";
|
|
||||||
export = at;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { attempt } from "./index";
|
|
||||||
export = attempt;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { before } from "./index";
|
|
||||||
export = before;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { bind } from "./index";
|
|
||||||
export = bind;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { bindAll } from "./index";
|
|
||||||
export = bindAll;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { bindKey } from "./index";
|
|
||||||
export = bindKey;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { camelCase } from "./index";
|
|
||||||
export = camelCase;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { capitalize } from "./index";
|
|
||||||
export = capitalize;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { castArray } from "./index";
|
|
||||||
export = castArray;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { ceil } from "./index";
|
|
||||||
export = ceil;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { chain } from "./index";
|
|
||||||
export = chain;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { chunk } from "./index";
|
|
||||||
export = chunk;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { clamp } from "./index";
|
|
||||||
export = clamp;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { clone } from "./index";
|
|
||||||
export = clone;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { cloneDeep } from "./index";
|
|
||||||
export = cloneDeep;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { cloneDeepWith } from "./index";
|
|
||||||
export = cloneDeepWith;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { cloneWith } from "./index";
|
|
||||||
export = cloneWith;
|
|
||||||
-2126
File diff suppressed because it is too large
Load Diff
-1930
File diff suppressed because it is too large
Load Diff
-280
@@ -1,280 +0,0 @@
|
|||||||
import _ = require("../index");
|
|
||||||
// tslint:disable-next-line:strict-export-declare-modifiers
|
|
||||||
type GlobalPartial<T> = Partial<T>;
|
|
||||||
declare module "../index" {
|
|
||||||
type Omit<T, K extends keyof any> = Pick<T, Exclude<keyof T, K>>;
|
|
||||||
type PartialObject<T> = GlobalPartial<T>;
|
|
||||||
type Many<T> = T | ReadonlyArray<T>;
|
|
||||||
type ImpChain<T> =
|
|
||||||
T extends { __trapAny: any } ? Collection<any> & Function<any> & Object<any> & Primitive<any> & String :
|
|
||||||
T extends null | undefined ? never :
|
|
||||||
T extends string | null | undefined ? String :
|
|
||||||
T extends (...args: any) => any ? Function<T> :
|
|
||||||
T extends List<infer U> | null | undefined ? Collection<U> :
|
|
||||||
T extends object | null | undefined ? Object<T> :
|
|
||||||
Primitive<T>;
|
|
||||||
type ExpChain<T> =
|
|
||||||
T extends { __trapAny: any } ? CollectionChain<any> & FunctionChain<any> & ObjectChain<any> & PrimitiveChain<any> & StringChain :
|
|
||||||
T extends null | undefined ? never :
|
|
||||||
T extends string ? StringChain :
|
|
||||||
T extends string | null | undefined ? StringNullableChain :
|
|
||||||
T extends (...args: any) => any ? FunctionChain<T> :
|
|
||||||
T extends List<infer U> | null | undefined ? CollectionChain<U> :
|
|
||||||
T extends object | null | undefined ? ObjectChain<T> :
|
|
||||||
PrimitiveChain<T>;
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* Creates a lodash object which wraps value to enable implicit method chain sequences.
|
|
||||||
* Methods that operate on and return arrays, collections, and functions can be chained together.
|
|
||||||
* Methods that retrieve a single value or may return a primitive value will automatically end the
|
|
||||||
* chain sequence and return the unwrapped value. Otherwise, the value must be unwrapped with value().
|
|
||||||
*
|
|
||||||
* Explicit chain sequences, which must be unwrapped with value(), may be enabled using _.chain.
|
|
||||||
*
|
|
||||||
* The execution of chained methods is lazy, that is, it's deferred until value() is
|
|
||||||
* implicitly or explicitly called.
|
|
||||||
*
|
|
||||||
* Lazy evaluation allows several methods to support shortcut fusion. Shortcut fusion
|
|
||||||
* is an optimization to merge iteratee calls; this avoids the creation of intermediate
|
|
||||||
* arrays and can greatly reduce the number of iteratee executions. Sections of a chain
|
|
||||||
* sequence qualify for shortcut fusion if the section is applied to an array and iteratees
|
|
||||||
* accept only one argument. The heuristic for whether a section qualifies for shortcut
|
|
||||||
* fusion is subject to change.
|
|
||||||
*
|
|
||||||
* Chaining is supported in custom builds as long as the value() method is directly or
|
|
||||||
* indirectly included in the build.
|
|
||||||
*
|
|
||||||
* In addition to lodash methods, wrappers have Array and String methods.
|
|
||||||
* The wrapper Array methods are:
|
|
||||||
* concat, join, pop, push, shift, sort, splice, and unshift.
|
|
||||||
* The wrapper String methods are:
|
|
||||||
* replace and split.
|
|
||||||
*
|
|
||||||
* The wrapper methods that support shortcut fusion are:
|
|
||||||
* at, compact, drop, dropRight, dropWhile, filter, find, findLast, head, initial, last,
|
|
||||||
* map, reject, reverse, slice, tail, take, takeRight, takeRightWhile, takeWhile, and toArray
|
|
||||||
*
|
|
||||||
* The chainable wrapper methods are:
|
|
||||||
* after, ary, assign, assignIn, assignInWith, assignWith, at, before, bind, bindAll, bindKey,
|
|
||||||
* castArray, chain, chunk, commit, compact, concat, conforms, constant, countBy, create,
|
|
||||||
* curry, debounce, defaults, defaultsDeep, defer, delay, difference, differenceBy, differenceWith,
|
|
||||||
* drop, dropRight, dropRightWhile, dropWhile, extend, extendWith, fill, filter, flatMap,
|
|
||||||
* flatMapDeep, flatMapDepth, flatten, flattenDeep, flattenDepth, flip, flow, flowRight,
|
|
||||||
* fromPairs, functions, functionsIn, groupBy, initial, intersection, intersectionBy, intersectionWith,
|
|
||||||
* invert, invertBy, invokeMap, iteratee, keyBy, keys, keysIn, map, mapKeys, mapValues,
|
|
||||||
* matches, matchesProperty, memoize, merge, mergeWith, method, methodOf, mixin, negate,
|
|
||||||
* nthArg, omit, omitBy, once, orderBy, over, overArgs, overEvery, overSome, partial, partialRight,
|
|
||||||
* partition, pick, pickBy, plant, property, propertyOf, pull, pullAll, pullAllBy, pullAllWith, pullAt,
|
|
||||||
* push, range, rangeRight, rearg, reject, remove, rest, reverse, sampleSize, set, setWith,
|
|
||||||
* shuffle, slice, sort, sortBy, sortedUniq, sortedUniqBy, splice, spread, tail, take,
|
|
||||||
* takeRight, takeRightWhile, takeWhile, tap, throttle, thru, toArray, toPairs, toPairsIn,
|
|
||||||
* toPath, toPlainObject, transform, unary, union, unionBy, unionWith, uniq, uniqBy, uniqWith,
|
|
||||||
* unset, unshift, unzip, unzipWith, update, updateWith, values, valuesIn, without, wrap,
|
|
||||||
* xor, xorBy, xorWith, zip, zipObject, zipObjectDeep, and zipWith.
|
|
||||||
*
|
|
||||||
* The wrapper methods that are not chainable by default are:
|
|
||||||
* add, attempt, camelCase, capitalize, ceil, clamp, clone, cloneDeep, cloneDeepWith, cloneWith,
|
|
||||||
* conformsTo, deburr, defaultTo, divide, each, eachRight, endsWith, eq, escape, escapeRegExp,
|
|
||||||
* every, find, findIndex, findKey, findLast, findLastIndex, findLastKey, first, floor, forEach,
|
|
||||||
* forEachRight, forIn, forInRight, forOwn, forOwnRight, get, gt, gte, has, hasIn, head,
|
|
||||||
* identity, includes, indexOf, inRange, invoke, isArguments, isArray, isArrayBuffer,
|
|
||||||
* isArrayLike, isArrayLikeObject, isBoolean, isBuffer, isDate, isElement, isEmpty, isEqual, isEqualWith,
|
|
||||||
* isError, isFinite, isFunction, isInteger, isLength, isMap, isMatch, isMatchWith, isNaN,
|
|
||||||
* isNative, isNil, isNull, isNumber, isObject, isObjectLike, isPlainObject, isRegExp,
|
|
||||||
* isSafeInteger, isSet, isString, isUndefined, isTypedArray, isWeakMap, isWeakSet, join,
|
|
||||||
* kebabCase, last, lastIndexOf, lowerCase, lowerFirst, lt, lte, max, maxBy, mean, meanBy,
|
|
||||||
* min, minBy, multiply, noConflict, noop, now, nth, pad, padEnd, padStart, parseInt, pop,
|
|
||||||
* random, reduce, reduceRight, repeat, result, round, runInContext, sample, shift, size,
|
|
||||||
* snakeCase, some, sortedIndex, sortedIndexBy, sortedLastIndex, sortedLastIndexBy, startCase,
|
|
||||||
* startsWith, stubArray, stubFalse, stubObject, stubString, stubTrue, subtract, sum, sumBy,
|
|
||||||
* template, times, toFinite, toInteger, toJSON, toLength, toLower, toNumber, toSafeInteger,
|
|
||||||
* toString, toUpper, trim, trimEnd, trimStart, truncate, unescape, uniqueId, upperCase,
|
|
||||||
* upperFirst, value, and words.
|
|
||||||
**/
|
|
||||||
<TrapAny extends { __trapAny: any }>(value: TrapAny): Collection<any> & Function<any> & Object<any> & Primitive<any> & String;
|
|
||||||
<T extends null | undefined>(value: T): Primitive<T>;
|
|
||||||
(value: string | null | undefined): String;
|
|
||||||
<T extends (...args: any) => any>(value: T): Function<T>;
|
|
||||||
<T = any>(value: List<T> | null | undefined): Collection<T>;
|
|
||||||
<T extends object>(value: T | null | undefined): Object<T>;
|
|
||||||
<T>(value: T): Primitive<T>;
|
|
||||||
/**
|
|
||||||
* The semantic version number.
|
|
||||||
**/
|
|
||||||
VERSION: string;
|
|
||||||
/**
|
|
||||||
* By default, the template delimiters used by Lo-Dash are similar to those in embedded Ruby
|
|
||||||
* (ERB). Change the following template settings to use alternative delimiters.
|
|
||||||
**/
|
|
||||||
templateSettings: TemplateSettings;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* By default, the template delimiters used by Lo-Dash are similar to those in embedded Ruby
|
|
||||||
* (ERB). Change the following template settings to use alternative delimiters.
|
|
||||||
**/
|
|
||||||
interface TemplateSettings {
|
|
||||||
/**
|
|
||||||
* The "escape" delimiter.
|
|
||||||
**/
|
|
||||||
escape?: RegExp | undefined;
|
|
||||||
/**
|
|
||||||
* The "evaluate" delimiter.
|
|
||||||
**/
|
|
||||||
evaluate?: RegExp | undefined;
|
|
||||||
/**
|
|
||||||
* An object to import into the template as local variables.
|
|
||||||
*/
|
|
||||||
imports?: Dictionary<any> | undefined;
|
|
||||||
/**
|
|
||||||
* The "interpolate" delimiter.
|
|
||||||
*/
|
|
||||||
interpolate?: RegExp | undefined;
|
|
||||||
/**
|
|
||||||
* Used to reference the data object in the template text.
|
|
||||||
*/
|
|
||||||
variable?: string | undefined;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Creates a cache object to store key/value pairs.
|
|
||||||
*/
|
|
||||||
interface MapCache {
|
|
||||||
/**
|
|
||||||
* Removes `key` and its value from the cache.
|
|
||||||
* @param key The key of the value to remove.
|
|
||||||
* @return Returns `true` if the entry was removed successfully, else `false`.
|
|
||||||
*/
|
|
||||||
delete(key: any): boolean;
|
|
||||||
/**
|
|
||||||
* Gets the cached value for `key`.
|
|
||||||
* @param key The key of the value to get.
|
|
||||||
* @return Returns the cached value.
|
|
||||||
*/
|
|
||||||
get(key: any): any;
|
|
||||||
/**
|
|
||||||
* Checks if a cached value for `key` exists.
|
|
||||||
* @param key The key of the entry to check.
|
|
||||||
* @return Returns `true` if an entry for `key` exists, else `false`.
|
|
||||||
*/
|
|
||||||
has(key: any): boolean;
|
|
||||||
/**
|
|
||||||
* Sets `value` to `key` of the cache.
|
|
||||||
* @param key The key of the value to cache.
|
|
||||||
* @param value The value to cache.
|
|
||||||
* @return Returns the cache object.
|
|
||||||
*/
|
|
||||||
set(key: any, value: any): this;
|
|
||||||
/**
|
|
||||||
* Removes all key-value entries from the map.
|
|
||||||
*/
|
|
||||||
clear?: (() => void) | undefined;
|
|
||||||
}
|
|
||||||
interface MapCacheConstructor {
|
|
||||||
new (): MapCache;
|
|
||||||
}
|
|
||||||
interface Collection<T> {
|
|
||||||
pop(): T | undefined;
|
|
||||||
push(...items: T[]): this;
|
|
||||||
shift(): T | undefined;
|
|
||||||
sort(compareFn?: (a: T, b: T) => number): this;
|
|
||||||
splice(start: number, deleteCount?: number, ...items: T[]): this;
|
|
||||||
unshift(...items: T[]): this;
|
|
||||||
}
|
|
||||||
interface CollectionChain<T> {
|
|
||||||
pop(): ExpChain<T | undefined>;
|
|
||||||
push(...items: T[]): this;
|
|
||||||
shift(): ExpChain<T | undefined>;
|
|
||||||
sort(compareFn?: (a: T, b: T) => number): this;
|
|
||||||
splice(start: number, deleteCount?: number, ...items: T[]): this;
|
|
||||||
unshift(...items: T[]): this;
|
|
||||||
}
|
|
||||||
interface Function<T extends (...args: any) => any> extends LoDashImplicitWrapper<T> {
|
|
||||||
}
|
|
||||||
interface String extends LoDashImplicitWrapper<string> {
|
|
||||||
}
|
|
||||||
interface Object<T> extends LoDashImplicitWrapper<T> {
|
|
||||||
}
|
|
||||||
interface Collection<T> extends LoDashImplicitWrapper<T[]> {
|
|
||||||
}
|
|
||||||
interface Primitive<T> extends LoDashImplicitWrapper<T> {
|
|
||||||
}
|
|
||||||
interface FunctionChain<T extends (...args: any) => any> extends LoDashExplicitWrapper<T> {
|
|
||||||
}
|
|
||||||
interface StringChain extends LoDashExplicitWrapper<string> {
|
|
||||||
}
|
|
||||||
interface StringNullableChain extends LoDashExplicitWrapper<string | undefined> {
|
|
||||||
}
|
|
||||||
interface ObjectChain<T> extends LoDashExplicitWrapper<T> {
|
|
||||||
}
|
|
||||||
interface CollectionChain<T> extends LoDashExplicitWrapper<T[]> {
|
|
||||||
}
|
|
||||||
interface PrimitiveChain<T> extends LoDashExplicitWrapper<T> {
|
|
||||||
}
|
|
||||||
type NotVoid = unknown;
|
|
||||||
type IterateeShorthand<T> = PropertyName | [PropertyName, any] | PartialShallow<T>;
|
|
||||||
type ArrayIterator<T, TResult> = (value: T, index: number, collection: T[]) => TResult;
|
|
||||||
type ListIterator<T, TResult> = (value: T, index: number, collection: List<T>) => TResult;
|
|
||||||
type ListIteratee<T> = ListIterator<T, NotVoid> | IterateeShorthand<T>;
|
|
||||||
type ListIterateeCustom<T, TResult> = ListIterator<T, TResult> | IterateeShorthand<T>;
|
|
||||||
type ListIteratorTypeGuard<T, S extends T> = (value: T, index: number, collection: List<T>) => value is S;
|
|
||||||
// Note: key should be string, not keyof T, because the actual object may contain extra properties that were not specified in the type.
|
|
||||||
type ObjectIterator<TObject, TResult> = (value: TObject[keyof TObject], key: string, collection: TObject) => TResult;
|
|
||||||
type ObjectIteratee<TObject> = ObjectIterator<TObject, NotVoid> | IterateeShorthand<TObject[keyof TObject]>;
|
|
||||||
type ObjectIterateeCustom<TObject, TResult> = ObjectIterator<TObject, TResult> | IterateeShorthand<TObject[keyof TObject]>;
|
|
||||||
type ObjectIteratorTypeGuard<TObject, S extends TObject[keyof TObject]> = (value: TObject[keyof TObject], key: string, collection: TObject) => value is S;
|
|
||||||
type StringIterator<TResult> = (char: string, index: number, string: string) => TResult;
|
|
||||||
/** @deprecated Use MemoVoidArrayIterator or MemoVoidDictionaryIterator instead. */
|
|
||||||
type MemoVoidIterator<T, TResult> = (prev: TResult, curr: T, indexOrKey: any, list: T[]) => void;
|
|
||||||
/** @deprecated Use MemoListIterator or MemoObjectIterator instead. */
|
|
||||||
type MemoIterator<T, TResult> = (prev: TResult, curr: T, indexOrKey: any, list: T[]) => TResult;
|
|
||||||
type MemoListIterator<T, TResult, TList> = (prev: TResult, curr: T, index: number, list: TList) => TResult;
|
|
||||||
type MemoObjectIterator<T, TResult, TList> = (prev: TResult, curr: T, key: string, list: TList) => TResult;
|
|
||||||
type MemoIteratorCapped<T, TResult> = (prev: TResult, curr: T) => TResult;
|
|
||||||
type MemoIteratorCappedRight<T, TResult> = (curr: T, prev: TResult) => TResult;
|
|
||||||
type MemoVoidArrayIterator<T, TResult> = (acc: TResult, curr: T, index: number, arr: T[]) => void;
|
|
||||||
type MemoVoidDictionaryIterator<T, K extends string | number | symbol, TResult> = (acc: TResult, curr: T, key: K, dict: Record<K, T>) => void;
|
|
||||||
type MemoVoidIteratorCapped<T, TResult> = (acc: TResult, curr: T) => void;
|
|
||||||
type ValueIteratee<T> = ((value: T) => NotVoid) | IterateeShorthand<T>;
|
|
||||||
type ValueIterateeCustom<T, TResult> = ((value: T) => TResult) | IterateeShorthand<T>;
|
|
||||||
type ValueIteratorTypeGuard<T, S extends T> = (value: T) => value is S;
|
|
||||||
type ValueKeyIteratee<T> = ((value: T, key: string) => NotVoid) | IterateeShorthand<T>;
|
|
||||||
type ValueKeyIterateeTypeGuard<T, S extends T> = (value: T, key: string) => value is S;
|
|
||||||
type Comparator<T> = (a: T, b: T) => boolean;
|
|
||||||
type Comparator2<T1, T2> = (a: T1, b: T2) => boolean;
|
|
||||||
type PropertyName = string | number | symbol;
|
|
||||||
type PropertyPath = Many<PropertyName>;
|
|
||||||
/** Common interface between Arrays and jQuery objects */
|
|
||||||
type List<T> = ArrayLike<T>;
|
|
||||||
interface Dictionary<T> {
|
|
||||||
[index: string]: T;
|
|
||||||
}
|
|
||||||
interface NumericDictionary<T> {
|
|
||||||
[index: number]: T;
|
|
||||||
}
|
|
||||||
// Crazy typedef needed get _.omit to work properly with Dictionary and NumericDictionary
|
|
||||||
type AnyKindOfDictionary =
|
|
||||||
| Dictionary<unknown>
|
|
||||||
| NumericDictionary<unknown>;
|
|
||||||
type PartialShallow<T> = {
|
|
||||||
[P in keyof T]?: T[P] extends object ? object : T[P]
|
|
||||||
};
|
|
||||||
// For backwards compatibility
|
|
||||||
type LoDashImplicitArrayWrapper<T> = LoDashImplicitWrapper<T[]>;
|
|
||||||
type LoDashImplicitNillableArrayWrapper<T> = LoDashImplicitWrapper<T[] | null | undefined>;
|
|
||||||
type LoDashImplicitObjectWrapper<T> = LoDashImplicitWrapper<T>;
|
|
||||||
type LoDashImplicitNillableObjectWrapper<T> = LoDashImplicitWrapper<T | null | undefined>;
|
|
||||||
type LoDashImplicitNumberArrayWrapper = LoDashImplicitWrapper<number[]>;
|
|
||||||
type LoDashImplicitStringWrapper = LoDashImplicitWrapper<string>;
|
|
||||||
type LoDashExplicitArrayWrapper<T> = LoDashExplicitWrapper<T[]>;
|
|
||||||
type LoDashExplicitNillableArrayWrapper<T> = LoDashExplicitWrapper<T[] | null | undefined>;
|
|
||||||
type LoDashExplicitObjectWrapper<T> = LoDashExplicitWrapper<T>;
|
|
||||||
type LoDashExplicitNillableObjectWrapper<T> = LoDashExplicitWrapper<T | null | undefined>;
|
|
||||||
type LoDashExplicitNumberArrayWrapper = LoDashExplicitWrapper<number[]>;
|
|
||||||
type LoDashExplicitStringWrapper = LoDashExplicitWrapper<string>;
|
|
||||||
type DictionaryIterator<T, TResult> = ObjectIterator<Dictionary<T>, TResult>;
|
|
||||||
type DictionaryIteratee<T> = ObjectIteratee<Dictionary<T>>;
|
|
||||||
type DictionaryIteratorTypeGuard<T, S extends T> = ObjectIteratorTypeGuard<Dictionary<T>, S>;
|
|
||||||
// NOTE: keys of objects at run time are always strings, even when a NumericDictionary is being iterated.
|
|
||||||
type NumericDictionaryIterator<T, TResult> = (value: T, key: string, collection: NumericDictionary<T>) => TResult;
|
|
||||||
type NumericDictionaryIteratee<T> = NumericDictionaryIterator<T, NotVoid> | IterateeShorthand<T>;
|
|
||||||
type NumericDictionaryIterateeCustom<T, TResult> = NumericDictionaryIterator<T, TResult> | IterateeShorthand<T>;
|
|
||||||
}
|
|
||||||
-23
@@ -1,23 +0,0 @@
|
|||||||
import _ = require("../index");
|
|
||||||
declare module "../index" {
|
|
||||||
interface LoDashStatic {
|
|
||||||
/*
|
|
||||||
* Gets the number of milliseconds that have elapsed since the Unix epoch (1 January 1970 00:00:00 UTC).
|
|
||||||
*
|
|
||||||
* @return The number of milliseconds.
|
|
||||||
*/
|
|
||||||
now(): number;
|
|
||||||
}
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.now
|
|
||||||
*/
|
|
||||||
now(): number;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.now
|
|
||||||
*/
|
|
||||||
now(): PrimitiveChain<number>;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
-1446
File diff suppressed because it is too large
Load Diff
-1700
File diff suppressed because it is too large
Load Diff
-405
@@ -1,405 +0,0 @@
|
|||||||
import _ = require("../index");
|
|
||||||
declare module "../index" {
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* Adds two numbers.
|
|
||||||
*
|
|
||||||
* @param augend The first number to add.
|
|
||||||
* @param addend The second number to add.
|
|
||||||
* @return Returns the sum.
|
|
||||||
*/
|
|
||||||
add(augend: number, addend: number): number;
|
|
||||||
}
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.add
|
|
||||||
*/
|
|
||||||
add(addend: number): number;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.add
|
|
||||||
*/
|
|
||||||
add(addend: number): PrimitiveChain<number>;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* Calculates n rounded up to precision.
|
|
||||||
*
|
|
||||||
* @param n The number to round up.
|
|
||||||
* @param precision The precision to round up to.
|
|
||||||
* @return Returns the rounded up number.
|
|
||||||
*/
|
|
||||||
ceil(n: number, precision?: number): number;
|
|
||||||
}
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.ceil
|
|
||||||
*/
|
|
||||||
ceil(precision?: number): number;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.ceil
|
|
||||||
*/
|
|
||||||
ceil(precision?: number): PrimitiveChain<number>;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* Divide two numbers.
|
|
||||||
*
|
|
||||||
* @param dividend The first number in a division.
|
|
||||||
* @param divisor The second number in a division.
|
|
||||||
* @returns Returns the quotient.
|
|
||||||
*/
|
|
||||||
divide(dividend: number, divisor: number): number;
|
|
||||||
}
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.divide
|
|
||||||
*/
|
|
||||||
divide(divisor: number): number;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.divide
|
|
||||||
*/
|
|
||||||
divide(divisor: number): PrimitiveChain<number>;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* Calculates n rounded down to precision.
|
|
||||||
*
|
|
||||||
* @param n The number to round down.
|
|
||||||
* @param precision The precision to round down to.
|
|
||||||
* @return Returns the rounded down number.
|
|
||||||
*/
|
|
||||||
floor(n: number, precision?: number): number;
|
|
||||||
}
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.floor
|
|
||||||
*/
|
|
||||||
floor(precision?: number): number;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.floor
|
|
||||||
*/
|
|
||||||
floor(precision?: number): PrimitiveChain<number>;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* Computes the maximum value of `array`. If `array` is empty or falsey
|
|
||||||
* `undefined` is returned.
|
|
||||||
*
|
|
||||||
* @category Math
|
|
||||||
* @param array The array to iterate over.
|
|
||||||
* @returns Returns the maximum value.
|
|
||||||
*/
|
|
||||||
max<T>(collection: List<T> | null | undefined): T | undefined;
|
|
||||||
}
|
|
||||||
interface Collection<T> {
|
|
||||||
/**
|
|
||||||
* @see _.max
|
|
||||||
*/
|
|
||||||
max(): T | undefined;
|
|
||||||
}
|
|
||||||
interface CollectionChain<T> {
|
|
||||||
/**
|
|
||||||
* @see _.max
|
|
||||||
*/
|
|
||||||
max(): ExpChain<T | undefined>;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* This method is like `_.max` except that it accepts `iteratee` which is
|
|
||||||
* invoked for each element in `array` to generate the criterion by which
|
|
||||||
* the value is ranked. The iteratee is invoked with one argument: (value).
|
|
||||||
*
|
|
||||||
* @category Math
|
|
||||||
* @param array The array to iterate over.
|
|
||||||
* @param iteratee The iteratee invoked per element.
|
|
||||||
* @returns Returns the maximum value.
|
|
||||||
* @example
|
|
||||||
*
|
|
||||||
* var objects = [{ 'n': 1 }, { 'n': 2 }];
|
|
||||||
*
|
|
||||||
* _.maxBy(objects, function(o) { return o.n; });
|
|
||||||
* // => { 'n': 2 }
|
|
||||||
*
|
|
||||||
* // using the `_.property` iteratee shorthand
|
|
||||||
* _.maxBy(objects, 'n');
|
|
||||||
* // => { 'n': 2 }
|
|
||||||
*/
|
|
||||||
maxBy<T>(collection: List<T> | null | undefined, iteratee?: ValueIteratee<T>): T | undefined;
|
|
||||||
}
|
|
||||||
interface Collection<T> {
|
|
||||||
/**
|
|
||||||
* @see _.maxBy
|
|
||||||
*/
|
|
||||||
maxBy(iteratee?: ValueIteratee<T>): T | undefined;
|
|
||||||
}
|
|
||||||
interface CollectionChain<T> {
|
|
||||||
/**
|
|
||||||
* @see _.maxBy
|
|
||||||
*/
|
|
||||||
maxBy(iteratee?: ValueIteratee<T>): ExpChain<T | undefined>;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* Computes the mean of the values in `array`.
|
|
||||||
*
|
|
||||||
* @category Math
|
|
||||||
* @param array The array to iterate over.
|
|
||||||
* @returns Returns the mean.
|
|
||||||
* @example
|
|
||||||
*
|
|
||||||
* _.mean([4, 2, 8, 6]);
|
|
||||||
* // => 5
|
|
||||||
*/
|
|
||||||
mean(collection: List<any> | null | undefined): number;
|
|
||||||
}
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.mean
|
|
||||||
*/
|
|
||||||
mean(): number;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.mean
|
|
||||||
*/
|
|
||||||
mean(): PrimitiveChain<number>;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* Computes the mean of the provided properties of the objects in the `array`
|
|
||||||
*
|
|
||||||
* @category Math
|
|
||||||
* @param array The array to iterate over.
|
|
||||||
* @param iteratee The iteratee invoked per element.
|
|
||||||
* @returns Returns the mean.
|
|
||||||
* @example
|
|
||||||
*
|
|
||||||
* _.mean([{ 'n': 4 }, { 'n': 2 }, { 'n': 8 }, { 'n': 6 }], 'n');
|
|
||||||
* // => 5
|
|
||||||
*/
|
|
||||||
meanBy<T>(collection: List<T> | null | undefined, iteratee?: ValueIteratee<T>): number;
|
|
||||||
}
|
|
||||||
interface Collection<T> {
|
|
||||||
/**
|
|
||||||
* @see _.meanBy
|
|
||||||
*/
|
|
||||||
meanBy(iteratee?: ValueIteratee<T>): number;
|
|
||||||
}
|
|
||||||
interface CollectionChain<T> {
|
|
||||||
/**
|
|
||||||
* @see _.meanBy
|
|
||||||
*/
|
|
||||||
meanBy(iteratee?: ValueIteratee<T>): PrimitiveChain<number>;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* Computes the minimum value of `array`. If `array` is empty or falsey
|
|
||||||
* `undefined` is returned.
|
|
||||||
*
|
|
||||||
* @category Math
|
|
||||||
* @param array The array to iterate over.
|
|
||||||
* @returns Returns the minimum value.
|
|
||||||
*/
|
|
||||||
min<T>(collection: List<T> | null | undefined): T | undefined;
|
|
||||||
}
|
|
||||||
interface Collection<T> {
|
|
||||||
/**
|
|
||||||
* @see _.min
|
|
||||||
*/
|
|
||||||
min(): T | undefined;
|
|
||||||
}
|
|
||||||
interface CollectionChain<T> {
|
|
||||||
/**
|
|
||||||
* @see _.min
|
|
||||||
*/
|
|
||||||
min(): ExpChain<T | undefined>;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* This method is like `_.min` except that it accepts `iteratee` which is
|
|
||||||
* invoked for each element in `array` to generate the criterion by which
|
|
||||||
* the value is ranked. The iteratee is invoked with one argument: (value).
|
|
||||||
*
|
|
||||||
* @category Math
|
|
||||||
* @param array The array to iterate over.
|
|
||||||
* @param iteratee The iteratee invoked per element.
|
|
||||||
* @returns Returns the minimum value.
|
|
||||||
* @example
|
|
||||||
*
|
|
||||||
* var objects = [{ 'n': 1 }, { 'n': 2 }];
|
|
||||||
*
|
|
||||||
* _.minBy(objects, function(o) { return o.a; });
|
|
||||||
* // => { 'n': 1 }
|
|
||||||
*
|
|
||||||
* // using the `_.property` iteratee shorthand
|
|
||||||
* _.minBy(objects, 'n');
|
|
||||||
* // => { 'n': 1 }
|
|
||||||
*/
|
|
||||||
minBy<T>(collection: List<T> | null | undefined, iteratee?: ValueIteratee<T>): T | undefined;
|
|
||||||
}
|
|
||||||
interface Collection<T> {
|
|
||||||
/**
|
|
||||||
* @see _.minBy
|
|
||||||
*/
|
|
||||||
minBy(iteratee?: ValueIteratee<T>): T | undefined;
|
|
||||||
}
|
|
||||||
interface CollectionChain<T> {
|
|
||||||
/**
|
|
||||||
* @see _.minBy
|
|
||||||
*/
|
|
||||||
minBy(iteratee?: ValueIteratee<T>): ExpChain<T | undefined>;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* Multiply two numbers.
|
|
||||||
* @param multiplier The first number in a multiplication.
|
|
||||||
* @param multiplicand The second number in a multiplication.
|
|
||||||
* @returns Returns the product.
|
|
||||||
*/
|
|
||||||
multiply(multiplier: number, multiplicand: number): number;
|
|
||||||
}
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.multiply
|
|
||||||
*/
|
|
||||||
multiply(multiplicand: number): number;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.multiply
|
|
||||||
*/
|
|
||||||
multiply(multiplicand: number): PrimitiveChain<number>;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* Calculates n rounded to precision.
|
|
||||||
*
|
|
||||||
* @param n The number to round.
|
|
||||||
* @param precision The precision to round to.
|
|
||||||
* @return Returns the rounded number.
|
|
||||||
*/
|
|
||||||
round(n: number, precision?: number): number;
|
|
||||||
}
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.round
|
|
||||||
*/
|
|
||||||
round(precision?: number): number;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.round
|
|
||||||
*/
|
|
||||||
round(precision?: number): PrimitiveChain<number>;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* Subtract two numbers.
|
|
||||||
*
|
|
||||||
* @category Math
|
|
||||||
* @param minuend The first number in a subtraction.
|
|
||||||
* @param subtrahend The second number in a subtraction.
|
|
||||||
* @returns Returns the difference.
|
|
||||||
* @example
|
|
||||||
*
|
|
||||||
* _.subtract(6, 4);
|
|
||||||
* // => 2
|
|
||||||
*/
|
|
||||||
subtract(minuend: number, subtrahend: number): number;
|
|
||||||
}
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.subtract
|
|
||||||
*/
|
|
||||||
subtract(subtrahend: number): number;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.subtract
|
|
||||||
*/
|
|
||||||
subtract(subtrahend: number): PrimitiveChain<number>;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* Computes the sum of the values in `array`.
|
|
||||||
*
|
|
||||||
* @category Math
|
|
||||||
* @param array The array to iterate over.
|
|
||||||
* @returns Returns the sum.
|
|
||||||
* @example
|
|
||||||
*
|
|
||||||
* _.sum([4, 2, 8, 6]);
|
|
||||||
* // => 20
|
|
||||||
*/
|
|
||||||
sum(collection: List<any> | null | undefined): number;
|
|
||||||
}
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.sum
|
|
||||||
*/
|
|
||||||
sum(): number;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.sum
|
|
||||||
*/
|
|
||||||
sum(): PrimitiveChain<number>;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* This method is like `_.sum` except that it accepts `iteratee` which is
|
|
||||||
* invoked for each element in `array` to generate the value to be summed.
|
|
||||||
* The iteratee is invoked with one argument: (value).
|
|
||||||
*
|
|
||||||
* @category Math
|
|
||||||
* @param array The array to iterate over.
|
|
||||||
* @param [iteratee=_.identity] The iteratee invoked per element.
|
|
||||||
* @returns Returns the sum.
|
|
||||||
* @example
|
|
||||||
*
|
|
||||||
* var objects = [{ 'n': 4 }, { 'n': 2 }, { 'n': 8 }, { 'n': 6 }];
|
|
||||||
*
|
|
||||||
* _.sumBy(objects, function(o) { return o.n; });
|
|
||||||
* // => 20
|
|
||||||
*
|
|
||||||
* // using the `_.property` iteratee shorthand
|
|
||||||
* _.sumBy(objects, 'n');
|
|
||||||
* // => 20
|
|
||||||
*/
|
|
||||||
sumBy<T>(collection: List<T> | null | undefined, iteratee?: ((value: T) => number) | string): number;
|
|
||||||
}
|
|
||||||
interface Collection<T> {
|
|
||||||
/**
|
|
||||||
* @see _.sumBy
|
|
||||||
*/
|
|
||||||
sumBy(iteratee?: ((value: T) => number) | string): number;
|
|
||||||
}
|
|
||||||
interface CollectionChain<T> {
|
|
||||||
/**
|
|
||||||
* @see _.sumBy
|
|
||||||
*/
|
|
||||||
sumBy(iteratee?: ((value: T) => number) | string): PrimitiveChain<number>;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
-131
@@ -1,131 +0,0 @@
|
|||||||
import _ = require("../index");
|
|
||||||
declare module "../index" {
|
|
||||||
// clamp
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* Clamps `number` within the inclusive `lower` and `upper` bounds.
|
|
||||||
*
|
|
||||||
* @category Number
|
|
||||||
* @param number The number to clamp.
|
|
||||||
* @param [lower] The lower bound.
|
|
||||||
* @param upper The upper bound.
|
|
||||||
* @returns Returns the clamped number.
|
|
||||||
* @example
|
|
||||||
*
|
|
||||||
* _.clamp(-10, -5, 5);
|
|
||||||
* // => -5
|
|
||||||
*
|
|
||||||
* _.clamp(10, -5, 5);
|
|
||||||
* // => 5
|
|
||||||
* Clamps `number` within the inclusive `lower` and `upper` bounds.
|
|
||||||
*
|
|
||||||
* @category Number
|
|
||||||
* @param number The number to clamp.
|
|
||||||
* @param [lower] The lower bound.
|
|
||||||
* @param upper The upper bound.
|
|
||||||
* @returns Returns the clamped number.
|
|
||||||
* @example
|
|
||||||
*
|
|
||||||
* _.clamp(-10, -5, 5);
|
|
||||||
* // => -5
|
|
||||||
*
|
|
||||||
* _.clamp(10, -5, 5);
|
|
||||||
*/
|
|
||||||
clamp(number: number, lower: number, upper: number): number;
|
|
||||||
/**
|
|
||||||
* @see _.clamp
|
|
||||||
*/
|
|
||||||
clamp(number: number, upper: number): number;
|
|
||||||
}
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.clamp
|
|
||||||
*/
|
|
||||||
clamp(lower: number, upper: number): number;
|
|
||||||
/**
|
|
||||||
* @see _.clamp
|
|
||||||
*/
|
|
||||||
clamp(upper: number): number;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.clamp
|
|
||||||
*/
|
|
||||||
clamp(lower: number, upper: number): PrimitiveChain<number>;
|
|
||||||
/**
|
|
||||||
* @see _.clamp
|
|
||||||
*/
|
|
||||||
clamp(upper: number): PrimitiveChain<number>;
|
|
||||||
}
|
|
||||||
// inRange
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* Checks if n is between start and up to but not including, end. If end is not specified it’s set to start
|
|
||||||
* with start then set to 0.
|
|
||||||
*
|
|
||||||
* @param n The number to check.
|
|
||||||
* @param start The start of the range.
|
|
||||||
* @param end The end of the range.
|
|
||||||
* @return Returns true if n is in the range, else false.
|
|
||||||
*/
|
|
||||||
inRange(n: number, start: number, end?: number): boolean;
|
|
||||||
}
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.inRange
|
|
||||||
*/
|
|
||||||
inRange(start: number, end?: number): boolean;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.inRange
|
|
||||||
*/
|
|
||||||
inRange(start: number, end?: number): PrimitiveChain<boolean>;
|
|
||||||
}
|
|
||||||
// random
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* Produces a random number between min and max (inclusive). If only one argument is provided a number between
|
|
||||||
* 0 and the given number is returned. If floating is true, or either min or max are floats, a floating-point
|
|
||||||
* number is returned instead of an integer.
|
|
||||||
*
|
|
||||||
* @param min The minimum possible value.
|
|
||||||
* @param max The maximum possible value.
|
|
||||||
* @param floating Specify returning a floating-point number.
|
|
||||||
* @return Returns the random number.
|
|
||||||
*/
|
|
||||||
random(floating?: boolean): number;
|
|
||||||
/**
|
|
||||||
* @see _.random
|
|
||||||
*/
|
|
||||||
random(max: number, floating?: boolean): number;
|
|
||||||
/**
|
|
||||||
* @see _.random
|
|
||||||
*/
|
|
||||||
random(min: number, max: number, floating?: boolean): number;
|
|
||||||
/**
|
|
||||||
* @see _.random
|
|
||||||
*/
|
|
||||||
random(min: number, index: string | number, guard: object): number;
|
|
||||||
}
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.random
|
|
||||||
*/
|
|
||||||
random(floating?: boolean): number;
|
|
||||||
/**
|
|
||||||
* @see _.random
|
|
||||||
*/
|
|
||||||
random(max: number, floating?: boolean): number;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.random
|
|
||||||
*/
|
|
||||||
random(floating?: boolean): PrimitiveChain<number>;
|
|
||||||
/**
|
|
||||||
* @see _.random
|
|
||||||
*/
|
|
||||||
random(max: number, floating?: boolean): PrimitiveChain<number>;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
-2580
File diff suppressed because it is too large
Load Diff
-210
@@ -1,210 +0,0 @@
|
|||||||
import _ = require("../index");
|
|
||||||
declare module "../index" {
|
|
||||||
// chain
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* Creates a lodash object that wraps value with explicit method chaining enabled.
|
|
||||||
*
|
|
||||||
* @param value The value to wrap.
|
|
||||||
* @return Returns the new lodash wrapper instance.
|
|
||||||
*/
|
|
||||||
chain<TrapAny extends { __lodashAnyHack: any }>(value: TrapAny): CollectionChain<any> & FunctionChain<any> & ObjectChain<any> & PrimitiveChain<any> & StringChain;
|
|
||||||
/**
|
|
||||||
* @see _.chain
|
|
||||||
*/
|
|
||||||
chain<T extends null | undefined>(value: T): PrimitiveChain<T>;
|
|
||||||
/**
|
|
||||||
* @see _.chain
|
|
||||||
*/
|
|
||||||
chain(value: string): StringChain;
|
|
||||||
/**
|
|
||||||
* @see _.chain
|
|
||||||
*/
|
|
||||||
chain(value: string | null | undefined): StringNullableChain;
|
|
||||||
/**
|
|
||||||
* @see _.chain
|
|
||||||
*/
|
|
||||||
chain<T extends (...args: any[]) => any>(value: T): FunctionChain<T>;
|
|
||||||
/**
|
|
||||||
* @see _.chain
|
|
||||||
*/
|
|
||||||
chain<T = any>(value: List<T> | null | undefined): CollectionChain<T>;
|
|
||||||
/**
|
|
||||||
* @see _.chain
|
|
||||||
*/
|
|
||||||
chain<T extends object>(value: T | null | undefined): ObjectChain<T>;
|
|
||||||
/**
|
|
||||||
* @see _.chain
|
|
||||||
*/
|
|
||||||
chain<T>(value: T): PrimitiveChain<T>;
|
|
||||||
}
|
|
||||||
interface Collection<T> {
|
|
||||||
/**
|
|
||||||
* @see _.chain
|
|
||||||
*/
|
|
||||||
chain(): CollectionChain<T>;
|
|
||||||
}
|
|
||||||
interface String {
|
|
||||||
/**
|
|
||||||
* @see _.chain
|
|
||||||
*/
|
|
||||||
chain(): StringChain;
|
|
||||||
}
|
|
||||||
interface Object<T> {
|
|
||||||
/**
|
|
||||||
* @see _.chain
|
|
||||||
*/
|
|
||||||
chain(): ObjectChain<T>;
|
|
||||||
}
|
|
||||||
interface Primitive<T> {
|
|
||||||
/**
|
|
||||||
* @see _.chain
|
|
||||||
*/
|
|
||||||
chain(): PrimitiveChain<T>;
|
|
||||||
}
|
|
||||||
interface Function<T extends (...args: any) => any> {
|
|
||||||
/**
|
|
||||||
* @see _.chain
|
|
||||||
*/
|
|
||||||
chain(): FunctionChain<T>;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.chain
|
|
||||||
*/
|
|
||||||
chain(): this;
|
|
||||||
}
|
|
||||||
// prototype.commit
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.commit
|
|
||||||
*/
|
|
||||||
commit(): this;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.commit
|
|
||||||
*/
|
|
||||||
commit(): this;
|
|
||||||
}
|
|
||||||
// prototype.plant
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.plant
|
|
||||||
*/
|
|
||||||
plant(value: unknown): this;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.plant
|
|
||||||
*/
|
|
||||||
plant(value: unknown): this;
|
|
||||||
}
|
|
||||||
// prototype.reverse
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.reverse
|
|
||||||
*/
|
|
||||||
reverse(): this;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.reverse
|
|
||||||
*/
|
|
||||||
reverse(): this;
|
|
||||||
}
|
|
||||||
// prototype.toJSON
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.toJSON
|
|
||||||
*/
|
|
||||||
toJSON(): TValue;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.toJSON
|
|
||||||
*/
|
|
||||||
toJSON(): TValue;
|
|
||||||
}
|
|
||||||
// prototype.toString
|
|
||||||
interface LoDashWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.toString
|
|
||||||
*/
|
|
||||||
toString(): string;
|
|
||||||
}
|
|
||||||
// prototype.value
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.value
|
|
||||||
*/
|
|
||||||
value(): TValue;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.value
|
|
||||||
*/
|
|
||||||
value(): TValue;
|
|
||||||
}
|
|
||||||
// prototype.valueOf
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.valueOf
|
|
||||||
*/
|
|
||||||
valueOf(): TValue;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.valueOf
|
|
||||||
*/
|
|
||||||
valueOf(): TValue;
|
|
||||||
}
|
|
||||||
// tap
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* This method invokes interceptor and returns value. The interceptor is invoked with one
|
|
||||||
* argument; (value). The purpose of this method is to "tap into" a method chain in order to perform operations
|
|
||||||
* on intermediate results within the chain.
|
|
||||||
*
|
|
||||||
* @param value The value to provide to interceptor.
|
|
||||||
* @param interceptor The function to invoke.
|
|
||||||
* @return Returns value.
|
|
||||||
*/
|
|
||||||
tap<T>(value: T, interceptor: (value: T) => void): T;
|
|
||||||
}
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.tap
|
|
||||||
*/
|
|
||||||
tap(interceptor: (value: TValue) => void): this;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.tap
|
|
||||||
*/
|
|
||||||
tap(interceptor: (value: TValue) => void): this;
|
|
||||||
}
|
|
||||||
// thru
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* This method is like _.tap except that it returns the result of interceptor.
|
|
||||||
*
|
|
||||||
* @param value The value to provide to interceptor.
|
|
||||||
* @param interceptor The function to invoke.
|
|
||||||
* @return Returns the result of interceptor.
|
|
||||||
*/
|
|
||||||
thru<T, TResult>(value: T, interceptor: (value: T) => TResult): TResult;
|
|
||||||
}
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.thru
|
|
||||||
*/
|
|
||||||
thru<TResult>(interceptor: (value: TValue) => TResult): ImpChain<TResult>;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.thru
|
|
||||||
*/
|
|
||||||
thru<TResult>(interceptor: (value: TValue) => TResult): ExpChain<TResult>;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
-788
@@ -1,788 +0,0 @@
|
|||||||
import _ = require("../index");
|
|
||||||
declare module "../index" {
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* Converts string to camel case.
|
|
||||||
*
|
|
||||||
* @param string The string to convert.
|
|
||||||
* @return Returns the camel cased string.
|
|
||||||
*/
|
|
||||||
camelCase(string?: string): string;
|
|
||||||
}
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.camelCase
|
|
||||||
*/
|
|
||||||
camelCase(): string;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.camelCase
|
|
||||||
*/
|
|
||||||
camelCase(): StringChain;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* Converts the first character of string to upper case and the remaining to lower case.
|
|
||||||
*
|
|
||||||
* @param string The string to capitalize.
|
|
||||||
* @return Returns the capitalized string.
|
|
||||||
*/
|
|
||||||
capitalize(string?: string): string;
|
|
||||||
}
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.capitalize
|
|
||||||
*/
|
|
||||||
capitalize(): string;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.capitalize
|
|
||||||
*/
|
|
||||||
capitalize(): StringChain;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* Deburrs string by converting latin-1 supplementary letters to basic latin letters and removing combining
|
|
||||||
* diacritical marks.
|
|
||||||
*
|
|
||||||
* @param string The string to deburr.
|
|
||||||
* @return Returns the deburred string.
|
|
||||||
*/
|
|
||||||
deburr(string?: string): string;
|
|
||||||
}
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.deburr
|
|
||||||
*/
|
|
||||||
deburr(): string;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.deburr
|
|
||||||
*/
|
|
||||||
deburr(): StringChain;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* Checks if string ends with the given target string.
|
|
||||||
*
|
|
||||||
* @param string The string to search.
|
|
||||||
* @param target The string to search for.
|
|
||||||
* @param position The position to search from.
|
|
||||||
* @return Returns true if string ends with target, else false.
|
|
||||||
*/
|
|
||||||
endsWith(string?: string, target?: string, position?: number): boolean;
|
|
||||||
}
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.endsWith
|
|
||||||
*/
|
|
||||||
endsWith(target?: string, position?: number): boolean;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.endsWith
|
|
||||||
*/
|
|
||||||
endsWith(target?: string, position?: number): PrimitiveChain<boolean>;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* Converts the characters "&", "<", ">", '"', "'", and "`" in string to their corresponding HTML entities.
|
|
||||||
*
|
|
||||||
* Note: No other characters are escaped. To escape additional characters use a third-party library like he.
|
|
||||||
*
|
|
||||||
* hough the ">" character is escaped for symmetry, characters like ">" and "/" don’t need escaping in HTML
|
|
||||||
* and have no special meaning unless they're part of a tag or unquoted attribute value. See Mathias Bynens’s
|
|
||||||
* article (under "semi-related fun fact") for more details.
|
|
||||||
*
|
|
||||||
* Backticks are escaped because in IE < 9, they can break out of attribute values or HTML comments. See #59,
|
|
||||||
* #102, #108, and #133 of the HTML5 Security Cheatsheet for more details.
|
|
||||||
*
|
|
||||||
* When working with HTML you should always quote attribute values to reduce XSS vectors.
|
|
||||||
*
|
|
||||||
* @param string The string to escape.
|
|
||||||
* @return Returns the escaped string.
|
|
||||||
*/
|
|
||||||
escape(string?: string): string;
|
|
||||||
}
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.escape
|
|
||||||
*/
|
|
||||||
escape(): string;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.escape
|
|
||||||
*/
|
|
||||||
escape(): StringChain;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* Escapes the RegExp special characters "^", "$", "\", ".", "*", "+", "?", "(", ")", "[", "]",
|
|
||||||
* "{", "}", and "|" in string.
|
|
||||||
*
|
|
||||||
* @param string The string to escape.
|
|
||||||
* @return Returns the escaped string.
|
|
||||||
*/
|
|
||||||
escapeRegExp(string?: string): string;
|
|
||||||
}
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.escapeRegExp
|
|
||||||
*/
|
|
||||||
escapeRegExp(): string;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.escapeRegExp
|
|
||||||
*/
|
|
||||||
escapeRegExp(): StringChain;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* Converts string to kebab case.
|
|
||||||
*
|
|
||||||
* @param string The string to convert.
|
|
||||||
* @return Returns the kebab cased string.
|
|
||||||
*/
|
|
||||||
kebabCase(string?: string): string;
|
|
||||||
}
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.kebabCase
|
|
||||||
*/
|
|
||||||
kebabCase(): string;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.kebabCase
|
|
||||||
*/
|
|
||||||
kebabCase(): StringChain;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* Converts `string`, as space separated words, to lower case.
|
|
||||||
*
|
|
||||||
* @param string The string to convert.
|
|
||||||
* @return Returns the lower cased string.
|
|
||||||
*/
|
|
||||||
lowerCase(string?: string): string;
|
|
||||||
}
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.lowerCase
|
|
||||||
*/
|
|
||||||
lowerCase(): string;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.lowerCase
|
|
||||||
*/
|
|
||||||
lowerCase(): StringChain;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* Converts the first character of `string` to lower case.
|
|
||||||
*
|
|
||||||
* @param string The string to convert.
|
|
||||||
* @return Returns the converted string.
|
|
||||||
*/
|
|
||||||
lowerFirst(string?: string): string;
|
|
||||||
}
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.lowerFirst
|
|
||||||
*/
|
|
||||||
lowerFirst(): string;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.lowerFirst
|
|
||||||
*/
|
|
||||||
lowerFirst(): StringChain;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* Pads string on the left and right sides if it’s shorter than length. Padding characters are truncated if
|
|
||||||
* they can’t be evenly divided by length.
|
|
||||||
*
|
|
||||||
* @param string The string to pad.
|
|
||||||
* @param length The padding length.
|
|
||||||
* @param chars The string used as padding.
|
|
||||||
* @return Returns the padded string.
|
|
||||||
*/
|
|
||||||
pad(string?: string, length?: number, chars?: string): string;
|
|
||||||
}
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.pad
|
|
||||||
*/
|
|
||||||
pad(length?: number, chars?: string): string;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.pad
|
|
||||||
*/
|
|
||||||
pad(length?: number, chars?: string): StringChain;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* Pads string on the right side if it’s shorter than length. Padding characters are truncated if they exceed
|
|
||||||
* length.
|
|
||||||
*
|
|
||||||
* @param string The string to pad.
|
|
||||||
* @param length The padding length.
|
|
||||||
* @param chars The string used as padding.
|
|
||||||
* @return Returns the padded string.
|
|
||||||
*/
|
|
||||||
padEnd(string?: string, length?: number, chars?: string): string;
|
|
||||||
}
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.padEnd
|
|
||||||
*/
|
|
||||||
padEnd(length?: number, chars?: string): string;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.padEnd
|
|
||||||
*/
|
|
||||||
padEnd(length?: number, chars?: string): StringChain;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* Pads string on the left side if it’s shorter than length. Padding characters are truncated if they exceed
|
|
||||||
* length.
|
|
||||||
*
|
|
||||||
* @param string The string to pad.
|
|
||||||
* @param length The padding length.
|
|
||||||
* @param chars The string used as padding.
|
|
||||||
* @return Returns the padded string.
|
|
||||||
*/
|
|
||||||
padStart(string?: string, length?: number, chars?: string): string;
|
|
||||||
}
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.padStart
|
|
||||||
*/
|
|
||||||
padStart(length?: number, chars?: string): string;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.padStart
|
|
||||||
*/
|
|
||||||
padStart(length?: number, chars?: string): StringChain;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* Converts string to an integer of the specified radix. If radix is undefined or 0, a radix of 10 is used
|
|
||||||
* unless value is a hexadecimal, in which case a radix of 16 is used.
|
|
||||||
*
|
|
||||||
* Note: This method aligns with the ES5 implementation of parseInt.
|
|
||||||
*
|
|
||||||
* @param string The string to convert.
|
|
||||||
* @param radix The radix to interpret value by.
|
|
||||||
* @return Returns the converted integer.
|
|
||||||
*/
|
|
||||||
parseInt(string: string, radix?: number): number;
|
|
||||||
}
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.parseInt
|
|
||||||
*/
|
|
||||||
parseInt(radix?: number): number;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.parseInt
|
|
||||||
*/
|
|
||||||
parseInt(radix?: number): PrimitiveChain<number>;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* Repeats the given string n times.
|
|
||||||
*
|
|
||||||
* @param string The string to repeat.
|
|
||||||
* @param n The number of times to repeat the string.
|
|
||||||
* @return Returns the repeated string.
|
|
||||||
*/
|
|
||||||
repeat(string?: string, n?: number): string;
|
|
||||||
}
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.repeat
|
|
||||||
*/
|
|
||||||
repeat(n?: number): string;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.repeat
|
|
||||||
*/
|
|
||||||
repeat(n?: number): StringChain;
|
|
||||||
}
|
|
||||||
type ReplaceFunction = (match: string, ...args: any[]) => string;
|
|
||||||
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* Replaces matches for pattern in string with replacement.
|
|
||||||
*
|
|
||||||
* Note: This method is based on String#replace.
|
|
||||||
*
|
|
||||||
* @return Returns the modified string.
|
|
||||||
*/
|
|
||||||
replace(string: string, pattern: RegExp | string, replacement: ReplaceFunction | string): string;
|
|
||||||
/**
|
|
||||||
* @see _.replace
|
|
||||||
*/
|
|
||||||
replace(pattern: RegExp | string, replacement: ReplaceFunction | string): string;
|
|
||||||
}
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.replace
|
|
||||||
*/
|
|
||||||
replace(pattern: RegExp | string, replacement: ReplaceFunction | string): string;
|
|
||||||
/**
|
|
||||||
* @see _.replace
|
|
||||||
*/
|
|
||||||
replace(replacement: ReplaceFunction | string): string;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.replace
|
|
||||||
*/
|
|
||||||
replace(pattern: RegExp | string, replacement: ReplaceFunction | string): StringChain;
|
|
||||||
/**
|
|
||||||
* @see _.replace
|
|
||||||
*/
|
|
||||||
replace(replacement: ReplaceFunction | string): StringChain;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* Converts string to snake case.
|
|
||||||
*
|
|
||||||
* @param string The string to convert.
|
|
||||||
* @return Returns the snake cased string.
|
|
||||||
*/
|
|
||||||
snakeCase(string?: string): string;
|
|
||||||
}
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.snakeCase
|
|
||||||
*/
|
|
||||||
snakeCase(): string;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.snakeCase
|
|
||||||
*/
|
|
||||||
snakeCase(): StringChain;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* Splits string by separator.
|
|
||||||
*
|
|
||||||
* Note: This method is based on String#split.
|
|
||||||
*
|
|
||||||
* @param string The string to split.
|
|
||||||
* @param separator The separator pattern to split by.
|
|
||||||
* @param limit The length to truncate results to.
|
|
||||||
* @return Returns the new array of string segments.
|
|
||||||
*/
|
|
||||||
split(string: string | null | undefined, separator?: RegExp | string, limit?: number): string[];
|
|
||||||
/**
|
|
||||||
* @see _.split
|
|
||||||
*/
|
|
||||||
split(string: string | null | undefined, index: string | number, guard: object): string[];
|
|
||||||
}
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.split
|
|
||||||
*/
|
|
||||||
split(separator?: RegExp | string, limit?: number): Collection<string>;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.split
|
|
||||||
*/
|
|
||||||
split(separator?: RegExp | string, limit?: number): CollectionChain<string>;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* Converts string to start case.
|
|
||||||
*
|
|
||||||
* @param string The string to convert.
|
|
||||||
* @return Returns the start cased string.
|
|
||||||
*/
|
|
||||||
startCase(string?: string): string;
|
|
||||||
}
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.startCase
|
|
||||||
*/
|
|
||||||
startCase(): string;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.startCase
|
|
||||||
*/
|
|
||||||
startCase(): StringChain;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* Checks if string starts with the given target string.
|
|
||||||
*
|
|
||||||
* @param string The string to search.
|
|
||||||
* @param target The string to search for.
|
|
||||||
* @param position The position to search from.
|
|
||||||
* @return Returns true if string starts with target, else false.
|
|
||||||
*/
|
|
||||||
startsWith(string?: string, target?: string, position?: number): boolean;
|
|
||||||
}
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.startsWith
|
|
||||||
*/
|
|
||||||
startsWith(target?: string, position?: number): boolean;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.startsWith
|
|
||||||
*/
|
|
||||||
startsWith(target?: string, position?: number): PrimitiveChain<boolean>;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface TemplateOptions extends TemplateSettings {
|
|
||||||
/**
|
|
||||||
* @see _.sourceURL
|
|
||||||
*/
|
|
||||||
sourceURL?: string | undefined;
|
|
||||||
}
|
|
||||||
interface TemplateExecutor {
|
|
||||||
(data?: object): string;
|
|
||||||
/**
|
|
||||||
* @see _.source
|
|
||||||
*/
|
|
||||||
source: string;
|
|
||||||
}
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* Creates a compiled template function that can interpolate data properties in "interpolate" delimiters,
|
|
||||||
* HTML-escape interpolated data properties in "escape" delimiters, and execute JavaScript in "evaluate"
|
|
||||||
* delimiters. Data properties may be accessed as free variables in the template. If a setting object is
|
|
||||||
* provided it takes precedence over _.templateSettings values.
|
|
||||||
*
|
|
||||||
* Note: In the development build _.template utilizes
|
|
||||||
* [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl) for easier
|
|
||||||
* debugging.
|
|
||||||
*
|
|
||||||
* For more information on precompiling templates see
|
|
||||||
* [lodash's custom builds documentation](https://lodash.com/custom-builds).
|
|
||||||
*
|
|
||||||
* For more information on Chrome extension sandboxes see
|
|
||||||
* [Chrome's extensions documentation](https://developer.chrome.com/extensions/sandboxingEval).
|
|
||||||
*
|
|
||||||
* @param string The template string.
|
|
||||||
* @param options The options object.
|
|
||||||
* @param options.escape The HTML "escape" delimiter.
|
|
||||||
* @param options.evaluate The "evaluate" delimiter.
|
|
||||||
* @param options.imports An object to import into the template as free variables.
|
|
||||||
* @param options.interpolate The "interpolate" delimiter.
|
|
||||||
* @param options.sourceURL The sourceURL of the template's compiled source.
|
|
||||||
* @param options.variable The data object variable name.
|
|
||||||
* @return Returns the compiled template function.
|
|
||||||
*/
|
|
||||||
template(string?: string, options?: TemplateOptions): TemplateExecutor;
|
|
||||||
}
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.template
|
|
||||||
*/
|
|
||||||
template(options?: TemplateOptions): TemplateExecutor;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.template
|
|
||||||
*/
|
|
||||||
template(options?: TemplateOptions): FunctionChain<TemplateExecutor>;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* Converts `string`, as a whole, to lower case.
|
|
||||||
*
|
|
||||||
* @param string The string to convert.
|
|
||||||
* @return Returns the lower cased string.
|
|
||||||
*/
|
|
||||||
toLower(string?: string): string;
|
|
||||||
}
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.toLower
|
|
||||||
*/
|
|
||||||
toLower(): string;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.toLower
|
|
||||||
*/
|
|
||||||
toLower(): StringChain;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* Converts `string`, as a whole, to upper case.
|
|
||||||
*
|
|
||||||
* @param string The string to convert.
|
|
||||||
* @return Returns the upper cased string.
|
|
||||||
*/
|
|
||||||
toUpper(string?: string): string;
|
|
||||||
}
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.toUpper
|
|
||||||
*/
|
|
||||||
toUpper(): string;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.toUpper
|
|
||||||
*/
|
|
||||||
toUpper(): StringChain;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* Removes leading and trailing whitespace or specified characters from string.
|
|
||||||
*
|
|
||||||
* @param string The string to trim.
|
|
||||||
* @param chars The characters to trim.
|
|
||||||
* @return Returns the trimmed string.
|
|
||||||
*/
|
|
||||||
trim(string?: string, chars?: string): string;
|
|
||||||
/**
|
|
||||||
* @see _.trim
|
|
||||||
*/
|
|
||||||
trim(string: string, index: string | number, guard: object): string;
|
|
||||||
}
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.trim
|
|
||||||
*/
|
|
||||||
trim(chars?: string): string;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.trim
|
|
||||||
*/
|
|
||||||
trim(chars?: string): StringChain;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* Removes trailing whitespace or specified characters from string.
|
|
||||||
*
|
|
||||||
* @param string The string to trim.
|
|
||||||
* @param chars The characters to trim.
|
|
||||||
* @return Returns the trimmed string.
|
|
||||||
*/
|
|
||||||
trimEnd(string?: string, chars?: string): string;
|
|
||||||
/**
|
|
||||||
* @see _.trimEnd
|
|
||||||
*/
|
|
||||||
trimEnd(string: string, index: string | number, guard: object): string;
|
|
||||||
}
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.trimEnd
|
|
||||||
*/
|
|
||||||
trimEnd(chars?: string): string;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.trimEnd
|
|
||||||
*/
|
|
||||||
trimEnd(chars?: string): StringChain;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* Removes leading whitespace or specified characters from string.
|
|
||||||
*
|
|
||||||
* @param string The string to trim.
|
|
||||||
* @param chars The characters to trim.
|
|
||||||
* @return Returns the trimmed string.
|
|
||||||
*/
|
|
||||||
trimStart(string?: string, chars?: string): string;
|
|
||||||
/**
|
|
||||||
* @see _.trimStart
|
|
||||||
*/
|
|
||||||
trimStart(string: string, index: string | number, guard: object): string;
|
|
||||||
}
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.trimStart
|
|
||||||
*/
|
|
||||||
trimStart(chars?: string): string;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.trimStart
|
|
||||||
*/
|
|
||||||
trimStart(chars?: string): StringChain;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface TruncateOptions {
|
|
||||||
/**
|
|
||||||
* @see _.length
|
|
||||||
*/
|
|
||||||
length?: number | undefined;
|
|
||||||
/**
|
|
||||||
* @see _.omission
|
|
||||||
*/
|
|
||||||
omission?: string | undefined;
|
|
||||||
/**
|
|
||||||
* @see _.separator
|
|
||||||
*/
|
|
||||||
separator?: string | RegExp | undefined;
|
|
||||||
}
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* Truncates string if it’s longer than the given maximum string length. The last characters of the truncated
|
|
||||||
* string are replaced with the omission string which defaults to "…".
|
|
||||||
*
|
|
||||||
* @param string The string to truncate.
|
|
||||||
* @param options The options object or maximum string length.
|
|
||||||
* @return Returns the truncated string.
|
|
||||||
*/
|
|
||||||
truncate(string?: string, options?: TruncateOptions): string;
|
|
||||||
}
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.truncate
|
|
||||||
*/
|
|
||||||
truncate(options?: TruncateOptions): string;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.truncate
|
|
||||||
*/
|
|
||||||
truncate(options?: TruncateOptions): StringChain;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* The inverse of _.escape; this method converts the HTML entities &, <, >, ", ', and `
|
|
||||||
* in string to their corresponding characters.
|
|
||||||
*
|
|
||||||
* Note: No other HTML entities are unescaped. To unescape additional HTML entities use a third-party library
|
|
||||||
* like he.
|
|
||||||
*
|
|
||||||
* @param string The string to unescape.
|
|
||||||
* @return Returns the unescaped string.
|
|
||||||
*/
|
|
||||||
unescape(string?: string): string;
|
|
||||||
}
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.unescape
|
|
||||||
*/
|
|
||||||
unescape(): string;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.unescape
|
|
||||||
*/
|
|
||||||
unescape(): StringChain;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* Converts `string`, as space separated words, to upper case.
|
|
||||||
*
|
|
||||||
* @param string The string to convert.
|
|
||||||
* @return Returns the upper cased string.
|
|
||||||
*/
|
|
||||||
upperCase(string?: string): string;
|
|
||||||
}
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.upperCase
|
|
||||||
*/
|
|
||||||
upperCase(): string;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.upperCase
|
|
||||||
*/
|
|
||||||
upperCase(): StringChain;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* Converts the first character of `string` to upper case.
|
|
||||||
*
|
|
||||||
* @param string The string to convert.
|
|
||||||
* @return Returns the converted string.
|
|
||||||
*/
|
|
||||||
upperFirst(string?: string): string;
|
|
||||||
}
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.upperFirst
|
|
||||||
*/
|
|
||||||
upperFirst(): string;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.upperFirst
|
|
||||||
*/
|
|
||||||
upperFirst(): StringChain;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface LoDashStatic {
|
|
||||||
/**
|
|
||||||
* Splits `string` into an array of its words.
|
|
||||||
*
|
|
||||||
* @param string The string to inspect.
|
|
||||||
* @param pattern The pattern to match words.
|
|
||||||
* @return Returns the words of `string`.
|
|
||||||
*/
|
|
||||||
words(string?: string, pattern?: string | RegExp): string[];
|
|
||||||
/**
|
|
||||||
* @see _.words
|
|
||||||
*/
|
|
||||||
words(string: string, index: string | number, guard: object): string[];
|
|
||||||
}
|
|
||||||
interface LoDashImplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.words
|
|
||||||
*/
|
|
||||||
words(pattern?: string | RegExp): Collection<string>;
|
|
||||||
}
|
|
||||||
interface LoDashExplicitWrapper<TValue> {
|
|
||||||
/**
|
|
||||||
* @see _.words
|
|
||||||
*/
|
|
||||||
words(pattern?: string | RegExp): CollectionChain<string>;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
-1220
File diff suppressed because it is too large
Load Diff
-2
@@ -1,2 +0,0 @@
|
|||||||
import { compact } from "./index";
|
|
||||||
export = compact;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { concat } from "./index";
|
|
||||||
export = concat;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { cond } from "./index";
|
|
||||||
export = cond;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { conformsTo } from "./index";
|
|
||||||
export = conformsTo;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { constant } from "./index";
|
|
||||||
export = constant;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { countBy } from "./index";
|
|
||||||
export = countBy;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { create } from "./index";
|
|
||||||
export = create;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { curry } from "./index";
|
|
||||||
export = curry;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { curryRight } from "./index";
|
|
||||||
export = curryRight;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { debounce } from "./index";
|
|
||||||
export = debounce;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { deburr } from "./index";
|
|
||||||
export = deburr;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { defaultTo } from "./index";
|
|
||||||
export = defaultTo;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { defaults } from "./index";
|
|
||||||
export = defaults;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { defaultsDeep } from "./index";
|
|
||||||
export = defaultsDeep;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { defer } from "./index";
|
|
||||||
export = defer;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { delay } from "./index";
|
|
||||||
export = delay;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { difference } from "./index";
|
|
||||||
export = difference;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { differenceBy } from "./index";
|
|
||||||
export = differenceBy;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { differenceWith } from "./index";
|
|
||||||
export = differenceWith;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { divide } from "./index";
|
|
||||||
export = divide;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { drop } from "./index";
|
|
||||||
export = drop;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { dropRight } from "./index";
|
|
||||||
export = dropRight;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { dropRightWhile } from "./index";
|
|
||||||
export = dropRightWhile;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { dropWhile } from "./index";
|
|
||||||
export = dropWhile;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { each } from "./index";
|
|
||||||
export = each;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { eachRight } from "./index";
|
|
||||||
export = eachRight;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { endsWith } from "./index";
|
|
||||||
export = endsWith;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { entries } from "./index";
|
|
||||||
export = entries;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { entriesIn } from "./index";
|
|
||||||
export = entriesIn;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { eq } from "./index";
|
|
||||||
export = eq;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { escape } from "./index";
|
|
||||||
export = escape;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { escapeRegExp } from "./index";
|
|
||||||
export = escapeRegExp;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { every } from "./index";
|
|
||||||
export = every;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { extend } from "./index";
|
|
||||||
export = extend;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { extendWith } from "./index";
|
|
||||||
export = extendWith;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { fill } from "./index";
|
|
||||||
export = fill;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { filter } from "./index";
|
|
||||||
export = filter;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { find } from "./index";
|
|
||||||
export = find;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { findIndex } from "./index";
|
|
||||||
export = findIndex;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { findKey } from "./index";
|
|
||||||
export = findKey;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { findLast } from "./index";
|
|
||||||
export = findLast;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { findLastIndex } from "./index";
|
|
||||||
export = findLastIndex;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { findLastKey } from "./index";
|
|
||||||
export = findLastKey;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { first } from "./index";
|
|
||||||
export = first;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { flatMap } from "./index";
|
|
||||||
export = flatMap;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { flatMapDeep } from "./index";
|
|
||||||
export = flatMapDeep;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { flatMapDepth } from "./index";
|
|
||||||
export = flatMapDepth;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { flatten } from "./index";
|
|
||||||
export = flatten;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { flattenDeep } from "./index";
|
|
||||||
export = flattenDeep;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { flattenDepth } from "./index";
|
|
||||||
export = flattenDepth;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { flip } from "./index";
|
|
||||||
export = flip;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { floor } from "./index";
|
|
||||||
export = floor;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { flow } from "./index";
|
|
||||||
export = flow;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { flowRight } from "./index";
|
|
||||||
export = flowRight;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { forEach } from "./index";
|
|
||||||
export = forEach;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { forEachRight } from "./index";
|
|
||||||
export = forEachRight;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { forIn } from "./index";
|
|
||||||
export = forIn;
|
|
||||||
-2
@@ -1,2 +0,0 @@
|
|||||||
import { forInRight } from "./index";
|
|
||||||
export = forInRight;
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user