Commit Graph

6 Commits

Author SHA1 Message Date
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
Scott
a96d185882 Types/lodash -- update with new functions (#18738)
* feat(lodash): update types and list of lodash functions

* fix: add missing typings for flatMapDepth

* test(lodash): update test with newly added function

Note: pullAllWith is not included

* fix: add missing entries in tsconfig.json

* feat: add and generate new modules

* fix(lodash): improve typings

* fix: update with latest flatMap types

* fix(lodash): remove redundant types for updateWith method

* fix(lodash): improve types of flatMapDeep and flatMapDepth and tests

replace Many with ListOfRecursiveArraysOrValues
2017-09-25 13:55:37 -07:00
Andy
49a86971ef Use lodash/scripts/generate-modules.ts to generate lodash-es too (#18751) 2017-08-08 14:06:51 -07:00
Andy
bbc61fbf93 Extend "dtslint/dt.json" directly instead of "../tslint.json". (#15822)
* Extend "dtslint/dt.json" directly instead of "../tslint.json".

* Convert more "../tslint.json" to "dtslint/dt.json"

* no-redundant-modifiers -> strict-export-declare-modifiers
2017-04-14 08:04:05 -07:00
Andy
efecc1d637 lodash: Apply new lint rules (#15491) 2017-03-29 15:41:22 -07:00
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00