DefinitelyTyped/types/lodash-es/collection.default.d.ts
Scott a65d75a7cd Types/lodash-es auto-gen typings (#18725)
* chore(generation): add script to generate typings automatically

* docs: add a readme.md to state unfinished types

* fix: improve generation and tsconfig files

* chore(generate): add prettier to format generated code

* feat(lodash-es): generate files and remove codes

1. noconflict and runincontext aren't inside lodash-es
2. seq-like function are removed temporarily. see readme.md

* feat(lodash): add a bash script to generate all modules

and remove lodash-es related code in lodash/scripts

* fix(lodash-es): apply the new approach to declare types

for default export constraints in typescript v2.6
see
https://github.com/Microsoft/TypeScript/wiki/Breaking-Changes#arbitrary-expressions-are-forbidden-in-export-assignments-in-ambient-contexts
2017-10-23 12:57:17 -07:00

61 lines
1.7 KiB
TypeScript

import countBy from "./countBy";
import each from "./each";
import eachRight from "./eachRight";
import every from "./every";
import filter from "./filter";
import find from "./find";
import findLast from "./findLast";
import flatMap from "./flatMap";
import flatMapDeep from "./flatMapDeep";
import flatMapDepth from "./flatMapDepth";
import forEach from "./forEach";
import forEachRight from "./forEachRight";
import groupBy from "./groupBy";
import includes from "./includes";
import invokeMap from "./invokeMap";
import keyBy from "./keyBy";
import map from "./map";
import orderBy from "./orderBy";
import partition from "./partition";
import reduce from "./reduce";
import reduceRight from "./reduceRight";
import reject from "./reject";
import sample from "./sample";
import sampleSize from "./sampleSize";
import shuffle from "./shuffle";
import size from "./size";
import some from "./some";
import sortBy from "./sortBy";
declare const defaultExport: {
countBy: typeof countBy;
each: typeof each;
eachRight: typeof eachRight;
every: typeof every;
filter: typeof filter;
find: typeof find;
findLast: typeof findLast;
flatMap: typeof flatMap;
flatMapDeep: typeof flatMapDeep;
flatMapDepth: typeof flatMapDepth;
forEach: typeof forEach;
forEachRight: typeof forEachRight;
groupBy: typeof groupBy;
includes: typeof includes;
invokeMap: typeof invokeMap;
keyBy: typeof keyBy;
map: typeof map;
orderBy: typeof orderBy;
partition: typeof partition;
reduce: typeof reduce;
reduceRight: typeof reduceRight;
reject: typeof reject;
sample: typeof sample;
sampleSize: typeof sampleSize;
shuffle: typeof shuffle;
size: typeof size;
some: typeof some;
sortBy: typeof sortBy;
};
export default defaultExport;