Commit Graph

40588 Commits

Author SHA1 Message Date
Wichert Akkerman
4f48e84297 Add defaultTransParent to react options. (#23109) 2018-01-27 10:32:13 -08:00
James W. Lane III
0fd670e690 Updated types for color 3.0.0 (#23205)
* Updated for color 3.0.0

* Updated tsconfig.json

* Updated tsconfig.json attempt 2
2018-01-27 10:28:01 -08:00
Andy
745420a23e lodash: Work with classic module resolution (#23198) 2018-01-26 13:33:19 -08:00
Art
ccdc539cc4 Add: Mongoose 5 types (#23070)
* move v4 types

* add newline-per-chained-call tslint rule to avoi having to refactor the entire test file

* mongoose 5 types

* update SchemaToObjectOptions

* reuse toObject definition, add it to schema options, remove retainKeyOrder

* add paths to mongoose-deep-populate

* rm a no longer supported createConnection signature

* Object -> any @ mongoose 4

* object ->any @ mongoose 5

* rm todo comment

* rm Mongoose thenable type

* Add changes between 4.7 and 5.0

* Add path to mongoose/v4 to all dependent projects

* fix dropDatabase() brainfart.

* Add more missing methods

* rm newline-chained-call rule from tslint

* Revert "Add path to mongoose/v4 to all dependent projects"

This reverts commit 162b8ad
2018-01-26 13:32:00 -08:00
Yao
831b49efaf @types/quixote - make attributes in ElementDescriptor optional (#23089)
When do assertion, you need not to provide all options
somethings like 
```
        button.assert({
            width: container.width
        } );
```
is also ok from official doc.
2018-01-26 09:16:06 -08:00
Kyle Pittman
c4608b1b7c Update interface Env.beforeEach/All and Env.afterEach/All (#23133)
Updates the signatures for `interface Env` before/after/each/all functions to match their global partners. See lines 50-73.
2018-01-26 09:15:04 -08:00
Tiger Oakes
29d9e1b3b4 Fabric.js: Replaced some any types, fixed subclass return types, fixed #15811 (#23113)
* Adjusted fabric.Object so that chainable methods return superclass type instead of fabric.Object.

Also changed type of propertiesToInclude to string[] instead of any[]. Other methods related to props, such as `get()`, refer to properties as strings.

* Small tweaks to types
setBackgroundImage can omit callback
cornerStrokeColor is a property on object
rotateVector and qrDecompose are misc util functions

* Changed parameter types to be more precise. Used mapped types in get/set to enforce correct corresponding types

* Renamed non-existent classes and replaced with correct fabric classes

* Changed to pass linter
2018-01-26 09:14:40 -08:00
Flarna
b064f807f7 [node] Add Api changes for 9.4.0 (#23039)
* [node] add writable.writableLength and readable.readableLength to stream

* [node] allow DataView and ArrayBuffer for zlib apis

* [node] add EventEmitter.rawListeners()

* [pty.js] Remove implements stream.Stream as Terminal implements only parts of it

* [node] update version to 9.4.0
2018-01-26 09:11:51 -08:00
Larry Faudree Jr
ea4334a941 Update/auth0-lock: Add checkbox support for signup fields (#23182)
* updated index.d.ts and added passing test

* add union of types for signupfields
2018-01-26 09:09:35 -08:00
Sergey Rubanov
18c1596bad [chart.js] Add missing legend label configuration options (#23157) 2018-01-26 09:08:30 -08:00
HyunSeob
0514c038e2 Add typings for @storybook/addon-a11y (#23210) 2018-01-26 09:07:34 -08:00
gcottrell1
7470a4310e Update types for React-Native-Video to allow passing of error and data objects to onError and onLoad callbacks respectively (#23209)
* Add types for onLoad and onError

* Clean up and add tests
2018-01-26 09:06:59 -08:00
smhxx
417ea06896 atom: add PackageManager.deactivatePackage() method (#23208) 2018-01-26 09:06:08 -08:00
Resi Respati
1be865457a [screeps] update to version 2.2.0 (#23204) 2018-01-26 09:05:23 -08:00
Matthias Dailey
27d3a88ae3 Object3D updates (#23203)
* Object3D updates

* Fix tests referring to old `shading` property.
2018-01-26 09:04:43 -08:00
Jason Waldrip
56e3995300 Add typings for graphql-iso-date (#23202)
* Create index.d.ts

* Create tsconfig.json

* Update index.d.ts

* add graphql-iso-date types

* fix tests

* add strict function types
2018-01-26 09:03:21 -08:00
Andrew Crites
00ae13ffe2 blessed: correct some typining issues (#23200)
* Screen debug option is a boolean. The class itself also has a method called debug.
* Screen spawn arguments and options parameters are optional
2018-01-26 09:02:44 -08:00
David Skx
be5cb7d731 feat: add react-select props for v1.2.1 (#23213)
* feat: add props for v1.2.1

* fix: linter issues
2018-01-26 09:01:58 -08:00
Oliver Joseph Ash
39150f4ac8 webpack: WatchOptions.ignored accepts string[] (#23214)
https://webpack.js.org/configuration/watch/#watchoptions-ignored
https://github.com/micromatch/anymatch
2018-01-26 09:01:36 -08:00
Liad Idan
20122e2888 Add missing property to Pickadate (#23217)
* Add missing property to Pickadate

Add `weekdaysLetter` property to Pickadate.DateOptions
6da429c597/dist/js/materialize.js (L5905)

* Update index.d.ts
2018-01-26 09:00:57 -08:00
Kræn Hansen
5011030133 Renaming Input's size property to bsSize (#23219)
See
cc2bd1386f
2018-01-26 09:00:34 -08:00
Eugene Rodin
b66d7c92ce Added definitions for react-dynamic-number npm package (#23165)
* feat(ReactDynamicNumber): added definitions for RDN

* feat(ReactDynamicNumber): fix validation and linter

* feat(ReactDynamicNumber): PR remarks corrected
2018-01-26 08:59:01 -08:00
Matthias Dailey
45457bbbc9 Add callback to olx.view.FitOptions. (#23199)
* Add `callback` to `olx.view.FitOptions`. See http://openlayers.org/en/latest/apidoc//ol.View.html#fit

* Use existing AnimateCallback type
2018-01-25 13:42:33 -08:00
Jan Lohage
9dec8df964 fix(@feathersjs/various): proper module augmentation, add reexports (#23195)
* fix feathersjs__{authentication-client,express,socket-commons}

* fix feathersjs__authentication-client
2018-01-25 13:41:41 -08:00
dmitryshindin
5ec69dfcc8 Add width property to tick configuration (#23196) 2018-01-25 10:51:38 -08:00
Gilad Gray
6361a8f219 update dom4 types for v2.0 (#23178)
* update dom4 types for v2.0

> **New v2:** Both `query` and `queryAll` have been removed, while CSS `:scope` selector has been added.

* spelling
2018-01-25 09:56:18 -08:00
Matthew Leffler
65e61a6d88 GraphQL: Add schema printer options (#23180)
* Add schema printer options

These were added with https://github.com/graphql/graphql-js/pull/927, RFC: Descriptions as strings.

* Explicitly define allowed printer options
2018-01-25 09:55:38 -08:00
vitalibozhko
4ff3b88cee storejs incorrect enabled flag type. (#23181) 2018-01-25 09:54:56 -08:00
Sergei Dorogin
d72c2f781d waypoints.jquery: jQuery Adapter of waypoints 4.x (jquery.waypoints) (#23170)
* jQuery Adapter of waypoints 4.x (jquery.waypoints)

waypoints: refactoring of WaypointOptions to allow waypoint.jquery definition (common options extracted into base interface - WaypointOptionsBase)

* waypoints.jquery: set TypeScript version as 2.3

* waypoints.jquery: fixes: context moved to WaypointOptionsJQuery and WaypointOptions; waypoints-jquery-tests.ts renamed to waypoints.jquery-tests.ts

* waypoints.jquery: fixes: removed BOM in waypoints.jquery-tests.ts

* waypoints: waypoints.jquery has been moved into waypoints (as waypoints/jquery.d.ts)

* waypoints: fixes: waypoints-tests.ts: fixed prefer-const  Identifier 'waypoint1' is never reassigned; use 'const' instead of 'let'.
2018-01-25 09:13:42 -08:00
Vito
4ed51b52ab improve pubnub typings (#23085) 2018-01-25 09:13:21 -08:00
Rasmus Halland
21cd9a3ab3 ckeditor: Added and modified some definitions. (#23079) 2018-01-25 09:12:53 -08:00
Hidde Stokvis
75f317ef3b Add typing to Role.registerResolver function (#23074) 2018-01-25 09:11:57 -08:00
Łukasz Bendykowski
75b0fc7a78 Update moment-duration-format typings to version 2.2 (#23052)
* Update moment-duration-format typings to version 2.2

* Remove omitted trailing whitespace
2018-01-25 09:09:21 -08:00
Rich B
3fb7ee705b Add several missing typings for the recharts Tooltip Component (#23057)
* Correct several missing typings

* fix linting errors
2018-01-25 09:01:07 -08:00
Antoine Niek
3c6fcb55cb Fix react-bootstrap DropdownButton title prop (#23059)
Don't narrow down DropdownButton title prop type with
more restrictive title prop coming from React.HTMLProps.
2018-01-25 08:59:54 -08:00
Jinesh Shah
67a3798e33 added searchableAttributes (#23194)
searchableAttributes was missing in AlgoliaIndexSettings
2018-01-25 08:55:41 -08:00
vdfor
c505a992f7 [echarts]Supported when include ECharts charts and components on demand (#23127) 2018-01-25 08:27:38 -08:00
stefdelec
0a704bbc7b Update index.d.ts (#23154)
Add getCountryCodeForRegion method in PhoneNumberUtil
2018-01-25 08:25:07 -08:00
Adam
4ea855971c Fix trial_end type to allow special value 'now' (#23149)
* Fix trial_end type to allow special value 'now' which is mentioned in the docs.

* Updated trial_end type to be more specific and added type tests
2018-01-25 08:24:32 -08:00
Egor Shulga
3e9c07fe9e [react-native-tab-view] SceneMap should support all React.ComponentType's (#23188) 2018-01-25 08:10:44 -08:00
Martin Payne
4d1d1b5ecb readline-sync: added 'cancel' property into BasicOptions (#23176) 2018-01-25 07:57:02 -08:00
albertywu
4fd902f173 adds typings for async-retry npm package (#23175) 2018-01-25 07:56:44 -08:00
taoqf
19a9b642cf add package jsreport-core (#22913)
* add package jsreport-core

* add type string as `recipe` and `engine`

* improve type definition
2018-01-25 07:32:00 -08:00
Jan Aagaard
00ab527933 zapier-platform-core: Add methods related to tests (#23158)
* Add methods related to tests

* Slightly more specific method signatures

* Add missing 'await'

* Fix linting issues
2018-01-25 07:27:28 -08:00
Eloy Durán
6fa86af96d Merge pull request #23072 from iRoachie/rnmu-toolbar
feat(react-native-material-ui): Add onRightElementPress callback info
2018-01-25 08:20:50 -05:00
stesix
c54b691628 Update scrypt-async types to version 1.3.1 (#23163)
* Update scrypt-async types to version 1.3.1

* Change namespace for scrypt-async

Changing the declaration of the namespace will merge the interface
definitions in the exported object. This allows to use scrypt.Options as
a type.

* Fix wrongly defined interfaces in test
2018-01-24 15:13:16 -08:00
Andy
6d3193f7aa oauth2-server: Fix 'express' import (#23173) 2018-01-24 12:37:02 -08:00
Yoyo Zhou
f51e60a117 kafka-node: Fix type of Message.key to be optional string (#23041)
key is not a number, it's a string. See KeyedMessage constructor, above.

(However, if `encoding` is specified as "buffer" in ConsumerOptions then `key` and `value` are actually `Buffer` rather than `string`. I'm not sure if it's possible to specify this better than `string|Buffer` since it may not be knowable at compile time.)
2018-01-24 12:02:52 -08:00
Apurva Ojas
bd5a9a9abe Enhancement @types/three Added definition for THREE.FilmPass #14042 (#22981)
* feat(FilmPass): Added Definition for Three.FilmPass

#14042

* fix(THREE.FilmPass): Definition update

fixed grayscale type, changed to boolean

#14042

* chore(THREE.FilmPass): Added name to efinitions By

#14042

* chore(THREE.FilmPass): Definitions added of variables and functions

#14042

* feat(THREE.Pass/THREE.FilmPass): Added Definitions for THREE.Pass and Extend it on THREE.FilmPass

#14042

* chore(THREE.FilmPass): Removed render function declarartion as it extends from Pass

#14042
2018-01-24 12:01:34 -08:00
Neil Gentleman
038d712743 [p-limit] fix generics (#23066)
generated limit functions don't care about types, but preserve the return
type of the function that they are passed.
2018-01-24 12:00:46 -08:00