Commit Graph

29842 Commits

Author SHA1 Message Date
Cameron Little
c34962bc59 Update index.d.ts 2017-05-25 09:29:01 -07:00
Cameron Little
bedfaf0249 Update index.d.ts 2017-05-24 09:40:34 -07:00
Cameron Little
a524192bf5 Add Component<P> class
This allows declaring a parameter or variable as a general "component with props P" instead of needing to declare it class based or function.
2017-05-24 09:34:25 -07:00
Nathan Shively-Sanders
6d51c94538 Merge pull request #16723 from DefinitelyTyped/react-componentlifecycle-becomes-class
Change react's ComponentLifecycle to class
2017-05-24 09:27:56 -07:00
Nathan Shively-Sanders
43d74e2dfe Add a Component interface that merges w/the class
The Component interface extends ComponentLifecycle. ComponentLifecycle
goes back to being an interface.

Also fix some lint in react-virtualized
2017-05-24 09:15:22 -07:00
Nathan Shively-Sanders
9853ed4e21 Make ComponentLifecycle inherited methods public 2017-05-24 08:44:31 -07:00
Nathan Shively-Sanders
dde2a7a3ba Change react's ComponentLifecycle to class
ComponentLifecycle is intended to provide some methods to Component
subclasses and enforce that overrides of those methods are correct in
those same subclasses.

However, it does neither of these things as an interface that
Component `implements`. It just checks that Component has all the
required methods of ComponentLifecycle. Since there are no required
methods, the `implements` check passes. And since Component doesn't
actually *implement* any of the methods, its subclasses don't get
them by default, and their 'overrides' are not checked for
correctness.

Changing ComponentLifecycle to a class fixes both of these problems.
2017-05-24 07:46:27 -07:00
Daniel Rosenwasser
e63f331400 Merge pull request #16677 from mariajplmiranda/master
Adds `prompt` to grantOfflineAccess method
2017-05-23 12:03:38 -07:00
Daniel Rosenwasser
5c752e4e8c Merge pull request #16691 from vesse/convict/validate
[convict] Validate options and chaining
2017-05-23 12:03:09 -07:00
Daniel Rosenwasser
2207254981 Merge pull request #16374 from michaelaird/patch-2
Instead of adding overload, fix the return type
2017-05-23 11:58:41 -07:00
Michael Aird
f7f271b820 Fixed the method signature
Thanks to @DanielRosenwasser for pointing out the mistake in my change. This should now be correct.
2017-05-23 11:23:13 -04:00
Vesa Poikajärvi
df2c87326f [convict] incorrect whitespace fixed from test 2017-05-23 13:55:29 +03:00
Vesa Poikajärvi
b475ab8f37 [convict] Many Config methods are chainable 2017-05-23 13:36:46 +03:00
Vesa Poikajärvi
80e0d7f774 [convict] 3.0.0 deprecated option strict and added option allowed 2017-05-23 13:23:53 +03:00
mariajplmiranda
7f3bf5d32e Changes grantOfflineAccess options
Specifies prompt options, adds app_package_name property and removes redirect URI
2017-05-23 10:06:04 +01:00
Daniel Rosenwasser
5a60b831fb Merge pull request #16655 from odensc/master
Add `redux-devtools-extension` to notNeededPackages.
2017-05-22 15:58:10 -07:00
Daniel Rosenwasser
21d903fa7e Merge pull request #16606 from edvinv/master
[knex] Add function queryBuilder.
2017-05-22 15:32:13 -07:00
Daniel Rosenwasser
c82664ad64 Merge pull request #16601 from Springworks/fix/swagger-schema-official
Fix swagger-schema-official security type
2017-05-22 15:30:21 -07:00
Daniel Rosenwasser
d4a0e26f3d Merge pull request #16593 from mikezilla/update-signature_pad
signature_pad: Add missing off/on functions
2017-05-22 15:29:10 -07:00
Daniel Rosenwasser
12e96bff78 Merge pull request #16623 from HawaiianSpork/ramda-view
ramda: Add support for curry on view definition
2017-05-22 15:27:25 -07:00
Daniel Rosenwasser
144706683f Fixed up accidental edit. 2017-05-22 15:20:31 -07:00
Daniel Rosenwasser
c73a5bfa82 Fixed overloads for better editing experience. 2017-05-22 15:18:27 -07:00
Daniel Rosenwasser
4e8b40f001 Merge pull request #16622 from psachs21/patch-1
Update definition for webpack-chain to match version 3.3.0
2017-05-22 15:15:52 -07:00
Daniel Rosenwasser
7faca7bb3c Merge pull request #16625 from nhardy/patch-1
extract-text-webpack-plugin: Update for 2.1.0
2017-05-22 15:12:46 -07:00
Daniel Rosenwasser
30caea019b Merge pull request #16680 from natesilva/p-settle
Added types for p-settle
2017-05-22 14:54:20 -07:00
Nate Silva
d357ad09ab Use the pSettle namespace to export SettledResult 2017-05-22 14:18:54 -07:00
Daniel Rosenwasser
7693832a40 Merge pull request #16679 from iuliust/patch-1
fix(index.d.ts) typo
2017-05-22 14:08:39 -07:00
Daniel Rosenwasser
d75b452293 Merge pull request #16676 from jamarzka/master
knex: first() should accept the same parameters as select()
2017-05-22 14:07:45 -07:00
Daniel Rosenwasser
c215753386 Merge pull request #16629 from afrieder/master
when: Fix missing optional parameter
2017-05-22 14:00:00 -07:00
Daniel Rosenwasser
12522ac23b Merge pull request #16642 from jimdo-tiff/cropperjs_check_orientation
cropperjs - Added checkOrientation option
2017-05-22 13:58:31 -07:00
Daniel Rosenwasser
4ebe4daafd Merge pull request #16659 from timjb/prosemirror-menu-update-to-0.21
Update prosemirror-menu to version 0.21
2017-05-22 13:57:47 -07:00
Daniel Rosenwasser
122fc81437 Merge pull request #16675 from DaVarga/master
color: ColorParam can be a number
2017-05-22 13:53:11 -07:00
Daniel Rosenwasser
a653db38aa Merge pull request #16666 from dolanmiu/timer-machine
Timer-machine types
2017-05-22 13:49:48 -07:00
Daniel Rosenwasser
db770bad31 Merge pull request #16372 from Boothwhack/master
Added declarations for Joigoose
2017-05-22 13:37:08 -07:00
Daniel Rosenwasser
d77881f19d Merge pull request #16367 from janwo/master
Improve definitions for forever-monitor
2017-05-22 13:30:15 -07:00
Daniel Rosenwasser
3f6d76e1d0 Merge pull request #16373 from larshp/master
node-progress v2.0.0 updates
2017-05-22 13:27:22 -07:00
Nate Silva
b5ae0602a2 Corrected return value definition 2017-05-22 13:24:03 -07:00
Daniel Rosenwasser
f3c3db1f37 Merge pull request #16377 from trustedtomato/patch-1
node - process.exit() should never return
2017-05-22 13:14:24 -07:00
Nate Silva
ff37e623c0 Added types for p-settle 2017-05-22 12:37:36 -07:00
iuliust
f4a0d64d1a fix(index.d.ts) typo
replaced 'frictionStuffness' by 'frictionStiffness'
2017-05-22 20:57:42 +02:00
Arthur Ozga
8013b307c2 Merge pull request #16405 from stevehipwell/mongoose-unique-validator
Added types for mongoose-unique-validator
2017-05-22 10:15:43 -07:00
Arthur Ozga
7a31dab34c Merge pull request #16406 from eulbot/patch-1
Add two missing conversion methods to leaflet
2017-05-22 10:15:25 -07:00
Arthur Ozga
9c5ce7eea5 Merge pull request #16407 from flying-sheep/rollup
Add typings for rollup
2017-05-22 10:14:30 -07:00
Arthur Ozga
7b820fd12c Merge pull request #16410 from stevehipwell/bunyan-winston-adapter
Added types for bunyan-winston-adapter
2017-05-22 10:12:58 -07:00
mariajplmiranda
d926bbe9f0 Adds prompt to grantOfflineAccess method 2017-05-22 18:05:07 +01:00
Andy
52c064c24e fs-extra: Callbacks must be non-optional for Promise overloads to work (#16614) 2017-05-22 10:02:44 -07:00
Jeremy Marzka
2f931b8761 knex: first() should accept the same parameters as select() 2017-05-22 11:52:42 -05:00
DaVarga
11c8e0986d color: ColorParam can be a number 2017-05-22 18:38:02 +02:00
a-k-g
6a7322a32d Add types for SHA1 and SHA256 message digests (#16665) 2017-05-22 08:36:32 -07:00
Tom Wanzek
029457aac4 [d3-path] [Chore] Update validated patch version (#16651)
* This PR only updates the last patch version of d3-path this definition was validated against. No other changes necessary. It serves to create a new content hash to trigger publication to `npm/@types` after merge.
2017-05-22 07:05:32 -07:00