mmkal
3d3e779a32
feat: use typescript type indexing to make find* functions more helpful.
...
This turns WhereOptions and FindOptions into generic types, which can then check that you are using the correct column names, in the find* functions (findOne, findAll etc.). In other places where there is no attributes type available, fall back to the old behaviour of allowing any field names (now with types named AnyWhereOptions and AnyFindOptions).
This allows typescript to catch more errors, e.g.
User.findOne({ where: { firstName: 'Bob' } });
vs.
User.findOne({ where: { first_name: 'Bob' } });
2017-07-01 14:15:26 -04:00
Ron Buckton
53f76e9bf6
Merge pull request #17672 from kimushu/accept-promiselike
...
Accept PromiseLike object as a return value of onFinally handler (@types/promise.prototype.finally)
2017-06-30 23:44:10 -07:00
Eloy Durán
f708f5ef62
Merge pull request #17673 from ed-bassett/patch-1
...
Fix react-native EasingStatic interface, elastic should be a function
2017-07-01 08:05:59 +02:00
Ed Bassett
acfeaa6869
Fix Easing interface, elastic should be a function
...
As described in the docs, `elastic` should take a value representing the bounciness of the easing function:
https://facebook.github.io/react-native/docs/easing.html
2017-07-01 15:25:52 +10:00
kimu_shu
fb96955d50
Add tslint.json and fix lint errors
2017-07-01 12:34:00 +09:00
kimu_shu
df59d9f5b9
Accept PromiseLike object
2017-07-01 12:23:19 +09:00
Eloy Durán
50b82ce053
Merge pull request #17622 from newyankeecodeshop/fix-style-type
...
[react-native] Support arrays in view style props.
2017-06-30 23:57:11 +02:00
Andy
1773771f09
qiniu: asOfVersion must be greater than last published version ( #17667 )
2017-06-30 14:50:21 -07:00
Leonard Thieu
862cccebb3
Increase nProcesses from 4 to 8. ( #17656 )
2017-06-30 07:32:54 -07:00
Paul van Brenk
00222e6b0a
Merge pull request #17535 from blakeembrey/knex-raw
...
[knex] Allow `Raw` for index creation
2017-06-29 14:25:49 -07:00
Paul van Brenk
c92a385a60
Merge pull request #17627 from jgainfort/fix/hls.js
...
Fix hls.js
2017-06-29 14:08:08 -07:00
Paul van Brenk
083b0eb313
Merge pull request #17556 from DefinitelyTyped/fix-ramda-for-ts-2.4
...
Fix Ramda for 2.4: evolve and functor map
2017-06-29 14:06:24 -07:00
Paul van Brenk
9d14bb9b33
Merge pull request #17539 from wagich/patch-1
...
Adds definitions for localization functionality to flatpickr
2017-06-29 14:05:02 -07:00
Paul van Brenk
e597432712
Merge pull request #17524 from aalenliang/master
...
change interface of i18next as v8.4.2
2017-06-29 14:03:51 -07:00
Paul van Brenk
a24da5987a
Merge pull request #17518 from clarenceh/master
...
Updated Table interface type definition for massive-js 3.0.0
2017-06-29 13:44:46 -07:00
Paul van Brenk
9eefecab71
Merge pull request #17463 from yairtawil/master
...
add types for 'wellknown'
2017-06-29 13:42:57 -07:00
John Gainfort Jr
90113bd6e3
...
2017-06-29 14:42:01 -06:00
John Gainfort Jr
a445702a46
i hate spacing
2017-06-29 14:41:35 -06:00
Paul van Brenk
09bb373d3d
Merge pull request #17508 from cortopy/electron-packager
...
Electron packager
2017-06-29 13:40:41 -07:00
John Gainfort Jr
35d2f4e1f1
another attempt at spacing
2017-06-29 14:40:16 -06:00
Paul van Brenk
d3d79d772d
Merge pull request #17503 from rzymek/lodash.toFinite
...
lodash - Add _.toFinite
2017-06-29 13:40:02 -07:00
Paul van Brenk
c5e9d1590e
Merge pull request #17496 from bancek/redux-form-improvements
...
redux-form: Add action types, fix reducer plugin, add StrictFormProps
2017-06-29 13:39:38 -07:00
John Gainfort Jr
29f4603830
removed autoformat corrections on tsconfig
2017-06-29 14:38:27 -06:00
Paul van Brenk
fcb02a67aa
Merge pull request #17494 from Koloto/selectize
...
[selectize] Extended plugins option, added options and items API properties
2017-06-29 13:38:10 -07:00
Paul van Brenk
d507c126f0
Merge pull request #17485 from Kovensky/patch-5
...
flux-standard-action: fix typos, declare assertions
2017-06-29 13:37:18 -07:00
John Gainfort Jr
c23fb5709f
fixed linting errors
2017-06-29 14:36:42 -06:00
Paul van Brenk
3588bf0f03
Merge pull request #17473 from alanmarcell/master
...
Add mongodb return type WriteOpResult to Collection.replaceOne(...)
2017-06-29 13:34:53 -07:00
Paul van Brenk
fb53f6e89d
Update index.d.ts
...
fix linter issue
2017-06-29 13:32:52 -07:00
Paul van Brenk
7393bae221
Merge pull request #17460 from DeividasBakanas/hotfix/react-swipeable-views
...
react-swipeable-views: SwipeableViewsProps updated.
2017-06-29 13:31:57 -07:00
Paul van Brenk
941cceb015
Merge pull request #17456 from aj-r/lodash-type-guard-issues
...
Lodash type guard issues
2017-06-29 13:31:10 -07:00
Paul van Brenk
c40934968f
Merge pull request #17453 from FanaHOVA/master
...
Add additional Chart.js definitions
2017-06-29 13:30:35 -07:00
Paul van Brenk
073224becc
Merge pull request #17624 from artyomsv/react-redux-toastr-props
...
[react-redux-toastr] Add missing properties for ToastrOptions
2017-06-29 13:23:21 -07:00
Paul van Brenk
3f4847b484
Merge pull request #17609 from djmc/new-auth0-fns
...
Update node-auth0 typings for client credential grants
2017-06-29 13:22:52 -07:00
Paul van Brenk
28e9a812de
Merge pull request #17593 from Hypercubed/quill/add-bounds-option
...
Add missing bounds value from QuillOptionsStatic
2017-06-29 13:22:30 -07:00
Paul van Brenk
4ea244b7f7
Merge pull request #17589 from nicolashenry/jsdom
...
[jsdom] fix v11 type definitions
2017-06-29 13:22:09 -07:00
Paul van Brenk
29b411396c
Merge pull request #17588 from shaunc/patch-1
...
pipe() takes stream.Writable
2017-06-29 13:20:01 -07:00
Paul van Brenk
7b79cf3382
Merge pull request #17534 from vutran/is-alphanumerical
...
Add typings for is-alphanumerical
2017-06-29 13:12:04 -07:00
John Gainfort Jr
f5c35ffd35
fixed extending defaultconfig property and adding optional properties in hls instantiation
2017-06-29 14:10:33 -06:00
Paul van Brenk
eb4e32a3eb
Merge pull request #17619 from thelfensdrfer/patch-1
...
Added silent parameter for the setValue method
2017-06-29 12:57:40 -07:00
Paul van Brenk
5428456128
Merge pull request #17618 from artyomsv/material-ui-props
...
[material-ui] Add missing properties for GridTile and RefreshIndicator component props
2017-06-29 12:56:54 -07:00
Paul van Brenk
f1790b6919
Merge pull request #17617 from douglasduteil/feat-dedent-add-typings-for-dedent
...
feat(dedent): add typings for `dedent`
2017-06-29 12:56:10 -07:00
Paul van Brenk
1b70b6ceac
Merge pull request #17616 from mdebruijne/superagent
...
[superagent] add missing types attach method
2017-06-29 12:55:31 -07:00
Paul van Brenk
9d29aff1a2
Merge pull request #17615 from rogierschouten/license-checker
...
add typings for license-checker
2017-06-29 12:55:00 -07:00
Paul van Brenk
7c296646c6
Merge pull request #17614 from kamilbrk/tinymce-imagetools-plugin
...
TinyMCE - Add types for imagetools plugin
2017-06-29 12:53:35 -07:00
Paul van Brenk
2dfa1ee22c
Update index.d.ts
...
Fix version number
2017-06-29 12:48:45 -07:00
Paul van Brenk
851374fda6
Merge pull request #17600 from xialeistudio/master
...
remove qiniu
2017-06-29 12:47:45 -07:00
Paul van Brenk
afb5957ff2
Merge pull request #17607 from alsiola/master
...
passport-jwt : Change secretOrKey option to use string or Buffer type
2017-06-29 12:47:18 -07:00
Paul van Brenk
24dbb9a1cc
Merge pull request #17604 from rsxdalv/master
...
mongoose-simple-random fix for importing package with ES2015
2017-06-29 12:45:24 -07:00
Paul van Brenk
ad21371806
Merge pull request #17603 from janwo/master
...
Update index.d.ts for email-templates
2017-06-29 12:41:09 -07:00
Paul van Brenk
b381c1a9ba
Update notNeededPackages.json
...
Add trailing `"`
2017-06-29 12:39:18 -07:00