Commit Graph
51559 Commits
Author SHA1 Message Date
Jake Low b98e0c95a7 Rename storejs -> store to match NPM package (fixes #27825) (#27858) 2018-08-03 14:03:53 -07:00
Craig Boland d61e26f9d3 Add explicit typing for $.fn.dataTable.ext property. (#27857)
#27734
2018-08-03 14:02:08 -07:00
dassennato 9932dc6a02 passport-saml: Add 'name' property to SamlConfig (#27824) 2018-08-03 14:01:41 -07:00
remin be86ebdb41 update three LoadingManager (#27846)
https://github.com/mrdoob/three.js/pull/11259
2018-08-03 13:59:00 -07:00
Matt Oliver 50fd5dc2e5 Added typings for @storybook/addon-jest (#27852) 2018-08-03 13:57:52 -07:00
Ferdy Budhidharma 6d2fc7181a feat(react-dependents): update to TS 2.8 (part 1 of 2) (#27743)
* feat(react-dependents): update to TS 2.8

* exclude react-dom

* fix version mismatches
2018-08-03 21:01:14 +01:00
Ron Buckton 9fe65ab328 [NodeJS] Fix 'this' type for stream options. (#27788)
* Fix 'this' type for stream options.

* Reverse max_old_space_size option

* PR Feedback

* Fix module augmentation in vinyl-fs
2018-08-03 11:57:42 -07:00
Adam Lavin 9f36a12764 Update styled-system types to 3.0 (#27683)
* Initial styled-system 3.0 upgrade

* Change returntypes back to any

* Add missing style functions, and reorder functions

* Add util types, update tests

* Added variant property to TestButton

* Move utils back into index.d.ts

* Split out index.d.ts to better reflect npm package structure

* Fix lint errors
2018-08-03 11:51:52 -07:00
Claas Ahlrichs 7d077bf418 Feature/react select v2 update (#27837)
* updated parameter names in function signatures

* addressed return type of "CSS functions"

* simplified StylesConfig and SelectComponentsConfig

* updated type of base parameter in styleFn

* removed invalid property from HTML select element
2018-08-03 11:49:22 -07:00
Radosław Miernik 4e450a27b6 Fixed typo. (#27843) 2018-08-03 11:10:12 -07:00
Jonny Fairfull 271b8f20c0 fix: update autoplay types to boolean or string. (#27838) 2018-08-03 11:05:49 -07:00
Nikolai Ommundsen fb1b2554a8 Chrome-apps better coverage, cleanup and fixes (#27849)
* Bugfixes: Webview is an HTMLElement and also frame must be of type chrome to set options

* Bugfixes: Webview is an HTMLElement and also frame must be of type chrome to set options

* Bluetooth Socket: typings complete

* Bluetooth tests

* Fix typo

* Typo fix

* HID typings, but missing documentation

* Documentation and testing added

* InstanceID Typings

* Typings for mdns complete

* typings for chrome.syncFileSystem

* Major cleanup - comments and documentation review

* More cleanup, comment shortening, bugfixing, updates

* Cleanup and fixes: Continued (WIP)

* Fixed and cleanup: idle, instanceId, mediaGalleries (+added docs)

* Transfer types to enums

* networking.onc -> complete api typing, Enums to types to prevent runtime errors

* Restored enums that are present (after checking)

* Implemented desktopCapture

* Added management

* Typings for experimental clipboard api

* chrome.networking.onc: Documentation + fixes

* Removed unnecessary imports and compiler options.

* Bumped typescript version to support new language features.

* Cleanup: No need to specify defaults
2018-08-03 10:59:09 -07:00
Ben Iofel c64a754835 @types/graphql: is*Type() predicates can take null and undefined (#27785)
* @types/graphql: is*Type() predicates can take null and undefined

* add tests

* use any

* assert*Type() should take any

* add tests
2018-08-03 10:57:51 -07:00
nemoinho 630a154f1c Update redom-definitions (#27839)
* Add lifecycle-events

* Add exported alias `s()` and `h()`

* Add  definitions for ListPool, because it's exported in redom as well

* Add namespace for list and svg to enable `list.extend` as described in [redom-docs](https://redom.js.org/documentation/#list-extend)
2018-08-03 10:57:19 -07:00
Ron Buckton aff6b6dfeb Make GridAutoValue responsive (#27827) 2018-08-03 10:55:37 -07:00
Elias Toivanen 8e20fb6f88 @types/react-native - Add missing property textContentType for TextInputIOSProps. (#27809)
* @types/react-native

Add missing property `textContentType` for `TextInputIOSProps`.

* Add the `textContentType` in the TextInput test
2018-08-03 10:55:18 -07:00
Kevin Mircovich 3a7e4864a0 added trial_from_plan to ISubscriptionCustCreationOptions interface (#27820)
This property was added to the Stripe API on 2018-05-21

[API Change Log](https://stripe.com/docs/upgrades#2018-05-21)
[API Docs](https://stripe.com/docs/api#create_subscription-trial_from_plan)
2018-08-03 10:55:00 -07:00
Adam Eisenreich 9241cf1a2b Fix types from last big addition (#27834)
* Fix some type from last big addition

* Version

* Test player.play

* Remove patch version

* remove whitespaces
2018-08-03 10:54:48 -07:00
Jiayu Liu 6d2581cf26 update setData to include callback (#27832) 2018-08-03 10:51:04 -07:00
Max Rumpf 9995645f5b [@types/dnssd] Fix return types (#27828)
* [@types/dnsds] Fix return types

Especially the ServiceType constructor was handled rather poorly before. This commit fixes it.
Some methods (e.g. for resolving) could probably also be handled better, but that will be another PR.

* Increase version number

* Fix tests

* Make options optional

* Fix oversight introduces in previous commit
2018-08-03 10:50:40 -07:00
Simon Hoss 610b0b70cf Added additional ns prop for react-i18next (#27812) 2018-08-03 10:50:04 -07:00
Elizabeth Samuel a440521e0b office-js: Update links (#27850) 2018-08-03 10:48:02 -07:00
Manuel Warum 94f81483b9 Adding types for crypto-random-string 1.0 (#27686)
* Adding types for crypto-random-string 1.0

* Fixup in last commit wrt review

* Fixing import of crypto-random-string test

* Changing tslint.json as per review
2018-08-03 10:45:51 -07:00
johnjbarton 98d94b19b1 Add new (pariial) typings for npm 'di' github 'node-di' (#27741)
These typings are adequate for the primary user of di, karma-runner.
The underlying project is deprecated and we will move to a new di system,
but these typings help document where we are today.
2018-08-03 10:45:02 -07:00
Sean Nichols 26de87320e [redux-form] Add FieldsProps.move 2018-08-03 12:44:52 -04:00
Nikolai Ommundsen 18cba3eedd Cleanup: No need to specify defaults 2018-08-03 17:06:25 +02:00
Nikolai Ommundsen 4c8b1f9c08 Bumped typescript version to support new language features. 2018-08-03 17:01:12 +02:00
Nikolai Ommundsen d0c413c2ec Removed unnecessary imports and compiler options. 2018-08-03 16:53:09 +02:00
Nikolai Ommundsen fe36a379f9 Merge branch 'master' of github.com:DefinitelyTyped/DefinitelyTyped into chrome-updates 2018-08-03 16:45:08 +02:00
Nikolai Ommundsen 5b29771af9 chrome.networking.onc: Documentation + fixes 2018-08-03 16:44:43 +02:00
Nikolai Ommundsen 6374ecdeea Typings for experimental clipboard api 2018-08-03 15:40:51 +02:00
Nikolai Ommundsen 232d3f8c76 Added management 2018-08-03 15:15:31 +02:00
Nikolai Ommundsen 87bec2e81b Implemented desktopCapture 2018-08-03 15:01:45 +02:00
Nikolai Ommundsen 90a0ac4615 Restored enums that are present (after checking) 2018-08-03 13:44:06 +02:00
Nikolai Ommundsen 3a3005da39 networking.onc -> complete api typing, Enums to types to prevent runtime errors 2018-08-03 11:59:10 +02:00
Marcin Smółka 964331d334 kendo-ui: added missing drag and drop data definitions 2018-08-03 09:50:25 +02:00
Claas Ahlrichs 7c33a95827 added definitions for react select (v2) (#27737)
* moved existing "react-select" definitions into "v1" directory

* updated references to V1 of "react-select"

* dts-gen --dt --name react-select --template module

* added placeholders for react-select definitions and tests

* fixed imports of react and react-select

* updated config. files

* drafted definitions for react-select

* updated definitions for react-select

* made Props in stateManager.d.ts and Select.d.ts optional

* handle grouped options in Select.d.ts

* updated definitions for react-select

* resolved merge conflicts

* fixed issues identified by "npm test"

* updated type of "menuPortalTarget"

* remove OptionType type and introduce throughout as a generic parameter

* add an extra type

* re-enable interface-over-type-literal lint rule

* parameterize GroupedOptionsType
after some consideration this should be parameterized, typically with a union type, see Grouped example which is a select of `ColourOption | FlavourOption`
2018-08-02 16:41:18 -07:00
Elizabeth Samuel 3a9ec5cad2 office-js: initial set of SharedAPI scrub (#27826)
* merge from master

* office-js-first-set
2018-08-02 16:40:51 -07:00
Daniel Dyla f28e09e7b0 Add typings file for dialogflow 2018-08-02 16:56:11 -04:00
Andrew MacLeay 4ee926dbad Allow readonly parameters to storybook knobs
Since these functions don't modify their parameters, they may be
readonly. Non-breaking change as mutable arrays are still allowed as
well.
2018-08-02 16:40:02 -04:00
Alex Jerabek c725420f0e [Office-js] Adding support details to shared API enums (#27821)
* Adding support details to shared API enums

* COrrecting link syntax
2018-08-02 13:37:00 -07:00
Geoff Cameron a8486a33ea Make typings compatible with ES6 promises
Since ES6 promises don't implement finally, trying to $q.when a third
party promises fails typings. This introduces a new type that is
compatible with this, to allow for typings to work when
taking an ES6 promise.

Totally willing to change the name to something more sensible here
2018-08-02 15:40:03 -04:00
Scott Trinh d6504f702a Add Raw to union argument type-union 2018-08-02 15:24:58 -04:00
Andy 48ebc7e7c7 webcomponents.js: Fix compatibility with lib.dom (#27796) 2018-08-02 11:55:39 -07:00
Jon Freedman 811f840c45 react-flag-icon-css (#27723)
* typing as per https://github.com/plotly/react-plotly.js/issues/80

* fix travis build (thanks intellij...)

* bring typescript version inline with react

* types for react-flag-icon-css

* review feedback, remove react-plotly.js changes from PR as already released

* attempt to fix travis

* life is too short to argue about this nonsense, switch spaces for tabs if you want
2018-08-02 11:51:04 -07:00
Alec Brunelle 589188a626 Add types to private functions
- Job.moveToCompleted
- Job.moveToFailed
- Queue.getNextJob
- Also add null possibility to Queue.getJob
2018-08-02 14:38:33 -04:00
Scott Trinh 12be6e51b7 [knex] Allow QueryBuilder in union parameters 2018-08-02 14:26:48 -04:00
Bartosz 93d43b8667 Fix scrollThreshold prop in react-infinite-scroll-component (#27815)
* Update index.d.ts

* Update index.d.ts

* Update index.d.ts
2018-08-02 10:21:36 -07:00
Silas Rech 9fe9b9a39f Add 'silent' argument to rule (#27651) 2018-08-02 10:09:56 -07:00
Liam McLoughlin ea7afee98f Add type definition for error-subclass (#27811) 2018-08-02 10:07:56 -07:00