DefinitelyTyped/types/lodash-es/math.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

35 lines
837 B
TypeScript

import add from "./add";
import ceil from "./ceil";
import divide from "./divide";
import floor from "./floor";
import max from "./max";
import maxBy from "./maxBy";
import mean from "./mean";
import meanBy from "./meanBy";
import min from "./min";
import minBy from "./minBy";
import multiply from "./multiply";
import round from "./round";
import subtract from "./subtract";
import sum from "./sum";
import sumBy from "./sumBy";
declare const defaultExport: {
add: typeof add;
ceil: typeof ceil;
divide: typeof divide;
floor: typeof floor;
max: typeof max;
maxBy: typeof maxBy;
mean: typeof mean;
meanBy: typeof meanBy;
min: typeof min;
minBy: typeof minBy;
multiply: typeof multiply;
round: typeof round;
subtract: typeof subtract;
sum: typeof sum;
sumBy: typeof sumBy;
};
export default defaultExport;