Commit Graph
51158 Commits
Author SHA1 Message Date
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
Rostislav Shermenyov b2c9fc89f9 Added type definitions for layzr.js (#29372) 2018-10-02 11:12:28 -07:00
Gray Zhang 0378d4e1ac Allow false as cache group value (#29354) 2018-10-02 19:06:44 +01:00
Hirokazu Yokoyama 108e27b1cd ssh2-sftp-client: Edit definition. add for "on" function. (#29303)
* Add definition for "on".

* edit test code.

* remove symbol
2018-10-02 11:03:43 -07:00
Greg Jednaszewski 443931bc0e Add resolvesArg to sinon typings (#29329)
* Add resolvesArg to sinon typings.  See https://sinonjs.org/releases/v6.3.4/stubs/

* Switch tabs for spaces

* Fix doc comment for resolvesArg
2018-10-02 11:03:00 -07:00
Erik Elkins 1f989a0c29 Changing install signatures from yeoman-generator@3.0.0 (#29351)
* Changing install signatures from yeoman-generator@3.0.0

* Fixing tests

* Upping version

* Updating docs

* Fixing linting
2018-10-02 11:02:15 -07:00
Troepster c50244c6b2 Adding missing width option to QRCodeRenderersOptions for qrcode (#29363)
* Adding missing width option to QRCodeRenderersOptions

* Adding missing width option to QRCodeRenderersOptions for qrcode

* Fixed version
2018-10-02 11:00:57 -07:00
Jeremy Wells 3f13be3957 [@types/react-onsenui] Add SearchInput (#29365) 2018-10-02 11:00:39 -07:00
Naizam Olakara 52d0bc5891 Typedefinitions for Oracle Jet (#29350)
* Initial commit.

Does not compile yet due to strictNullChecks and all. Need to fix those in the next transaction.

* Update to latest version

* npm test fail fix

* fix npm test error

* fix npm test

* fix npm test

* test. move to scoped

* move to scoped

* move to scoped location

* update for scoped

* Update for scoped

* Remove trailing space
2018-10-02 10:14:47 -07:00
Olivier Favre 5d58b659a4 node: Export Http2ServerRequest and Http2ServerResponse as class (#29173) 2018-10-02 10:13:49 -07:00
Roman 0155a5a12a [react-router-v3] Fix createHref & createPath argument (#29368)
* fix(react-router): update first argument of createPath & createHref

Allow LocationDescriptorObj to be passed

* chore(react-router): update contributors

* test(react-router): add tests for createHref
2018-10-02 17:55:05 +01:00
Kelly 0d0967c31b react-highlight-words - update props definition, specifically findChunks prop (#29209)
* update props definition, specifically findChunks prop

* added name to typings header

* bump version number in header
2018-10-01 21:51:24 -07:00
Mike Doughty 786382439b Fix bad return type in lazyJS ObjectLikeSequence.get() (#29210)
* Fix bad return type in lazyJS ObjectLikeSequence.get()

* Lazy.JS 0.3.4
2018-10-01 21:50:31 -07:00
Mike Engel 589dc81bb9 Update types for massive 5.x (#29301)
* feat(massive-5): Update types for massive 5.x

* feat(massive-5): Incorporate feedback from @dmfay
2018-10-01 21:49:06 -07:00
Pierre e7c00497ec Add content in AutocompleteUIParams (#29180) 2018-10-01 21:47:05 -07:00
mrz5018 ec8b0ad286 Adds alternative client side collection to meteor-publish-composite (#29171)
* Adds alternative client side collection to meteor-publish-composite

The library has the ability to create a name for a collection that the entire publication (or only a portion)
"belongs to" on the client side.  It is described in greater details on the meteor-publish-composite
post here:

http://braindump.io/meteor/2014/09/20/publishing-to-an-alternative-clientside-collection-in-meteor.html

* Changes collection to collectionName
2018-10-01 21:45:21 -07:00
ptrdu a9d83598bd Added type definitions for ali-oss (#29285)
* FEAT: add bucket operations

* FEAT: add function definition, current at object uploadPartCopy

* FEAT: add object operations definitions

* FEATURE: add rtmp operations definition

* FEAT: add ImageClient and cluster

* FEAT: add test

* FIX: fix some used import and the typescript version

* FIX: fix the tsconfig and tslint error
2018-10-01 21:44:19 -07:00
Ricki c229bc1e1b Added type definition for react-lottie (#29289)
* Added type definition for react-lottie

* Minor fixing

* strictNullChecks enabled
2018-10-01 21:43:13 -07:00
Veetaha e2e394b456 Added type definitions for npm 'webprogbase-console-view' library. (#29291)
* added type definitions for my teacher Ruslan Hadyniak JavaScript npm package

* removed [strict] option from tsconfig.json

* added strictFunctionTypes to tsconfig.json

* added tsc >=2.2 restriction to the header

* made Response.send() second argument compulsory

* undone changes from the previous commit

* changed Request.data from FormData | undefined to FormData | null

* Removed constructor from Request, modified StateLinks according to the new 1.1.1 package version interface

* Changed type definitions according to 1.2 stable version
2018-10-01 21:42:48 -07:00