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
mscharlock
81d2dbd04f
getting rid of cfs and only having office-runtime
2018-09-14 09:49:11 -07:00
Renaud Chaput
dde8922b4c
redux-little-routers: remove typings, they are now upstream ( #28681 )
...
See https://github.com/FormidableLabs/redux-little-router/pull/269
2018-09-14 09:48:37 -07:00
aldentaylor
8f134e436f
feat(jest-when): types for jest-when at https://github.com/timkindberg/jest-when ( #28773 )
2018-09-14 09:48:11 -07:00
Mike North
b49e87cd19
[ember] @ember/array types refactored into their own package ( #28836 )
2018-09-14 09:45:37 -07:00
Daniel Byrne
7050908e2f
changes type of key from ReadonlyArray<number> to string ( #28823 )
2018-09-14 09:36:27 -07:00
Vinicius Carvalho
fcfdccd4c3
Update index.d.ts ( #28575 )
...
According #28574 , the FakerStatic interface must have optional parameters in the system.
2018-09-14 09:36:07 -07:00
Daniel Byrne
6eafee412d
adds typings for the 'memdown' package ( #28832 )
2018-09-14 09:33:08 -07:00
Mike North
211edbdab6
[ember] refactor @ember/application types into their own package ( #28846 )
...
* [ember] failing test - relax ObserverMethod property name arg
* [ember] relax ObserverMethod property name arg
* [ember] @ember/application types refactored into their own package
2018-09-14 09:32:21 -07:00
Michael Nahkies
6e1f5ed8f7
Create type definitions for native-toast@2.0 ( #28855 )
...
* create type definitions for native-toast@2.0
* fix lint / write as external module
2018-09-14 09:31:49 -07:00