Commit Graph
57967 Commits
Author SHA1 Message Date
Daniel Byrne b0b93b3957 adds typings for the 'mali-onerror' package (#28570)
- [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).

If adding a new definition:
- [x] The package does not already provide its own types, or cannot have its `.d.ts` files generated via `--declaration`
- [x] If this is for an NPM package, match the name. If not, do not conflict with the name of an NPM package.
- [x] Create it with `dts-gen --dt`, not by basing it on an existing project.
- [x] `tslint.json` should be present, and `tsconfig.json` should have `noImplicitAny`, `noImplicitThis`, `strictNullChecks`, and `strictFunctionTypes` set to `true`.
2018-09-10 15:41:01 -07:00
strongpauly 5f45124e79 react-big-calendar: Allow functions to be used as formats. (#28406)
* Add functions to formats.  Add drag and drop.

* Correct linting.

* Update tests.

* Remove drag and drop as I don't have the time to figure out how to do that properly.

* Restore typescript version.
2018-09-10 15:40:08 -07:00
Fouad Chamoun 78a53765b5 [@types/moment-timezone] Fix return type of tz function in Moment interface (#28453)
Unless moment.Moment is specified, IDEs think the function's return type is the Moment interface that contains the function.

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.)
- [ ] 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:
- [ ] Provide a URL to documentation or source code which provides context for the suggested changes: <<url here>>
- [ ] Increase the version number in the header if appropriate.
- [ ] If you are making substantial changes, consider adding a `tslint.json` containing `{ "extends": "dtslint/dt.json" }`.
2018-09-10 15:39:12 -07:00
Bret Copeland e37f8ccf0b Add HeadingPitchRoll type to Cesium (#28462) 2018-09-10 15:38:51 -07:00
Ihor Chulinda bf834d9c79 feat(styled-components): ability to define theme without creating wraper (#28590)
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.)
- [ ] ~~Add or edit tests to reflect the change. (Run with `npm test`.)~~ _doesn't seem to be required in this case_
- [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).

- [x] Provide a URL to documentation or source code which provides context for the suggested changes: https://github.com/styled-components/styled-components/pull/1895
- [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 15:24:42 -07:00
atesbana 78a24ac208 Update index.d.ts (#28605) 2018-09-10 15:23:31 -07:00
Kiwi 2884e78a3a Use recommended definition for Omit (#28613) 2018-09-10 15:18:01 -07:00
Pablo Varela ce00e9b8de Export EditorChangeType for draft-js (#28620) 2018-09-10 15:14:52 -07:00
sgotre 2ba7a343a6 [@types/video.js] Add methods seeking() & seekable() (#28632)
* [@types/video.js] Add methods seeking() & seekable()

Methods according to video.js documentation 
https://docs.videojs.com/player

* fix codestyle

* code style
2018-09-10 15:14:16 -07:00
prabodht 493073a4f0 [reactstrap] Added Typings for UncontrolledCollapse (#28638) 2018-09-10 15:13:34 -07:00
Mike North 9e32fc7a79 [@types/ember] - Fix several "empty check" function zero-argument cases (#28686)
* fix: allow Ember.typeOf zero-argument case

Fixes: https://github.com/typed-ember/ember-cli-typescript/issues/260

* fix: remove outdated Ember.String.fmt

Fixes: https://github.com/typed-ember/ember-cli-typescript/issues/280

* fix: allow zero-argument usage of Ember.isBlank, .isEmpty, .isPresent and .isNone

Fixes https://github.com/typed-ember/ember-cli-typescript/issues/258
Fixes https://github.com/typed-ember/ember-cli-typescript/issues/255
Fixes https://github.com/typed-ember/ember-cli-typescript/issues/256
Fixes https://github.com/typed-ember/ember-cli-typescript/issues/254
2018-09-10 14:58:51 -07:00
Tim Mensch 0877f1647f feathersjs__feathers: Add missing members and docs to HookContext (#28612)
* Add missing members and document HookContext

* Add optional statusCode and dispatch values to HookContext.
* Add docs to HookContext.
* Fix tslint.json to ignore file name casing (the existing test file wasn't passing).
* Add tests.

* Add readonly and make some members non-optional

* Several properties are readonly. They're marked as such in TypeScript now.
* Those types are also not optional. Nor is `params`. So optional flags were removed.
2018-09-10 14:57:47 -07:00
Asgeir Sognefest 961bf53bf1 Fix typo in web3 (#28645)
Just updated "web3.ssh" to "web3.shh".
2018-09-10 14:57:04 -07:00
WillGibson f5aa57dcab Update sanitize-html tests to cover with & without parser options (#28682)
See https://github.com/punkave/sanitize-html/issues/248#issuecomment-418859354 for context

Re: "Increase the version number in the header if appropriate." My brain is not able to figure out what that means.

- [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).

If changing an existing definition:
- [x] Provide a URL to documentation or source code which provides context for the suggested changes: <<url here>>
- [ ] Increase the version number in the header if appropriate.
- [ ] If you are making substantial changes, consider adding a `tslint.json` containing `{ "extends": "dtslint/dt.json" }`.
2018-09-10 14:56:08 -07:00
Jinesh Shah a7201a4a4b Added missing attributes (#28687)
Please fill in this template.

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

Select one of these and delete the others:

If adding a new definition:
- [ ] The package does not already provide its own types, or cannot have its `.d.ts` files generated via `--declaration`
- [ ] If this is for an NPM package, match the name. If not, do not conflict with the name of an NPM package.
- [ ] Create it with `dts-gen --dt`, not by basing it on an existing project.
- [ ] `tslint.json` should be present, and `tsconfig.json` should have `noImplicitAny`, `noImplicitThis`, `strictNullChecks`, and `strictFunctionTypes` set to `true`.

If changing an existing definition:
- [ ] Provide a URL to documentation or source code which provides context for the suggested changes: <<url here>>
- [ ] Increase the version number in the header if appropriate.
- [ ] If you are making substantial changes, consider adding a `tslint.json` containing `{ "extends": "dtslint/dt.json" }`.

If removing a declaration:
- [ ] If a package was never on DefinitelyTyped, you don't need to do anything. (If you wrote a package and provided types, you don't need to register it with us.)
- [ ] Delete the package's directory.
- [ ] Add it to `notNeededPackages.json`.
2018-09-10 14:55:33 -07:00
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
mscharlock 5c4969bc9b adding information about officeruntime and customfunctionsmapping 2018-09-10 12:32:41 -07:00
whyn07m3 149e866070 onmessage fix 2018-09-10 15:31:21 -04:00
whyn07m3 900c008399 added root files to v34 2018-09-10 14:35:01 -04:00
whyn07m3 a8c001b837 initial 2018-09-10 14:32:10 -04:00
Donam Kim cbcc096e3c Remove unnecessary imports 2018-09-11 00:40:27 +10: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
Donam Kim 349ab453cd Fix unlockAccount func parameters 2018-09-10 23:27:32 +10:00
Simon 42a696eb74 Export helper types ViewStyle and TextStyle 2018-09-09 15:55:12 -05:00
Sebastian Silbermann 705f7fcc5b react-jss: Trigger build 2018-09-08 18:25:45 +02:00
Sebastian Silbermann 42d7dd2589 react-jss: remove @types dependencies 2018-09-08 17:51:50 +02: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
Sebastian Silbermann 2546493425 react-jss: add definitions 2018-09-08 16:37:02 +02: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