Commit Graph
48190 Commits
Author SHA1 Message Date
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
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
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
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
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
老雷 ebbce89f44 Add types for memjs (#27802) 2018-08-02 10:00:11 -07:00
Joe Ruello a8f8fdcd1e Adds types for start method on generic-pool (#27801) 2018-08-02 09:59:50 -07:00
Armando Meziat e8982eabf4 Add typings for cssnano (#27800)
* Add typings for cssnano

* Use "import = require" instead
2018-08-02 09:59:11 -07:00
Jiayu Liu 46215c5956 add Partial to trigger event (#27806) 2018-08-02 09:50:57 -07:00
sschmidTU f4a4bccd08 @types/vexflow: Add new definitions from Vexflow PR 634, NoteSubGroup class (#27696)
* @types/vexflow: add NoteSubGroup, new functions from Vexflow PR  634

* fix indentation

* types/vexflow: update version
2018-08-02 09:50:39 -07:00
Andy 5b5c264952 Remove webspeechapi (#27799) 2018-08-02 09:50:10 -07:00
Wojtek Czekalski da8f444b22 Fix InferableComponentEnhancerWithProps type inference for StatelessComponent (#27781)
* Fix InferableComponentEnhancerWithProps type inference for StatelessComponent

The inferred component should require the difference of props supplied by connect
and props needed by the component to be passed during render.

* Remove ambigous bidirectional type inference
2018-08-02 09:49:21 -07:00
Kartik Malik 6f8d56fbbf Adding definitions for fastGet, fastPut in ssh2-sftp-client (#27638)
* Adding definations for fastGet, fastPut in ssh2-sftp-client

* Adding proper ssh2-streams typing for ssh2-sftp-client functions fastGet and fastPut

* Adding type for return value of fastGet and fastPut
2018-08-02 09:49:02 -07:00
Oliver Joseph Ash c0912e8b26 Lodash: fp.pickBy: incorrect inference when predicate has type guard (#27370)
* Lodash: `fp.pickBy`: add failing type guard test

* Lodash: `fp.pickBy`: use generic for property value instead of generic to fix FP test

* Lodash: update generated typings

* Lodash: `fp.pickBy`: add overload for user-defined type guard with `NumericDictionary`

* Lodash: update generated typings

* Correct `predicate` type of `pickBy`

* Lodash: update generated typings

* Rename `ObjectIteratorTypeGuardWithoutCollection` to `ValueKeyIterateeTypeGuard`

* Lodash: update generated typings

* Constant `userDefinedTypeGuard`
2018-08-02 09:47:53 -07:00
Andy 8b639c78c6 snapsvg: Fix setTimeout call (#27793) 2018-08-02 08:07:27 -07:00
Andy ee47e12f13 angular-desktop-notification: Change USVString to string (#27798) 2018-08-02 08:07:04 -07:00
Andy 57ed6e767c angular: Fix test (#27778) 2018-08-02 08:06:17 -07:00
Andy 12e25558ec blazy: Support HTMLCollection in 'load' (#27787) 2018-08-02 08:05:27 -07:00
Andy 9c040fa5f1 phonegap-nfc: Fix test (#27789) 2018-08-01 18:38:46 -07:00
Andy ad43909272 react-event-listener: Change MouseWheelEvent to WheelEvent (#27791) 2018-08-01 17:09:19 -07:00
Andy 4598f49db1 Fix new --strictNullChecks errors from updated lib.dom (#27786) 2018-08-01 16:50:36 -07:00
Emilio Martinez 827402a303 feat(webpack): add compilation dependency sets (#27747) 2018-08-01 15:45:23 -07:00
denisname 41eca014e1 document.body is possibly 'null' in TypeScript@next (#27782) 2018-08-01 13:53:31 -07:00
Garrett Smith a5544dce7b single-spa-react: typings (#27777)
* single-spa-react: typings

* fix ts version
2018-08-01 13:10:15 -07:00
Andy 992112dedc ns-api: Remove redundant jsdoc (#27775) 2018-08-01 12:13:35 -07:00
Akim Bassa 37acee0d1c @types/react-select: Add missing property 'showNewOptionAtTop' to ReactCreatableSelectProps (#27629)
* @types/react-select: Add missing property 'showNewOptionAtTop' to ReactCreatableSelectProps

* Remove trailing whitespace.

* Remove trailing whitespace
2018-08-01 12:11:06 -07:00
ondratra 404e051500 hapi - request's pre & preResponses type fix (#27631) 2018-08-01 12:07:58 -07:00
Brian Crowell 3f5b9e5f0e [couchbase]: Ensure OpCallback is composable with normal callbacks (#27639)
The documentation gets weird about the API promising to return *some* kind
of value that evaluates to false, even if that might be the number zero.
The original types author expressed that as CouchbaseError | number, but
that makes it seem like the result could be some non-zero number.

I don't know whether the library actually issues callback(0) calls, but to
make it play better with normal callbacks (err?: Error), we will act as if
it uses null instead of zero.
2018-08-01 12:05:04 -07:00
Junyoung Clare Jang f8379fa8b0 Add gradient-string typings (#27736) 2018-08-01 12:00:28 -07:00
JounQin a4193f5adb [hoist-non-react-statics] fix: support custom Props, exclude known react statics, improve test cases (#27745)
* fix: support custom Props, exclude known react statics, improve test cases

* feat: prototype is included in KNOWN_STATICS
2018-08-01 11:49:29 -07:00
Peter Safranek 71017d2b65 Add typings for gulp-template (#27748) 2018-08-01 11:48:10 -07:00
Andy c908458222 bricks.js: Fix test (#27764) 2018-08-01 11:46:59 -07:00
Andy 89b7422ba5 clipboard-js: Fix test (#27765) 2018-08-01 11:46:35 -07:00
Andy 6e84013ebc cqrs-domain: Fix lint (#27766) 2018-08-01 11:46:11 -07:00
Andy fbdb59354a gl-texture2d: "type GLenum" no longer available in typescript@next (#27772) 2018-08-01 11:45:13 -07:00
Andy 4a683428f4 lunr: Remove redundant jsdoc (#27773) 2018-08-01 11:44:20 -07:00
Harry Cruse e24f2b1508 [recharts] Allow DataKey function to return null, and add missing attributes to LineProps & XAxisProps (#27751) 2018-08-01 11:39:29 -07:00
Daniel Papukchiev 13f8c453e1 [@types/aws-lambda] Add Firehose lambda event and transformation helpers (#27731)
* Add Firehose to aws-lambda

* Add one more link for reference

* Change some interface names, remove irrelevant S3 interface, add special callback

* Fix tests
2018-08-01 11:39:21 -07:00
Gady 0d4583d282 Remove Gady from contributors (#27763) 2018-08-01 11:38:40 -07:00
Hao 4c71c23098 modify getPlayers in video.js (#27757) 2018-08-01 11:38:26 -07:00
Jimmy Shimizu 253339569f fix: Correct KeepAlive settings for 2.2 and 3.x versions (#27753) 2018-08-01 11:38:08 -07:00