Commit Graph

47953 Commits

Author SHA1 Message Date
Andy
39700ffbb8 webpack-merge: Remove unnecessary 'lodash' dependency (#27451) 2018-07-23 11:49:00 -07:00
Brian A. Danielak
e2c9b1be2f Add additional videojs player options (#27423)
* Add additional videojs player options

And alphabetize options.

Source: http://docs.videojs.com/tutorial-options.html#videojs-specific-options

* Fix array type notation

Indicating array types using `Array<number>` notation is no longer OK in TypeScript; arrays have to be written as `number[]`
2018-07-23 11:42:36 -07:00
Pas
6206cb6907 Barebones typings for activedirectory2 (#27418)
* activedirectory2: minimal typings

* activedirectory2: WIP, before fix declare module

* activedirectory2: tslints fixed

* activedirectory2: header added, and minimal test file showing the only sane way to import it; and default tslint.json
2018-07-23 11:40:52 -07:00
pravdomil
09468a17a1 Allow pass ComponentClass state to StaticLifecycle (#27417)
* Update index.d.ts

* set default state to empty object

* use S instead ComponentState

* defaults to ComponentState
2018-07-23 11:40:00 -07:00
Ryokik
642a64efbf Add type definition for react-native-navbar (#27412) 2018-07-23 11:39:06 -07:00
Tyler Johnson
f109e22895 Add typings for form-serialize (#27403)
* add form-serialize

* minor changes to more accurately describe form-serialize defaults
2018-07-23 11:37:05 -07:00
Alan Agius
1ba5f19d13 feat: add definitions for uglify-es (#27394)
* feat: add definitions for `uglify-es`

* uglify-es: turn in strictNullChecks
2018-07-23 11:36:41 -07:00
edwardsnare
d0f7094dec Create superstruct definitions (#27392)
* Create superstruct definitions

* follow dts-gen module convention

* follow dts-gen module convention
2018-07-23 11:36:11 -07:00
Kling Attila
6b4aff1dda Updated type definitions for handlebars#registerPartials (#27388)
* Updating types for #registerPartial

#registerPartial is a polymorphic function now it accepts a single object making the second param optional.

Excerpt from the implementation:

```js
  registerPartial: function(name, partial) {
    if (toString.call(name) === objectType) {
      extend(this.partials, name);
    } else {
      if (typeof partial === 'undefined') {
        throw new Exception(`Attempting to register a partial called "${name}" as undefined`);
      }
      this.partials[name] = partial;
    }
  },
```

* Updated Handelbars#registerPartials

Removed extra spaces

* Added function overload with typed arguments

Replaced polymorphic argument types for registerPartial function with overloaded function definition
2018-07-23 11:35:20 -07:00
Ben
9dd55baaf4 Added types for redux-saga-tester (#27380)
* added types for redux-saga-tester

* added type variable

* use object instead of AnyObject

* fix linting

* added docs from readme
2018-07-23 11:29:14 -07:00
Melvin Groenhoff
c1cddbee9b Add types for task-graph-runner (#27371) 2018-07-23 11:27:11 -07:00
Jack Works
655e4406d0 Add document ready & linear-gradient (#27367)
* Add document-ready

* Add linear-gradient
2018-07-23 11:20:34 -07:00
Fabio Berta
ed33c9ae20 [react-map-gl] update to 3.3 (#27366)
* fix MapControls type

* add myself as author

* adapt to react-map-gl 3.3

* viewport props not required

* fix viewState callback signature

* static map accepts a className
2018-07-23 11:20:10 -07:00
Jack Works
8a487456f1 Add es-feature-detection (#27365)
* Add es-feature-detection

* Fix lint error on es-feature-detection
2018-07-23 11:19:19 -07:00
Klaus Meinhardt
11b7aa55c8 Add tingle.js (#27361) 2018-07-23 11:18:51 -07:00
Guus De Graeve
9d1ab49fcf Add missing typing for labelPrefix & labelSuffix options for package console-stamp. (#27360)
* Add missing typing for labelPrefix & labelSuffix options for package console-stamp.

* fix spaces issue
2018-07-23 11:18:07 -07:00
max7z
7172ae40ac [@types/koa-pug] Add pug.locals (#27354)
* Update index.d.ts

* Update index.d.ts

* Update index.d.ts
2018-07-23 11:16:50 -07:00
Orta
bd9fe23181 Adds jira-client (#27349) 2018-07-23 11:03:47 -07:00
Vincent D'amour
2728299982 Add renderMonthElement to react-dates (#27345) 2018-07-23 11:02:59 -07:00
Brad Carter
22181cad3d Add uuid prop to window (#27344) 2018-07-23 11:01:55 -07:00
Alejandro Manuel Baronetti
4867e5ea71 Fixed issue introduced in redux-thunk 2.3.0 (#27341) 2018-07-23 11:00:45 -07:00
Tomasz Nguyen
17e7029f8d Add types for chai-roughly (#27335)
* Add types for chai-roughly

* Fix lint errors
2018-07-23 10:59:39 -07:00
Laurent Gilly
fecb03bc20 Add zipkin javascript opentracing types (#27330)
* Added type definitions for zipkin-javascript-opentracing

* Added type definitions for zipkin-javascript-opentracing

* update import
2018-07-23 10:33:20 -07:00
Bjørn Madsen
250972049c electron-devtools-installer: Allow arrays of extensionreferences (#27326)
* electron-devtools-installer: Allow arrays of extensionreferences

* Undo reformatting
2018-07-23 10:32:16 -07:00
Jungwoo An
77ee2ed0dc Updated type definitions for next-redux-wrapper@2.x (#27321) 2018-07-23 10:31:37 -07:00
Krzysztof Bogdan
e84f8afeef three.js Add depthPacking field to MeshDepthMaterial (#27318)
* Add depthPacking field to MeshDepthMaterial

* Update three-core.d.ts

fix whitepsace
2018-07-23 10:31:15 -07:00
James Newell
2cb067183a added type definitions for storybook-addon-jsx (#27315) 2018-07-23 10:30:58 -07:00
Vitor Luiz Cavalcanti
f0ebc0b628 Add type definitions for object.getownpropertydescriptors (#27313) 2018-07-23 10:30:33 -07:00
Konstantin Simon Maria Möllers
222a3c9892 Add typings for webpagetest (#27309)
* [webpagetest] Creating initial definitions

* [webpagetest] Write `data` typings for `getLocations`

* [webpagetest] Write `data` typings for `getTestStatus`

* [webpagetest] Write `data` typings for `getTestResults`

* [webpagetest] Test `scriptToString`

* [webpagetest] Fix callback typings

* [webpagetest] Declare namespace with return types

* [webpagetest] Change project URL
2018-07-23 10:30:10 -07:00
btxtiger
2bb93e2cc3 [cookie-session] Make props optional for usability with sharedSession (#27288) (#27304) 2018-07-23 10:29:03 -07:00
Federico Bond
dc3934f82a bitcore-lib: Improve and expand type definitions (#27301) 2018-07-23 10:28:13 -07:00
Emilio Martinez
f906f51c0e fix(html-webpack-plugin): add complete set of current options (#27289) 2018-07-23 10:27:46 -07:00
Jorge Gonzalez
67abbade54 Add types for pkg-conf@2.1 (#27284)
* Add types for pkg-conf@2.1

* Refine for tests

* Remove fixture

* Update pkg-conf-tests.ts

* Fix test

* Update pkg-conf-tests.ts
2018-07-23 10:27:19 -07:00
Nicolás Serrano Arévalo
93016410a9 Gestalt: A set of React UI components that supports Pinterest’s design language (#27279)
* Avatar Props Interface
:

* Box Props Interface

* Button Props Interface

* Card Props Interface

* Nicked the types, Column Props Interface

* Container Interface Props

* GroupAvatar interface

* Finished

* Linted and fixed:

* 2.6

* Added Project Github URL
2018-07-23 10:20:20 -07:00
RCGuillaume
f73ffb216e @types/react-select: missing parameter 'index' to ValueRendererHandler (#27265)
* @types/react-select: added missing parameter 'index' to ValueRendererHandler

* @types/react-select: increment version
2018-07-23 10:19:24 -07:00
bill-improbableio
2fa8371b3c react-redux: Fix permissive decoration props not handled correctly (#27260)
* Bump ts version to fix failing tests

* Fix optional props not merged correctly

* Bump version

* Correct the fix

* Add test for more-general injected props
2018-07-23 10:17:58 -07:00
Tim Keiner
fe1eceaa12 Adding type definiton for npm package of yoga-layout (#27184)
* Created type-definitons for yoga-layout package

* 331

* Fixed issues according to tslint

* Fixed typo

* fixed file name to match suddenly appeared new file-name-casing rule

* go back to <pkg-name>-tests.ts and disable file-name-casing to false
2018-07-23 10:11:19 -07:00
Jake Marsh
401f812db2 Update next definitions for 6.1.1 - router events API (#27143)
* Update nextjs router events API

* fix tests and update header

* fix header

* handle routeChangeError and update tests
2018-07-23 10:10:40 -07:00
Martin Charles
03212af7da [react-side-effect] Removed Any Types (#27132)
* Improved react-side-effect Typings

Removed all `any` typings. Added tests which test usage.

* Made Lint Less Permissive

It doesn't need to be so permissive.

* Fixed Whitespace

* Added Typings for Server Stuff

Used a more robust way than suggested in review. Added tests too.

* Fixed Server Types

`peek` can return either a `TServerState` or `TState` when `withSideEffect` is
provided `mapStateOnServer` (based on runtime). `rewind` always returns
`TServerState` when `mapStateOnServer` is provided, otherwise it returns
`TState`.
2018-07-23 10:10:12 -07:00
Dimitry
c931d79d06 Update url-parse typings to 1.4 (#26947) 2018-07-23 10:08:16 -07:00
Olegs Jeremejevs
4461b3198a minimal-bit-array: Initial commit (#27501) 2018-07-23 10:02:13 -07:00
Daniel Cassidy
664a91a98f Add type definitions for stream-each. (#27306) 2018-07-23 08:59:16 -07:00
Vitor Luiz Cavalcanti
661a25ec4c Create type definition for object-keys module (#27307) 2018-07-23 08:58:47 -07:00
Daniel Cassidy
710912817e Add type definitions for flush-write-stream. (#27308) 2018-07-23 08:58:07 -07:00
Daniel Cassidy
ff8d26ef8e Add type definitions for parallel-transform. (#27312) 2018-07-23 08:57:00 -07:00
Joseph Carroll
04a282b63f Add registry-auth-token (#27285)
* Add registry-auth-token

* Fix: type definitions header

* Fix: Change Typescript version: 2.8

* Fix: Clean-up test cases
2018-07-23 08:53:59 -07:00
Muhammad Fawwaz Orabi
92f7e2f8d1 Add types for react-aria-modal (#27228)
* Add types for react-aria-modal

* Bumpy min TS version

* Trigger CI

* Trigger CI
2018-07-23 08:48:39 -07:00
Gerhard Stöbich
b3eaeded0a [redux-form/v4] Fix build by adding package.json (#27212) 2018-07-23 08:47:36 -07:00
Florian Keller
af3a897849 Add types for bro-fs (#27445) 2018-07-23 08:46:54 -07:00
Sahbi Sahloul
a0d6a36527 Gapi - Use 'any | boolean' for error result as in the official documentation (#27446)
* Use any instead as specified in the official documentation

Link
https://developers.google.com/api-client-library/javascript/features/promises#using-promises

* Use boolean if not JSON-parseable
2018-07-23 08:46:34 -07:00