Commit Graph
51177 Commits
Author SHA1 Message Date
Jackson Delahunt 46f3f013b5 unzipper: autodrain promise (#29281)
* update autodrain type

* add test
2018-10-04 10:35:14 -07:00
Bradley Ayers 6b987fa09f fix(stripe): InvoiceItem.invoice can be null (#29284) 2018-10-04 10:34:07 -07:00
Gildas Garcia af58aad927 [RFR] Fix Feathers Authentication Local hook definition (#29431) 2018-10-04 10:33:35 -07:00
Martin Micunda a7a6a58a53 koa-joi-router: add prefix() to Router interface (#29405)
* Add prefix() to Router interface

* Replace string return type with Router type

* Add viod type
2018-10-04 10:32:45 -07:00
Lukas Tetzlaff 1b858d5716 [@types/proton-native] Fix Type RadioButtonProps and GridChildrenProps (#29424)
* Add two more uncovered functionalities to tests

* Fix Type for RadioButton's onSelect

* Fix GridChildrenProps missing `span`
2018-10-04 10:32:07 -07:00
Brasten Sager 3a54e9f089 [package: debug] Added 'extend' function to IDebugger. (#29269) 2018-10-04 10:31:25 -07:00
Andrew Casey 937f3f85b7 Merge pull request #29120 from Syncfusion-JavaScript/master
16.3.21 added
2018-10-04 10:10:27 -07:00
Syncfusion-JavaScript a5439ff6ba Encoding issue has been fixed 2018-10-04 10:00:54 +05:30
Andrew Casey 5996b44c51 Merge pull request #29114 from brian-lives-outdoors/inferTypesInStaticPropertyHelpers
[recompose] Improve type inference of static property helpers
2018-10-03 19:35:39 -07:00
Brian Adams b10fdc2261 [recompose] improve type inference of static property helpers 2018-10-03 21:57:35 -04:00
Filip Stanis fb6665c554 Update Google Pay types (#29376) 2018-10-03 17:07:08 -07:00
Thomas Nicollet 0b0f2e82aa Updated index.d.ts to match text-encoding npm module (#29404) 2018-10-03 17:06:07 -07:00
Elizabeth Samuel 00e1cc7c32 office-js: Update max for RoamingSettings (#29421) 2018-10-03 17:05:25 -07:00
Sergii Paryzhskyi 99c221ca8c Describe methods for date-arithmetic package (#29423)
- eq
- neq
- gt
- gte
- lt
- lte
2018-10-03 17:03:29 -07:00
Grant Timmerman f019cbc2cf Add Google Advanced Service Types – Google Slides (#29388)
* Add API files and complete Slides types

* Remove declare module
2018-10-03 16:34:27 -07:00
Andy Hanson 1def709eed Remove one more '�' 2018-10-03 11:56:52 -07:00
Christian 2dc50469f0 fix(ember-data): update value types for BelongsToReference, HasManyReference (#29367) 2018-10-03 11:54:50 -07:00
Kira McLean 66572a9e43 Update MeshBasicMaterial type definition in @types/three-core (#29338)
* Allow `null` maps for `MeshBasicMaterial`s

A mesh can optionally have a `map` but right now this doesn't allow us to remove a material's map by setting it to `null`, which is the default value for maps.

* All textures are nullable

https://threejs.org/docs/#api/en/materials/MeshStandardMaterial

* Lots of other things are nullable, too

* Fix indentation

My editor changed the indentation of this file.. oops.

* Actually fix indentation
2018-10-03 11:54:02 -07:00
boriskor 823da0de4e [jquery] Change all HTMLElement to be Element (#29282)
* [jquery] Change all `HTMLElement` to be `Element`

* [jquery/v2] remove wrong `parseHTML` overload
2018-10-03 11:53:04 -07:00
Tony Gaskell c066174151 @types/react-native-push-notification: Add missing permissions type on push notification options (#29257)
* Add missing permissions type on push notification options

* Refactor PushNotification Options to interface instead of class
2018-10-03 11:50:28 -07:00
Andy Hanson 41e2d6e23f Remove another '�' 2018-10-03 11:49:37 -07:00
devuxer 430376c0b3 Added no-argument overload for Model.previous (#29385)
* Added no-argument overload for Model.previous

`Model.previous()` in Sequelize called with no arguments returns an object containing the previous keys and values for properties that have changed. This pull request adds this overload to the Model.d.ts type definition file along with a comment documenting it.

* Added test for Model.previous w no arg
2018-10-03 11:49:11 -07:00
Nithin Chandran 35b5ebacbf Typings_Three_Core_LineDashedMaterial_Update (#29152)
* Typings_Three_Core_LineDashedMaterial_Update

LineDashedMaterial was inheriting from Material but as per three.js it inherits from LineBasicMaterial.

ref: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/29149
https://github.com/mrdoob/three.js/blob/master/src/materials/LineDashedMaterial.js#L32

* implemented review comments

* added isLineDashedMaterial definition
2018-10-03 11:48:00 -07:00
Andy 6c955dccce Remove '�' character (#29420) 2018-10-03 11:47:28 -07:00
Heath aa6fe26cea @types/mongoose add missing options to connect() (#29398)
@types/mongoose add missing options to connect()
2018-10-03 11:46:53 -07:00
Joel Einbinder d65f42a18a fix(node): stdio streams can have more than three items (#29387)
* fix(node): stdio streams is not a tuple

* add to all node versions
2018-10-03 11:45:43 -07:00
Filipe Guerra ad70a5bc23 fix ReactTestIntance type typing (#29335)
Tested with the following code:
```
component.root.find(
  node => node.type === MyButton && node.props.type === ‘submit’
)
```
2018-10-03 11:42:43 -07:00
Niklas Mollenhauer 2867a96403 Enhance typings of easy-table (#29390)
* Enhance typings of easy table

* Use frozen colors in tests
2018-10-03 11:41:41 -07:00
Kevin O'Neil fa5666117a Webpack: Adds maxSize as option to CacheGroupsOptions and SplitChunksOptions (#29401)
* Adds maxSize as option to CacheGroups and SplitChunks

* Adds test for maxSize

* Adds another minSize/maxSize test and modifies original amount
2018-10-03 14:58:24 +01:00
Greg Jednaszewski 8607133d93 Add typings for node-crate (#29375)
* Add typings for node-crate

* Fix indentation

* Fix array types
2018-10-02 17:50:19 -07:00
Simon Schick df782384c2 fix(node): revert remaining common var to const globals (#29391) 2018-10-02 16:19:59 -07:00
Andrew Casey ffa84d3a0e Merge pull request #29271 from mscharlock/michelle-officefixes
Making some updates to comments in office-runtime and custom-functions-runtime
2018-10-02 14:32:36 -07:00
mscharlock a2657a73a4 updating CFMappings to be correct 2018-10-02 13:22:54 -07:00
mscharlock c75538cfe7 cleaning definition of CFMapping so it is accurate 2018-10-02 13:15:34 -07:00
mscharlock 83f1c8db45 fixes to long comment 2018-10-02 13:10:30 -07:00
tjhsiang ee62145273 Fix Annotations - should be array (#29237) 2018-10-02 12:36:43 -07:00
Adam Lavin bbe2770fee Rename grid-styled to @rebass/grid, update to v6 (#29379)
* [@rebass/grid] Rename grid-styled to @rebass/grid and update to v6

* [@rebass/grid] Removed package.json
2018-10-02 12:36:29 -07:00
Konrad Mattheis 84cd3d14ba fix engineVersion result type (#29382)
closes #28133
closes #27984
2018-10-02 12:34:24 -07:00
ulrichb 01b2281fde Fix wrong optional ChangeEvent parameter for InputProps.onChange (#29235) 2018-10-02 12:33:20 -07:00
Nicolás Andrés Gallinal 7aa3334626 Add types for browserify/commonjs-assert (#29188)
* add types for browserify/commonjs-assert

* fix tests and rename to 'assert'

* fix some linting errors, checking in to avoid closing of pull request

* fixed all lint errors
2018-10-02 11:37:55 -07:00
vladflorescu94 e72bee2ba3 [react-daterange-picker] Fix onSelect prop type definitions (#29370)
* react-daterange-picker - update props definitions, specifically onSelect prop

* react-daterange-picker - refactor type definitions and update test
2018-10-02 11:37:30 -07:00
Leonard Thieu 7c0825a58c [jquery] Drop type guards from isNumeric()/isPlainObject() and improve declarations of jQuery.data()/.data()/jQuery.css() (#29381)
* [jquery] `isNumeric` can not be a user defined type guard.

`isNumeric` can return true for strings in addition to numbers, but only for a subset of either. It'll return false for NaN (which TypeScript treats as a number) and for strings which cannot be parsed as a number.

* [jquery] `isPlainObject` can not be a user defined type guard.

Due to the imprecise way with how `PlainObject` is declared, `isPlainObject` can not be a user defined type guard.

* [jquery] Use https for links.

* [jquery] Fix link for `JQuery.jquery`.

* [jquery] Remove empty line before `@deprecated`.

For consistent formatting since examples were added.

* [jquery] Document additional `extend` parameters.

* [jquery] Improve declarations of `data()` to catch unintentionally passing `undefined` as a value.

This handles the more likely case of users passing a value that is possibly undefined.

* [jquery] Improve declaration of `css()`.

* [jquery] Minor improves to `proxy()` documentation.

* [jquery] Fix region folding for WebStorm.

WebStorm uses `// #region` to designate a region start while VS Code uses `// region`. They can both (must, in this case) be terminated using `// #endregion`. Using both `// #endregion` and `// endregion` results in odd behavior in both editors.
2018-10-02 11:37:07 -07:00
Miika Hänninen b8b95c0cf8 ramda: Workaround for type inference problem in Filter (#28592)
* ramda: add return type assertions for filter/reject test

* ramda: Add failing test for filter-in-pipe scenario

* ramda: Workaround for type inference problem in Filter

In the `Filter` type, when used inside a pipe, the second format always took
precedence in type inference, causing problems when a list was filtered.

With this change, you can manually specify whether you are using filter
for an array or an object, so usage in a pipe will work. You can also
leave out the second type parameter, in which case filter works as
previously.

```ts
import { pipe, filter } from 'ramda';

pipe(
    filter<string, 'array'>((val: string) => val.length > 2),
)(['list', 'or', 'object']);

pipe(
    filter<string, 'object'>((val) => val.length > 2),
)({ a: 'list', b: 'or', c: 'object' });
```
2018-10-02 11:34:46 -07:00
John Chijioke 6ae761686a Added type definitions for passport-auth0 (#29283) 2018-10-02 11:28:07 -07:00
Michael Su d586c806b6 Add definitions for Dropbox Chooser (#29355) 2018-10-02 11:26:21 -07:00
Konstantin 937594c479 Add typings for react-timeago package (#29358) 2018-10-02 11:16:08 -07:00
Kyle Farnung ce1ee6c93f Add typings for init-package-json (#29356) 2018-10-02 11:15:27 -07:00
Rostislav Shermenyov 1038a88306 Added type definitions for moveto (#29362) 2018-10-02 11:14:40 -07:00
Rostislav Shermenyov 93761156bb Added type definitions for rellax (#29366) 2018-10-02 11:13:26 -07:00
krlwlfrt ef23f9bd41 Add type definitions for tiny-async-pool (#29373) 2018-10-02 11:13:01 -07:00