Commit Graph
51584 Commits
Author SHA1 Message Date
mabidina 2d6f7180c4 fix fluent-ffmpeg logger interface, no warning method but warn exists (#28885)
Even if documentation says it, there is no `warning` methods for Logger object in fluent-ffmpeg 2.1.2
It is a `warn `method.
see  https://github.com/fluent-ffmpeg/node-fluent-ffmpeg/blob/v2.1.2/lib/fluent-ffmpeg.js [lign 76]
2018-09-17 00:44:50 -07:00
Mike North e79bb7f390 [@ember/string] Move types from ember (#28922)
* [ember] no longer re-create Handlebars namespace
- Fixes https://github.com/typed-ember/ember-cli-typescript/issues/309

* [ember] move @ember/string types to ember__string
Fixes https://github.com/typed-ember/ember-cli-typescript/issues/294
2018-09-17 00:42:27 -07:00
Ankur Oberoi 696e5f2e10 [passport-oauth2] Allows callbackURL option to be omitted in constructor of OAuth2Strategy (#28907)
* [passport-oauth2] callbackURL is an optional value

The implementation for this OAuth2Strategy handles `callbackURL` being undefined, so this more accurately describes the interface.

* Making at least one test case use no callbackURL
2018-09-17 00:41:54 -07:00
Simon Schick 9061b19a3c types(node): add changes from 10.10 (#28918)
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: https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V10.md#2018-09-06-version-10100-current-targos
- [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" }`.

RE: #28708

Lets try this again.
2018-09-17 00:39:14 -07:00
Dyma 7cd6d7398c Node - missing property on IncomingHttpHeaders (#28929)
Missing referer property on IncomingHttpHeaders
see: https://tools.ietf.org/html/rfc4229
2018-09-17 00:38:28 -07:00
James Bromwell 15d979e92a [webpack-dev-server] add tests for Stats, only allow specific strings (#28788)
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: https://webpack.js.org/configuration/stats/#stats
- [ ] 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" }`.


Ref #28362
2018-09-17 00:37:38 -07:00
Dyma f43a4d63c1 Mongoose - pre hook methods update (#28905)
Missing methods for pre hook
2018-09-17 00:35:03 -07:00
Thodoris Greasidis e869f8ca81 [angular-ui-sortable] Fix test failures caused by TypeScript@next (#28927)
Resolves: #28887
TBH this feels like a regression in TS 3.1.0-dev.20180915
2018-09-17 00:34:22 -07:00
James Messinger 073908ebd9 Type definitions for yargs.middleware() (#28725)
* Type definitions for the .middleware() method

The `.middleware()` method is [documented here](http://yargs.js.org/docs/#api-middlewarecallbacks)

* Updated the version number

* Moved the v11 definition to its own folder (https://github.com/DefinitelyTyped/DefinitelyTyped/pull/28725#pullrequestreview-153566231)

* updated the tsconfig.json for v11

* added an EOF newline
2018-09-17 00:33:43 -07:00
tyfkda f7738b9678 Fix example script for md5 (#28889)
'md5.d.ts' doesn't exist in the repository, so running md5-test fails.

Stop reading a file just for acquiring `Buffer`,
and create it from array.

----

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:
- ~~[ ] 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-17 00:33:05 -07:00
Jinesh Shah 91886422ba Fix exports to allow named exports (#28902)
* Fix exports

Fix exports so they can be name for "declaration: true" tsconfigs

* Updated tests

* Update tsconfig.json

* Update tslint.json
2018-09-17 00:32:34 -07:00
tyfkda e42f933081 Change md5 declaration to accepts Array<number> (#28891)
md5 accepts not only `string | Buffer`,
but also `Array<number>` from the beginning:

https://github.com/pvorb/node-md5/blob/master/md5.js#L19
2018-09-17 00:31:43 -07:00
Stéphane Monnot 373eab6d1c Update definitions for react-vertical-timeline-component (#28909) 2018-09-17 00:31:09 -07:00
tamnguyenvt 5016fdb13a papaparse: Allow to change papa.SCRIPT_PATH (#28932) 2018-09-17 08:29:59 +01:00
gianna 79cf98f52a Fluent-ffmpeg - Make the stream argument for the pipe function optional
- Per fluent-ffmpeg documentation: (https://github.com/fluent-ffmpeg/node-fluent-ffmpeg#pipestream-options-pipe-the-output-to-a-writable-stream) - “When no stream argument is present, the pipe() method returns a PassThrough stream, which you can pipe to somewhere else (or just listen to events on).”
2018-09-16 22:32:23 -07:00
Mike North d9c8fecb5f [ember] addObserver, removeObserver should return functions (#28921)
Fixes https://github.com/typed-ember/ember-cli-typescript/issues/290
2018-09-16 15:00:45 -07:00
Mike North 9a4fd80c8c [@ember/polyfills] Move types from ember (#28923)
https://github.com/typed-ember/ember-cli-typescript/issues/299
2018-09-16 15:00:28 -07:00
Martin Kiefel 891e77710a Fix slate-plain-serializer's default export
The slate-plain-serializer does not directly export its functions but uses an
object for its default export.
2018-09-16 21:21:56 +02:00
ZaneHannanAU b5e7823c29 Update .editorconfig 2018-09-17 05:13:56 +10:00
Bradley Ayers c7d547e221 fix(stripe): ISubscription.ended_at is nullable 2018-09-16 19:08:14 +10:00
William LeGate 2105750855 Updates tests 2018-09-15 19:17:04 -07:00
William LeGate 7ce22877a1 Updates array type declaration to comply with CI testing 2018-09-15 18:54:25 -07:00
William LeGate 0a937e8133 Removes franc patch version 2018-09-15 18:49:16 -07:00
William LeGate 8ed0d10d16 Adds 'strictFunctionTypes' to tsconfig 2018-09-15 18:41:23 -07:00
William LeGate 72466d36fc Removes comment that ca was causing a CI build failure 2018-09-15 18:36:28 -07:00
Terry Mun bf4b60d283 Updated tests to include prepending to document fragment 2018-09-15 11:51:22 +02:00
Terry Mun 8d250ffcd8 prependTo() and appendTo() should work with Element or DocumentFragment 2018-09-15 11:43:11 +02:00
Terry Mun 3253d8a83b Merge remote-tracking branch 'upstream/master' 2018-09-15 11:31:58 +02:00
mscharlock 51363d2e62 update to tests so it now runs 2018-09-14 15:13:54 -07:00
mscharlock 1de741110d Ok CFMapp now doesn't have errors but tests still not working 2018-09-14 15:08:55 -07:00
mscharlock 45c99bd450 making it ts 2018-09-14 14:34:54 -07:00
mscharlock 2d4a4a2b63 AHA finally fixing error 2018-09-14 14:33:57 -07:00
mscharlock 1def2646d9 renaming file 2018-09-14 14:32:50 -07:00
mscharlock 2bc6766ea5 removed office runtime 2018-09-14 14:30:08 -07:00
mscharlock e4928b84bc adding custom functions 2018-09-14 14:28:51 -07:00
Jordan Harband 461d2d5dfa revert < v9 changes, since they lack a type for the constructor itself 2018-09-14 14:25:57 -07:00
Jordan Harband 31519390e9 node: [fix] node buffers have a constructor property 2018-09-14 13:52:12 -07:00
mscharlock d9bbf7d830 Merge branch 'master' of https://github.com/mscharlock/DefinitelyTyped 2018-09-14 11:40:00 -07:00
mscharlock 3f604e91ae adding office-runtime folder 2018-09-14 11:37:46 -07:00
Sibelius Seraphini 3657f0992f feat(graphql): add deprecationReason in mutationConfig 2018-09-14 15:29:46 -03:00
Will Garcia 5099333846 @types/joi add dataUri type definition (#28727) 2018-09-14 10:40:52 -07:00
Dario Blanco c472319d6d twilio-video 2.0.0-beta1 types fix (#28882)
After developing a bit more the production application with the new types, and had the need of using manual local tracks, I discovered a few fixes to be made:

- Two missing functions in `LocalParticipant`: `unpublishTrack` and `unpublishTracks`. See [LocalParticipant documentation](https://media.twiliocdn.com/sdk/js/video/releases/2.0.0-beta1/docs/LocalParticipant.html).
- When creating a single track using `createLocalVideoTrack` or `createLocalAudioTrack`, the documentation defines a non optional `logLevel`, but the examples don't specify it and the code works without it. See [Examples](https://media.twiliocdn.com/sdk/js/video/releases/2.0.0-beta1/docs/global.html#createLocalVideoTrack__anchor). Therefore, `logLevel` is optional in `CreateLocalTrackOptions` as well (and documented in the code).
- `CreateLocalTrackOptions` should extend `MediaTrackConstraints`. Currently, it will complain when writing our own video and audio constraints. [CreateLocalTrackOptions](https://media.twiliocdn.com/sdk/js/video/releases/2.0.0-beta1/docs/global.html#CreateLocalTrackOptions)

- [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: https://media.twiliocdn.com/sdk/js/video/releases/2.0.0-beta1/docs
- [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-14 10:39:32 -07:00
Norbert Bartos 5a86a73eec [Enzyme] Add simulateError method (#28698)
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:
- [ ] 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-14 10:38:36 -07:00
Daniel Byrne e50bb9f556 adds typings for the 'vorpal' package (#28870) 2018-09-14 10:36:43 -07:00
Larry1123 192edcd269 Extend screenshot encoding support (#28713)
Overloaded the screenshot methods to define the return type based on what kind of encoding is used.
Edited the test and made sure normal ScreenshotOptions worked as normal still, the two new extended interfaces can be used for objects to pass in also but did not add test for that directly, should be handled right with the current test cases.
2018-09-14 10:34:19 -07:00
Sean 21d31fd064 Replace JSX.Element with React.ComponentType (#28706)
Is meant to be `React.ComponentType` (see https://github.com/storybooks/storybook/tree/master/addons/info).
`JSX.Element` is the type of an instance of a component (e.g. `<MyComponent />`), while `React.ComponentType` is the type of the component class itself (e.g. `MyComponent`).
2018-09-14 10:28:13 -07:00
Mike North 38b392f591 [ember] copy @ember/runloop types into their own module (#28805) 2018-09-14 10:24:46 -07:00
Mike North 2c67d74e1e [ember] refactor @ember/test types into their own module (#28804)
fixes https://github.com/typed-ember/ember-cli-typescript/issues/278
2018-09-14 10:24:21 -07:00
Mike North 1da1401566 [ember] refactor @ember/error out into a separate module (#28792)
* [ember] refactor @ember/error out into a seperate module
fixes: https://github.com/typed-ember/ember-cli-typescript/issues/269

* [@ember/error] enable all tslint rules
2018-09-14 10:24:01 -07:00
Mike North 614492e26b [ember] refactor @ember/string types into their own package (#28791)
* [@types/ember__string] refactor types out of @types/ember, add additional tests

* [@ember/string] enable all TSLint rules
2018-09-14 10:23:36 -07:00