Commit Graph
49991 Commits
Author SHA1 Message Date
Pierre Buyle 7c1ab4c1e9 Cursor's batchSize is optional in aggregate (#28710)
The `batchSize` property of the `cursor` option in `Collection.aggregate` is optional.
2018-09-10 14:53:20 -07:00
Leon Machens e6eb2177e0 fix(meteor): fix server-render renderIntoElementById (#28717)
* fix(meteor): fix server-render renderIntoElementById

* add tests

* add to header
2018-09-10 14:52:34 -07:00
Sander de Waal b0ff189fbb ftpd typings: error and result can both be undefined for readdir, open, stat in FtpFileSystem. (#28707)
Please fill in this template.

- [X] Use a meaningful title for the pull request. Include the name of the package modified.
- [X] Test the change in your own code. (Compile and run.)
- [X] Add or edit tests to reflect the change. (Run with `npm test`.)
- [X] Follow the advice from the [readme](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#make-a-pull-request).
- [X] Avoid [common mistakes](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#common-mistakes).
- [X] Run `npm run lint package-name` (or `tsc` if no `tslint.json` is present).

Select one of these and delete the others:

If changing an existing definition:
- [X] Provide a URL to documentation or source code which provides context for the suggested changes: 

```
import * as fs from "fs";

fs.readdir("./non-existing-dir", (error, files) => {
	// Will print "error: ..."
	console.log("error: ", error);
	// Will print "files: undefined"
	console.log("files: ", files);
});
fs.readdir("./existing-dir", (error, files) => {
	// Will print "error: null"
	console.log("error: ", error);
	// Will print "files: ..."
	console.log("files: ", files);
});
```

- [X] Increase the version number in the header if appropriate.
- [x] If you are making substantial changes, consider adding a `tslint.json` containing `{ "extends": "dtslint/dt.json" }`.
2018-09-10 14:51:48 -07:00
Hyunyoung Cho c7e5d39459 Fix: missing passReqToCallback property for passport-naver (#28723) 2018-09-10 14:49:59 -07:00
Hyunyoung Cho 36ee07bd00 Fix: missing passReqToCallback for passport-kakao (#28722)
* Fix: missing passReqToCallback property for passport-kakao

* Fix: only major.minor version allowed
2018-09-10 14:48:37 -07:00
Paul 37b5c6a8e4 Better describe A-Frame using imports. Remove namespaces. (#28661)
This update removes the usage of namespaces in an effort to just be able to use A-Frame directly from an import.

These types are based on [this branch](https://github.com/devpaul/aframe-experiments/tree/576e4557b1d32d6e936cfa727796d5ff8306a11a/%40types) of work in my [a-frame experiements](https://github.com/devpaul/aframe-experiments) repo. Please take a look over there to see more complete usage and examples.
2018-09-10 14:48:06 -07:00
Sean Zhu 2b62080d62 [quill] getSelection can return undefined (#28736) 2018-09-10 14:46:21 -07:00
angela-1 6044dd7c47 add family option to mongodb SocketOptions (#28748)
* add family option to SocketOptions.

* give the family value of mongodb type SocketOptions.
2018-09-10 14:44:00 -07:00
Bradley Odell a51609a3eb Updated "delaunator" typings to version 2.0+ (#28665)
* Updated "delaunator" typings to version 2.0+

* Added "d3-delaunay" types for version 4.1.
2018-09-10 14:43:30 -07:00
Matt R. Wilson 2cbd45cb2a [@types/knex] Update ChainableInterface. (#28716)
Fixes #28679.

As I [noted in a comment](https://github.com/DefinitelyTyped/DefinitelyTyped/issues/28679#issuecomment-419265731) on the original issue, the class-like objects [`Raw`](https://github.com/tgriesser/knex/blob/master/src/raw.js#L191-L193), [`QueryBuilder`](https://github.com/tgriesser/knex/blob/2183a278268dc7aedf5edeccecb99176b9827f27/src/query/builder.js#L1074), and [`SchemaBuilder`](https://github.com/tgriesser/knex/blob/232fe9f1517dba927f6a3a1fb1b8842d7c0a4007/src/schema/builder.js#L68) use a [utility file](https://github.com/tgriesser/knex/blob/master/src/interface.js) to extend a handful of methods onto them.
The contents of this file are represented in the `ChainableInterface` interface.

Changes made:
- Updated `SchemaBuilder` to extend `ChainableInterface`.
- Moved `debug`, `transacting`, and `connection` from `QueryInterface` to `ChainableInterface`.
- Removed `exec` from `ChainableInterface` as it was [removed 0.12.0](https://github.com/tgriesser/knex/blob/master/CHANGELOG.md#0120---13-sep-2016).
2018-09-10 14:41:16 -07:00
Hunter Tunnicliff 3ff332729a Fix Stripe.customers.ICustomer.metadata (#28720)
The Stripe API always returns `ICustomer` objects with the `metadata` property as `IMetadata`. It is never `undefined`, as the current definition suggests.
2018-09-10 14:40:47 -07:00
Mike North 35c62f9a6f [ember] relax Ember.set while we figure out CP unwrapping again (#28734)
* [ember] relax types while we figure out CP unwrapping again (failing test)

* [ember] relax types while we figure out CP unwrapping again
2018-09-10 14:38:45 -07:00
ComFreek 05174c0e6a libxmljs: add typings for validation (#28737)
- [x] Use a meaningful title for the pull request. Include the name of the package modified.
- [x] Test the change in your own code. (Compile and run.)<br>
      <s>@lorenzleutgeb Could you please do this as I don't use libxmljs at the moment.</s> [See below.](https://github.com/DefinitelyTyped/DefinitelyTyped/pull/28737#issuecomment-419709955)
- [x] Add or edit tests to reflect the change. (Run with `npm test`.)
- [x] Follow the advice from the [readme](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#make-a-pull-request).
- [x] Avoid [common mistakes](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#common-mistakes).
- [x] Run `npm run lint package-name` (or `tsc` if no `tslint.json` is present).

Select one of these and delete the others:

If changing an existing definition:
- [x] Provide a URL to documentation or source code which provides context for the suggested changes: https://github.com/libxmljs/libxmljs/wiki/Document/_compare/3cec662a9e8009e72eea1ea5421457c898deebb8...1699417611b7149f1e59533a6a1691d9dbbbdc95
2018-09-10 14:37:59 -07:00
Benedict Etzel 073542cf4b twitch-ext: Update to 1.15 (#28740) 2018-09-10 14:35:55 -07:00
Piotr Roszatycki 3464a4f5a0 nodemailer; for send() method message is Readable (#28747)
* for send() method message is Readable; more EventEmitter methods

* nodemailer: dtslint tweaks
2018-09-10 14:35:44 -07:00
Jiayu Liu 0a583cbe13 fix weixin-app, add this type to intersection observer (#28754) 2018-09-10 14:35:04 -07:00
Michael Strobel c86f6b0ccf [webpack-bundle-analyzer] Add excludeAssets option (#28756)
This was added in webpack-bundle-analyzer 2.12.0
2018-09-10 14:33:07 -07:00
Junyoung Clare Jang 0125d65fd5 Fix unselectable (#28763) 2018-09-10 22:31:21 +01:00
Eloy Durán 0bf5d0cb86 Merge pull request #28685 from sstur/fixRNMUI
[react-native-material-ui] Correctly type style prop
2018-09-10 15:45:57 +02:00
Eloy Durán 0f2751e3a1 Merge pull request #28732 from iyegoroff/react-native
react-native: fixed Animated.EventConfig
2018-09-10 15:32:51 +02:00
Simon 42a696eb74 Export helper types ViewStyle and TextStyle 2018-09-09 15:55:12 -05:00
iyegoroff 7f0cd433de Update animated.tsx 2018-09-08 18:30:18 +03:00
iyegoroff 4e5b1485d6 added Animated.event test 2018-09-08 18:24:12 +03:00
iyegoroff f72507f3c5 fixed Animated.EventConfig 2018-09-08 18:02:19 +03:00
Eloy Durán 3925a1622a Merge pull request #28697 from Lavoaster/styled-system/3.0.3
styled-system: Upgrade to 3.0.3
2018-09-08 08:30:25 +02:00
Mine Starks 4a04d16800 Merge pull request #28711 from jonasheinrich/jest-plugin-context
Add types for jest-plugin-context
2018-09-07 16:56:16 -07:00
Mine Starks bd3c645f32 Merge pull request #28662 from Hirse/ontime
Add definitions for npm package ontime
2018-09-07 16:53:13 -07:00
Mine Starks 7f4c0d3a0f Merge pull request #28643 from m93a/patch-4
Add module ml-levenberg-marquardt
2018-09-07 16:51:53 -07:00
Mine Starks 28afc23562 Merge pull request #28591 from JacobFischer/chess.js
adds typings for the 'chess.js' package
2018-09-07 16:44:46 -07:00
Mine Starks 2c9b84e31b Merge pull request #28579 from jonfreedman/antlr4-autosuggest
antlr4-autosuggest typedef
2018-09-07 16:43:38 -07:00
Mine Starks ebd7c9f488 Merge pull request #28424 from joonhocho/patch-1
graphql-relay/index.d.ts: after, before, first, last can be null or undefined
2018-09-07 16:37:54 -07:00
Mine Starks 0aad698257 Merge pull request #28489 from zyh825/master
update typings for the 'react-rnd' package version 7.4
2018-09-07 16:36:03 -07:00
Mine Starks 643b11ccd8 Merge pull request #28483 from domesticmouse/master
googlemaps formated with clang-format
2018-09-07 16:32:24 -07:00
Sana Ajani 1ffc72eda5 Merge pull request #28586 from prince0203/add-electron-load-devtool
Add type definitions for electron-load-devtool
2018-09-07 16:29:29 -07:00
Mine Starks c2532d2c8d Merge pull request #28671 from Alorel/through2-concurrent-types
Add through2-concurrent types
2018-09-07 16:24:23 -07:00
Sana Ajani 8267be6090 Merge pull request #28226 from panascais-forks/i18next-fs-options
[i18next-node-fs-backend] add parse option
2018-09-07 16:24:03 -07:00
Sana Ajani ecabcf7995 Merge pull request #28701 from SimonSchick/bell/pass-through-fix
fix(bell): fix return type of `simulate` callback
2018-09-07 15:56:38 -07:00
Sana Ajani 523c3c8389 Merge pull request #28656 from danwbyrne/update-env-paths
adds `boolean` as an acceptable `suffix` option
2018-09-07 15:50:18 -07:00
Mine Starks a5ec06bb0c Merge pull request #28485 from Syncfusion-JavaScript/master
16.2.50 added
2018-09-07 15:49:15 -07:00
Mine Starks 2eff76d838 Merge pull request #28273 from saenglert/master
[socket.io-p2p] Added d.ts for socket.io-p2p
2018-09-07 15:47:43 -07:00
Sana Ajani bb365cde3b Merge pull request #28684 from sclassen/improveBlockUi
angular-block-ui: add missing parameter to method done()
2018-09-07 15:47:35 -07:00
Sana Ajani cf27a7ee19 Merge pull request #28658 from danwbyrne/update-ip-address
removes an extra `address` from the 'fromAddress4' method
2018-09-07 15:42:54 -07:00
Mine Starks e02a616b34 Merge pull request #28603 from djereg/master
New package: react-native-mauron85-background-geolocation
2018-09-07 15:33:33 -07:00
Mine Starks 9fd18b7cf7 Merge pull request #28518 from yousky/master
adds typings for the 'node-gcm' package
2018-09-07 15:31:32 -07:00
Mine Starks 0d31a00238 Merge pull request #28616 from Guanyunhan/feature/dplayer
add dplayer definition
2018-09-07 15:29:57 -07:00
Mine Starks f01a82e714 Merge pull request #28599 from keylockerbv/master
StripeJS V3.0 Typings for Stripe.js API
2018-09-07 15:28:29 -07:00
Mine Starks be6085e575 Merge pull request #28563 from singuerinc/dat-gui
Update dat.gui definition
2018-09-07 15:15:26 -07:00
Sana Ajani 244ccf1d3e Merge pull request #28652 from silver-curve/set-return-type-on-ember-htmlSafe-function
Set return type on ember html safe function
2018-09-07 15:11:57 -07:00
Sana Ajani 2aba98713a Merge pull request #28316 from deepcoldy/master
add createIntersectionObserver for weixin-app
2018-09-07 15:04:53 -07:00
Sana Ajani 60345e6b19 Merge pull request #28719 from joinarthur/uploadcare
added Uploadcare types
2018-09-07 15:00:05 -07:00