Commit Graph

43928 Commits

Author SHA1 Message Date
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
Aneil Mallavarapu
a5db46d192 Add missing elements to Policy Statement (#24792)
* Add: NotAction, NotResource, Principal, NotPrincipal
* Implement some of the conditional logic
  - e.g., Action or NotAction is required
  - however, mutual exclusivity is not implemented (hard to do in Typescript)
* Allow >1 statement per PolicyDocument
2018-04-12 12:11:30 -07:00
m4m4m4
01a9dfd2f5 [UI-Grid] Add missing definitions (#24835)
* Add missing definitions

Add missing optional parameters for addRowHeaderColumn
Add id and fastWatch to IGridInstance
Renamed 'viewport' to correct case 'viewPort'
Change ColumnDef for Edit events to use IColumnDefOf instead (what the api returns). Should probably be done for other methods as well.

* Missing parameters in description
2018-04-12 10:07:10 -07:00
Aankhen
ab4cfd3de4 rename: Remove minimum version and comment out failing tests. (#24938) 2018-04-12 10:04:19 -07:00
Margarita Yanochkina
1bedb8fe2b [google-map-react] bounds fix (#24794) 2018-04-12 10:04:04 -07:00
Damien Erambert
81cb59546f Add typings for focus-within (#24935)
* add typings for focus-within

* fix test filenames

* fix typings and tests according to review comments
2018-04-12 10:03:10 -07:00
Dennis Axelsson
8cf4294b84 Add typings for enzyme-redux (#24948) 2018-04-12 10:02:44 -07:00
Matt Gibbs
22bea9740b [plupload] Additional Documentation and .features type fix (#24919)
* Add test for features map

I can't find a good description on the site for all of the values in
this map, so for now it's just "any".  I would like to specify this
though.

* Add documentation for a couple plupload constants

* Expand features scope out to the "any" map

These are technically fixed, but there's no good documentation on what
"features" are all supported that I can find.

* Update more documentation

* WHITESPAZE
2018-04-12 10:00:40 -07:00
Simon Archer
509c1b2d90 chart.js - Add datasetIndex property to ChartLegendItem (#24712)
* Add datasetIndex property to ChartLegendItem.

* New sub-type interface for ChartLegendLabelItem.
2018-04-12 10:00:20 -07:00
Benoît Zugmeyer
fbd66a68aa [chart.js] add the Chart option devicePixelRatio (#24926)
See [chart.js documentation](http://www.chartjs.org/docs/latest/general/device-pixel-ratio.html)
2018-04-12 09:59:57 -07:00
Sean Kelley
cdb3807edb reactstrap: Input from StatelessComponent to React.Component subclass (#24846)
* reactstrap: Input from StatelessComponent to ComponentClass

`Input` is a full React component (`ComponentClass`), not a stateless component. In particular, this change allows consumers to pass `ref` to it (not legal with `StatelessComponent`), which useful for e.g. calling `HTMLInputElement#focus()`.

* ComponentClasss -> extends React.Component
2018-04-12 09:59:44 -07:00
Nattapong-sir
e372b989c7 Add auth options into MongoClientOptions (#24934)
Reference: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/24906#issuecomment-380486889
2018-04-12 09:59:27 -07:00
tnoonan-salesforce
e77f5638ae New Types for JSForce (#24925)
Additional Types added for jsforce

analytics
metadata
chatter
2018-04-12 09:59:13 -07:00
Nico Montanari
45ff24159b
Added listKey prop to VirtualizedListProperties 2018-04-12 17:34:21 +02:00
Daniel Rosenwasser
df8f3b8b61
Merge pull request #24933 from DefinitelyTyped/dontAddTypesToLibrary
Avoid language that encourages users to send `.d.ts` PRs to libraries
2018-04-11 17:39:54 -07:00
Greg Zapp
5517a66c04 Add tableau API types. (#24931)
* Add tableau API types.

* Add tslint config.

* Fix lint errors.
2018-04-11 16:53:04 -07:00
Mohamed Hegazy
8dc5b41e17
Update readme (#24932)
* Add note about `esModuleInterop`

* Update guidance on publishing to DT

Refrenced in 884e4e80f0 (commitcomment-28080081)

* Edits

* writen -> written
2018-04-11 16:41:46 -07:00
Daniel Rosenwasser
2ca53b72e4
Avoid language that encourages users to send .d.ts PRs to libraries 2018-04-11 16:35:18 -07:00
Peter Weinberg
d8df907997 [redux-pack]: add key signature to ActionMeta interface (#24785)
* [redux-pack]: add key signature to ActionMeta interface

* [redux-pack]: improve type definitions for handler actions, allow passing custom metadata and all FSA compliant keys

* [redux-pack]: fix no-unnecessary-generics error
2018-04-11 16:31:22 -07:00
Andy
326cb88142 algoliasearch: Remove unnecessary destructuring (#24929) 2018-04-11 16:18:24 -07:00
Kerwyn
d113bbc18a Added type definitions for react-timeout (#24916)
* Added type definitions for react-timeout

* Fixed export

* Removed rules from tslint.json

* Added types

* Indented

* Fixed types
2018-04-11 16:15:58 -07:00
jphhoeks
9db24f13b5 react-onsenui: added missing definition for Select component (#24909)
* Fix: added missing definition for Select component in react-onsenui typings

* react-onsenui: updated version number
2018-04-11 16:15:40 -07:00
Andy
72d8a9e5e6 phonegap-nfc: Fix test (#24930) 2018-04-11 16:15:03 -07:00
denisname
70d32cd228 Update to bootstrap 4.1 (#24928) 2018-04-11 16:14:42 -07:00
Benoît Zugmeyer
c61cfb1003 [chart.js] the text property of title options can be string[] (#24923)
See the [chart.js
documentation](http://www.chartjs.org/docs/latest/configuration/title.html):
"if specified as an array, text is rendered on multiple lines."
2018-04-11 16:14:16 -07:00
Tom Crockett
fe3fcd77c9 [React] Remove string index fallback for CSS properties (#24911)
* [React] Remove string index fallback for CSS properties (resolves #24568)

* Require a minimum version of 2.2 for csstype

* Fix aphrodite types

* Fix react-confirm test

* Use Omit

* Fix react-geosuggest types

* Fix victory test

* Make customStyle and customStyleOnEditCell into functions
2018-04-11 22:34:31 +01:00
Josh Goldberg
40c7baae32 Removed myself from React types authors list (#24921)
So many notifications!
2018-04-11 12:13:03 -07:00
Arda TANRIKULU
3ca6e33abf fix meteor server-render package typings (#24915)
* ServiceConfiguration types added

* New usage of publishComposite added to meteor-publish-composite

* meteor/underscore added

* [meteor/server-render] Sink methods are optional

* fix onPageLoad

* refactor
2018-04-11 12:12:10 -07:00
Gintautas
a0ca17240a Added superagent retry callback (#24903)
https://visionmedia.github.io/superagent/
2018-04-11 12:09:01 -07:00