Commit Graph
43956 Commits
Author SHA1 Message Date
Keagan McClelland ed2cf925b3 fixed ramda type inference errors (#24942) 2018-04-16 15:24:02 -07:00
lincoln f6c0808e26 update interface (#25014)
* fix bugs with types

* fixed type errors

* more type errors fixed

* fixed errors and added missing type definitions

* fix all typos and added all missing ones

* change inappropriate names

* Updated names to be more accurate.

* adds EnumDWT_ConvertMode to make compatible with the old enum

* Remove type for sync use of ConvertToBase64 which isn't supported for now

* adding new line at the end
2018-04-16 15:23:39 -07:00
Kyle Roach 3d822ec7e6 Remove react-native-collapsible (#25011) 2018-04-16 15:21:28 -07:00
Sasha Koss 3e9fdd529c Fix a signature for @google-cloud/pubsub (#24995)
Fix Publisher#publish signature, so that it returns a promise 
to messageId (string): https://cloud.google.com/nodejs/docs/reference/pubsub/0.18.x/Publisher#publish
2018-04-16 15:19:05 -07:00
Anish Patel af9cce1db3 @feathersjs/authentication-oauth2 - renamed OAuth2Verifier to Verifier to match source package (#25026)
* renamed exported class from OAuth2Verifier to Verifier to match export in @feathersjs/authentication-oauth2 package

* fixed linting
2018-04-16 15:18:47 -07:00
Ferdi Armbruster b74166a772 [@types/heremaps] Adding draggable property to AbstractMarker in heremaps (#25017)
* Adding draggable property to AbstractMarker in heremaps

* Fix jsdoc and optional for draggable property to AbstractMarker in heremaps

* Fix jsdoc description for draggable property to AbstractMarker in heremaps
2018-04-16 15:18:24 -07:00
Edo Rivai 9f0ef7e76e [knex] Enable named bindings in *Raw methods (#25028) 2018-04-16 15:17:54 -07:00
Fabio Berta c78f4617d8 narrow down some types and add more (#25007) 2018-04-16 15:17:14 -07:00
denisname b77a6a04ba Activate strict null check in d3-format (#25015) 2018-04-16 15:16:58 -07:00
Henrik Raitasola 4baec539b7 Add missing argument for Screen (react-native-navigation) (#25022)
* Add missing prop to Screen

* Use new prop in tests
2018-04-16 15:16:21 -07:00
DanRegazzi 9de8070a6b Update type react-toastr: Allow JSX to be used for title and message content. (#24910)
* Updated the typings to allow JSX elements in addition to strings for the toast message content.
Refer to https://tomchentw.github.io/react-toastr/

* Update version number of react-toastr type definition.

* Revert version number to match toastr's version number
Change toast notify functions to use string or ReactNode types explicitly
Revert change to options override type

* ReactNode includes string.
2018-04-16 15:13:56 -07:00
Jakub Řičař b3cea7a6bb Add missing isCustomDate into Settings (#25042) 2018-04-16 15:13:00 -07:00
Vitya fe483b7d27 [@types/grid-styled] unstrict typings for grid-styled (#25024) 2018-04-16 15:12:27 -07:00
Sean Scally 2053e1cb8c Add new RenderProps-style Context from React 16.3 (#24509)
* Add new RenderProps-style Context from React 16.3

React 16.3 has a new recommended API for Context, with new Context, Provider, and Consumer typings.

* Add overload for createContext() to be called with no arguments

* Fix syntax

* Refactor out Props for Consumer & Provider
2018-04-16 13:37:41 +01:00
Florent Cailhol 7f0811ae8e Fix tapable definition (#24996) 2018-04-15 00:05:04 +01:00
AJ Richardson a1ff7a2a7d [lodash] Placeholder support (#24728)
* lodash: _.get should with numeric keys, too.
Also added some better tests.

* lodash: add one more NumericDictionary overload for _.get

* lodash: more reasonable index for _.get tests

* lodash: support placeholders for curry

* lodash: add logic for generating overloads with placeholders

* lodash: fix placeholder generation bugs

* lodash: use the original parameter name for placeholder parameters

* lodash: stop generating unnecessary generics

* lodash: move all FP functions into a single file.
Trying to fix memory error in tests.

* lodash: omit comments and useless overloads to make the build work

* lodash: update fp function files

* Fix placeholder definition files

* lodash: add placeholder constants to fp definitions

* lodash: looks like we missed some jsdoc comments.
Let's omit them for consistency.

* lodash: fix build errors
2018-04-14 12:40:40 -07:00
Hugues Stefanski 65622d3c46 D3 geo strict null check (#23794)
* d3-geo strictNullChecks mode:
Allow GeoGeometryObjects type to be null
Check existence of optional mehtods before calling them
Added null to union type or some results of call

* Missing space

* Min TS 2.4 for d3-geo

* Back to TS 2.3

* Added null as acceptable type

* d3-geo : Use of default generic types

* d3-geo : Removed generic type when using default

* d3-geo : fix generic types

* d3-geo : tests with nullable features
2018-04-14 12:37:38 -07:00
Kalle Ott 4ac43f6061 fix for wrong method signature in params of WindowScroller render-prop (#24953)
* typings update to catch up with current version of react-virtualized

* fixed lint errors

* fixed ts version

* fixed void return type of defaultProps functions

* changed interface to type for better consistency

* fixed signature of onChildScroll params in WindowScroller

* Auto stash before merge of "enable-strict-mode" and "master"

* removed unimportant line from test file

* replaced strict with explicit options

* updated TS version

* ts version set to 2.7

* back to ts 2.6

* changed autogenerated relative import to global import
2018-04-14 12:29:21 -07:00
Lukas Senionis 3a647d4f0e [component-emitter] Provide easy access to interface (#24994)
* provide easy access to interface

* declare is not needed
2018-04-14 12:24:56 -07:00
AJ Livingston ffbf344eb0 Add typings for express-ws (#24984)
* Add types for express-ws

* strictFunctionTypes=true

* dtslint compliant

* union types for application and router

* allow https server

* applyTo accepts object

* fix lint error

* applyTo accepts router-like obj

* websocket method returns this
2018-04-14 12:18:11 -07:00
Anderson Friaça a8637a544d Types for JQuery Focusable (#24988) 2018-04-14 12:17:15 -07:00
denisname ee7e9794e0 Extract from topojson (#24992) 2018-04-14 12:16:51 -07:00
Vincent Langlet b4ef220eac Add react-native-keyboard-spacer types (#24993) 2018-04-14 12:13:47 -07:00
Rockson dda14dffe3 Removed Partial from onSubmit values (#24816)
see iss: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/24376
2018-04-14 12:12:50 -07:00
howtimeflies.io developers 6df4ebfc1a [highcharts] Add support for word cloud chart and adding/firing events dynamically (#24824)
* Add the missing typings required by @howtimeflies/ngx-highcharts

* Add tests for the new added typings.
2018-04-14 12:12:17 -07:00
Sehrope Sarkuni 7132597ca2 Expand BufferList.append(...) to include BufferList and array params (#24844) 2018-04-14 12:11:54 -07:00
Claudia Hardman cc77534189 Fix tags property definition in Pickle interface (#24843) 2018-04-14 12:11:41 -07:00
Amélie Turgeon 6a7bc3a968 Add 2 missing functions in office-js (#24924)
* Add 2 missing functions in office-js

* More details about API set of added functions
2018-04-14 12:09:32 -07:00
Frank Tan ca3bf7f06d Re-type helper from @ember/component/helper (#24986)
* Re-type `helper` from @ember/component/helper

Previous typing caused an error about using private name `Ember.Helper`
when generating declaration files.

Fortunately, the previous typings were incorrect anyway, so we can
remove the reference to `Ember.Helper` and thus fix the issue.

Relevant links:
* https://github.com/Microsoft/TypeScript/issues/5711
* https://github.com/Microsoft/TypeScript/issues/6307
* https://www.emberjs.com/api/ember/2.18/functions/@ember%2Fcomponent%2Fhelper/helper
* https://github.com/emberjs/ember.js/blob/v2.18.2/packages/ember-glimmer/lib/helper.ts#L120

* Add test for `helper` from @ember/component/helper
2018-04-14 12:09:19 -07:00
Dylan Scott 2ea7986e94 express-winston: add types for dynamic level function (#24977) 2018-04-14 12:08:48 -07:00
Westin Christensen c914299740 Chart.js :: Added a missing type for beginAtZero for TickOptions. (#24920)
* Added a missing type for beginAtZero.

* Consolidated tick options into single interface, addressed PR comments.

* Added tslint disable for a depricated interface.
2018-04-13 12:12:02 -07:00
Jose Santacruz 56e1ac7f79 add namespace declaration to allow import from syntax (#24979) 2018-04-13 11:58:05 -07:00
Simon Schick c252ab8bc9 fix(hapi): allow passing object to toolkit state, fix tags index signature, fix route ext (#24956)
* fix(hapi): allow passing object to toolkit `state`, fix `tags` index signature, fix route `ext`

* fixup! fix(hapi): allow passing object to toolkit `state`, fix `tags` index signature, fix route `ext`
2018-04-13 11:57:40 -07:00
Ika 20a3d80183 feat(prettier): update to v1.12 (#24973) 2018-04-13 10:23:00 -07:00
Kajan Nallathamby 5e03bfd6b0 fixes chai-things import issues (#24975) 2018-04-13 10:22:22 -07:00
Cheng Wang 1a8b08d6d9 add subscribe-ui-event (#24976) 2018-04-13 10:21:31 -07:00
drschulz 40a24d875a Fixed Overlay class definition (#24978)
The Overlay class definition is currently broken for Typescript 2.8.1 because OverlayProps has recently been moved into the Overlay namespace. This updates the class definition to reflect that.
2018-04-13 10:20:40 -07:00
Sander de Waal 5302148a45 Add HavingIn method to Knex typings (#24974) 2018-04-13 09:23:13 -07:00
sunnyone 5503255065 Add onHide to IDialogDefinition (#24964) 2018-04-13 08:53:57 -07:00
Janeene Beeforth ed66591fa0 [expo]: Add missing SvgCommonProps (#24965)
* fillRule
* rotation (both 'rotate' and 'rotation' are currently supported, but
  documentation specifies 'rotation' as the current version to use.
2018-04-13 08:50:29 -07:00
Alexander T dcf3384ac2 Microsoft/TypeScript#23155 - Type error in Buffer.from() (#24966) 2018-04-13 08:50:15 -07:00
Nikolay Yakimov 3b587e9ce3 [atom] Clean up FilesystemChangeEvent (#24968)
Add a type for a single FilesystemChange, have `oldPath` on rename
events only.
2018-04-13 08:49:55 -07:00
Nikolay Yakimov 54968ba726 [atom] Updates to AC+ types (#24967) 2018-04-13 08:49:39 -07:00
Eloy Durán bda9ce7bb5 Merge pull request #24954 from nicomontanari98/patch-1
(react-native) Added listKey prop to VirtualizedListProperties
2018-04-13 10:54:37 -04:00
Nico Montanari 9968b18f5b Remove trailing spaces 2018-04-13 11:02:52 +02:00
Fredrik Nicol 3b4991e3fa [react] Add comment about removed index signature (#24939) 2018-04-13 07:44:22 +01:00
Scott Lively 1fc00061a8 [decompress] fix return value to be array instead of single instance (#24957) 2018-04-12 16:23:21 -07:00
Greg Zapp c93bda4d66 Add remaining types and documentation. (#24960) 2018-04-12 13:25:59 -07:00
alexander-wu a0ab3e1a8a webpack-env require.ensure typing update (#24951)
* webpack-env require.ensure typing update

* webpack-env require.ensure typing fix
2018-04-12 12:13:29 -07:00
Nathan Sankbeil c98aed3330 react-native-navigation: fix invalid orientation value (#24958) 2018-04-12 12:12:07 -07:00