Commit Graph
50048 Commits
Author SHA1 Message Date
Daniel Perez Alvarez a1815b3f70 Update types for cometd 4.0 2018-09-17 11:15:14 -07:00
Armando Aguirre 5f7be1fd62 Merge pull request #28794 from mike-north/react-tf-tests
[react-table-filter] fixes for build errors on DefinitelyTyped/master
2018-09-12 10:33:39 -07:00
Mike North 9f0266511c [react-table-filter] build fixes 2018-09-11 10:43:39 -07:00
Armando Aguirre 6d9d1c7a92 Moved react-table-filter inside types folder (#28759)
* Moved react-table-filder inside types folder

* Moved react-table-filder inside types folder
2018-09-11 09:49:40 -07:00
David Pett bf29450ff9 add 'sketch' and 'vr' as platforms to react-primitives (#28674)
* add 'sketch' and 'vr' as platforms to react-primitives

* Update index.d.ts

* fixed lint warnings

* added test
2018-09-11 08:29:17 -07:00
Florian Barbare b883a3573a @types/payment Add formatCardNumber in the types (#28669)
I wanna use the `formatCardNumber` function standalone but it is not defined in the types yet, so there we go.
2018-09-11 08:27:22 -07:00
Buck Supergoose 822fafc157 Fix #28598 (#28668)
Allow VRLayer left and right bounds to accept types of number[], Float32Array or null.
2018-09-11 08:26:48 -07:00
Ryokik f439710d62 Fix default export usage in my definition for react-global-configuration (#28775)
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 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:
- [x] Provide a URL to documentation or source code which provides context for the suggested changes: **`react-global-configuration` is not changed. this is fixing mistake of my definition.**
- [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" }`.

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-11 08:24:35 -07:00
Gordey Doronin c812b16876 [node-resque] Fix to not depend on @types/events npm package. (#28777) 2018-09-11 08:23:03 -07:00
various89 95d036d4b6 adds session and multi-document transactions to mongodb / mongoose (#28745)
* adds sessions and multi-document transactions

* avoid duplicate interfaces
extends options of GridFSBucketWriteStream

* adds type for options paramater of method withSession
2018-09-11 08:20:50 -07:00
Alex Jerabek a9afdfa97d [office-js] Adding links to Excel conceptual topics and removing "relationship" term (#28771)
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).
2018-09-11 08:19:20 -07:00
Thomas Hasner 960458f95c Remove myself as maintainer (#28772) 2018-09-11 08:16:44 -07:00
Linus Unnebäck 074ace3372 react-navigation: Add params to state property (#28703) 2018-09-11 08:16:19 -07:00
Piotr Roszatycki 65beaf9330 nodemailer: contentTransferEncoding and contentDisposition values (#28780) 2018-09-11 08:16:06 -07:00
Miika Hänninen a20e687b6d Ramda: accept ReadonlyArray in chain and flatten (#28779)
* Ramda: accept ReadonlyArray<U> in chain

The return value of the `fn` parameter in chain is an input value for
chain, so it should be a looser type than `[]`

* Ramda: accept nested ReadonlyArrays in flatten
2018-09-11 08:14:31 -07:00
Benedict Etzel 648f7536f6 [twitch-ext] Minor fixes and Bits (#28784)
* twitch-ext: Add missing popout flag to client query parameters

* twitch-ext: Add feature flags

* twitch-ext: Add bits
2018-09-11 08:13:27 -07:00
Ben Hodgson 664bd2ccfa [cookie-session] Add missing sameSite type. name value is optional (defaults to session). (#28624) 2018-09-10 19:26:50 -07:00
Mike North b5a595ff4f [ember] @ember/string prototype extensions, additional tests and fixes (#28695)
* [ember] @ember/string prototype extensions, additional tests and fixes

* [ember] @ember/string w/ prototype extensions - test fixes
2018-09-10 18:48:15 -07:00
Mike North 59f25426d5 [ember] refine types for Ember.tryInvoke (#28693)
* [ember] refine types for Ember.tryInvoke

* [ember] tryInvoke as three function heads
2018-09-10 18:47:45 -07:00
tup1tsa 2a2f49e0d0 definitions for numeric (#28714)
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 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 18:36:01 -07:00
Daniel Byrne 6b5a69b2ca directory should be optional here (#28659) 2018-09-10 18:30:04 -07:00
Ryokik a177a87c7d Add type definition for react-native-navbar (#28746) 2018-09-10 17:07:22 -07:00
Alexander Fisher 8a155514f4 Add types for react-lifecycle-component (#28635)
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 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 17:04:18 -07:00
Henri Normak 7f376606df feat: add definitions for react-sparklines (#28640) 2018-09-10 17:03:32 -07:00
ly-cultureiq e4e063b8bd d3.cloud.layout -> d3-cloud (#28650) 2018-09-10 16:59:11 -07:00
bfrengley c58c60d897 [@types/when] Restore parameterless when.resolve() and allow (#28593)
parameterless when()
2018-09-10 16:52:06 -07:00
S McDowall b443752450 Add types for koa-requestid (#28676)
Simple interface for the koa-requestid Middleware.

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 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 16:49:41 -07:00
newraina 7a6975097c add object-keys-mapping (#28664) 2018-09-10 16:49:00 -07:00
Sam Li a7a32c6740 Add typings for parse5-html-rewriting-stream (#28660)
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 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 16:48:29 -07:00
Art 3aa09e4e52 Add gulp-sequence types (#28673)
* Add gulp-sequence types

* Reordered definitions

Auto-generated definitions now appear at the bottom
2018-09-10 16:45:09 -07:00
Mike North ab3385dc52 [@types/ember__utils] refactor types out of @types/ember, more tests (#28680)
* [@types/ember__utils] refactor types out of @types/ember, add additional tests

* fix: enforce strict function types
2018-09-10 16:42:16 -07:00
Gordey Doronin cbe40f534c Add typings for [node-resque] library. (#28678) 2018-09-10 16:40:42 -07:00
Jonas Heinrich 8c4d561427 Add types for jest-plugin-set (#28712) 2018-09-10 16:38:11 -07:00
Boye Borg 2b9558d869 Type definitions for "typography.js" (#28625)
* autogenerate files

* add strictFunctionTypes

* create type definitions for typography.js

* add type tests

* use pascal case instead of camel case
2018-09-10 16:10:37 -07:00
eduhenke a60fadd782 Add typings to bip32 (#28607) 2018-09-10 16:10:14 -07:00
pastushenkoy 64eaf72fec Type definitions for "react-currency-formatter" (#28623)
* Type definitions for react-currency-formatter added.

* Format change according to linter

* Added author.
2018-09-10 16:05:59 -07:00
maple 9dc89875c4 Create Type Definitions for google-translate-api (#28589)
* Create Type Definitions for google-translate-api

* Add semicolons to google-translate-api
2018-09-10 16:04:04 -07:00
Dario Blanco 83ab8585ca Add type definitions for twilio-video 2.0 (#28588)
* Create basic twilio-video 2.0 types

* Fix indentation in tests
2018-09-10 16:02:20 -07:00
Cecchi MacNaughton 4203215339 [react-hammerjs]: Update to v1.0 (#28508) 2018-09-10 15:59:45 -07:00
Mick Lawitzke a6e137333d Corrected interface for Recognizer (#28262)
recognizeWith(), requireFailure(), dropRequireFailure(), dropRecognizeWith():

- Should not be declared twice
- Should accept array of Recognizer, too
2018-09-10 15:59:05 -07:00
ltlombardi 8c7902a782 Add JSDoc to observableArray methods (#28275)
I added JSDoc to all the observableArray methods and fixed some spacing irregularities in the file(extra or missing space)

I'm happy to add JSDoc for all the rest of the methods, but I would like to first know If these are gonna be accepted before doing all the work.

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).
- [ ] Run `npm run lint package-name` (or `tsc` if no `tslint.json` is present). 

(tried but failed execute the two above tests. Could not figure it out how to do it.)
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: <<http://knockoutjs.com/documentation/observableArrays.html>>
- [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:45:41 -07:00
Tim Weißenfels f38d6d0619 @types/firefox-webext-browser fix for broken enums (#28369)
* @types/firefox-webext-browser was not working with Typescript 2.9 23002

* fixed linting errors

* removed browser._manifest test

* changed expected type to `any`

* fix test (Property '_manifest' does not exist on type 'typeof browser')
2018-09-10 15:42:15 -07:00
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