Commit Graph

47940 Commits

Author SHA1 Message Date
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
Florian Keller
5090fabde6 Add types for libsodium-wrappers (#27447) 2018-07-23 08:44:28 -07:00
Jon Freedman
749ebd987f React plotly.js (#27461)
* typing as per https://github.com/plotly/react-plotly.js/issues/80

* fix travis build (thanks intellij...)

* bring typescript version inline with react
2018-07-23 08:41:13 -07:00
Hank Fanchiu
73c1a6ca60 Fix "compoment" typo in index.d.ts (#27454) 2018-07-23 08:34:52 -07:00
Sergey Kuznetsov
67b046cb86 Make chrome.tabs.highlight callback as an optional (#27453) 2018-07-23 08:31:25 -07:00
Mikhail Kafanov
2960264e36 Parse: updated TriggerRequest interface, added missing afterFind trigger, fixed beforeFind signature (#27462)
* Added missing property to AfterSaveRequest

* Update index.d.ts

- TriggerRequest interface matches one from official Parse API docs
- added missing afterFind hook and related AfterFindRequest/AfterFindResponse interfaces
- fixed beforeFind hook signature
2018-07-23 08:31:02 -07:00
mail6543210
d57015fa9f Add missing/undocumented functions (#27464)
Those functions and properties are not documented.
2018-07-23 08:30:19 -07:00
Errietta Kostala
23735e51b7 jsoneditor: Add 'schemaRefs' option (#27474)
* Add 'schemaRefs' option

* reference new version

* fix comment
2018-07-23 08:29:54 -07:00
Mike North
fbe2d02cb2 [ember] Ember.Container#factoryFor (#27483) 2018-07-23 08:29:33 -07:00
Jimmy Grand
1cbfb298e6 mongoose: countDocuments and estimatedDocumentCount definitions added (#27486) 2018-07-23 08:29:09 -07:00
Bond
293adc3195 Add functions to take and release locks. (#27491)
Add functions to take and release locks.

742a86e0af/lib/job.js (L153-L180)
2018-07-23 08:28:38 -07:00
Simon Werner
3efa86f7a2 Fix issue with stampit when using TS to check JavaScript (#27478)
* Fix issue with stampit when using TS to check JavaScript

**Caveat: This has not been tested within a TypeScript library.***  My knowledge of TypeScript is limited, so this has not been tested.  hence, I suggest @lummish and/or @koresar review this PR.

## What it's fixing

Currently I get the following error with the vanilla stampit example below, it applies to the `const Fighter = stampit(Character(...` line and TypeScript highlights the problem across the whole function:

```sh
Expected 0-1 arguments, but got 2
```

Example taken from main stampit example. 
```JavaScript
import stampit from 'stampit';

const Character = stampit({
  props: {
    name: null,
    health: 100,
  },
  init({ name = this.name }) {
    this.name = name;
  },
});

const Fighter = stampit(Character, {
  props: {
    stamina: 100,
  },
  init({ stamina = this.stamina }) {
    this.stamina = stamina;
  },
  methods: {
    fight() {
      console.log(`${this.name} takes a mighty swing!`);
      this.stamina--;
    },
  },
});
```

* Make stampit() more generic

As discussed with @koresar.
2018-07-23 08:28:08 -07:00
Alan Agius
6798d64a19 fix: add missing syntax type (#27471) 2018-07-23 08:27:25 -07:00
Adam Haglund
ba10e72285 react-dnd*: Remove and Fix Types (#27466)
* fix types for react-dnd-multi-backend

* remove react-dnd and react-dnd-html5-backend typings

* remove typings for react-dnd-test-backend

* update types for react-dnd-touch-backend

* fix tests for react-dnd-multi-backend

* add to contributors
2018-07-23 08:26:53 -07:00