Commit Graph
54179 Commits
Author SHA1 Message Date
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
Dyma c43bcd9fd7 Add findByIdAndDelete() method (#28893)
findByIdAndDelete() recommended method is missing.

Mongoose docs:
https://mongoosejs.com/docs/api.html#model_Model.findByIdAndDelete

MongoDb docs:
https://docs.mongodb.com/manual/reference/method/db.collection.findOneAndDelete/
2018-09-14 10:22:28 -07:00
Michelle Scharlock 79f4cf4d42 Merge pull request #1 from mscharlock/officeruntime
Cleaning out cfs and office runtime folders
2018-09-14 10:20:39 -07:00
Daniel Byrne a3b7777878 adds typings for the 'bloom-filter' package (#28838) 2018-09-14 10:18:51 -07:00
mscharlock 664c623c08 deleting officeruntime so I can recreate it properly 2018-09-14 10:17:53 -07:00
Martynas Kadiša 58451091ce [react-window] add typings (#28824)
* Add react-window types and tests

* bump ts version to match react ts version

* Use github project url
2018-09-14 10:16:25 -07:00
mscharlock 4f52848996 removing custom-functions-runtime 2018-09-14 10:16:04 -07:00
Rich Armstrong 9d99876185 chart.js - Add missing animation properties (#28730)
Added animateRotate and animateScale (both boolean) to ChartAnimationOptions. These apply only to doughnut/pie and polar-area charts
2018-09-14 09:58:56 -07:00
mickaelw b59997949e Added type definitions for React Navigation (#28742) 2018-09-14 09:57:07 -07:00
Mike North 0c694b22fb [ember] refactor @ember/polyfills types into their own package (#28797)
* [ember] refactor @ember/polyfills into its own module
fixes https://github.com/typed-ember/ember-cli-typescript/issues/273

* [ember] delay activation of some tests until after future improvements to Ember.assign/merge
2018-09-14 09:56:14 -07:00
mscharlock c18f02fb65 attempting to merge to my own master 2018-09-14 09:53:32 -07:00
Robin van Tienhoven 92abd0cd3d StripeJS Typings fix (Typings were not imported correctly) (#28854)
* Quick fix

+ Element was not included so the native Element was used instead. This caused a warning when trying to use the StripeJS functions with the StripeJS Element object

* Element fix

+ Renamed Element to StripeElement in order to avoid confusion with the native 'Element' object.
+ Fixed unit test where the Native Element was used instead of the 'StripeElement' object
2018-09-14 09:52:53 -07:00
Kanitkorn Sujautra bb215703f2 [react-intl] Add missing children props to formatting components (#28738)
Ref:
https://github.com/yahoo/react-intl/wiki/Components#date-formatting-components
https://github.com/yahoo/react-intl/wiki/Components#number-formatting-components
2018-09-14 09:52:00 -07:00