Commit Graph
57967 Commits
Author SHA1 Message Date
Andrew Goodale 05d33b6d77 SectionList missing onScrollToIndexFailed prop 2018-06-15 13:04:24 -04:00
Alex Jerabek ab7bb57081 Merge remote-tracking branch 'upstream/master' 2018-06-15 09:58:48 -07:00
Andrew Goodale b079af2730 TextInput.State is a static value 2018-06-15 12:51:09 -04:00
MrLuje d8eada87b5 Add type definitions for react-native-settings-list 2018-06-15 16:05:30 +02:00
Robin Bellini Olsson f61d99d5b0 fix version header 2018-06-15 13:35:53 +02:00
Robin Bellini Olsson 9a3d7345fb add withNamespace function 2018-06-15 13:27:13 +02:00
Sander de Waal c2d6986ec6 Add selenium-standalone typings. 2018-06-15 13:24:04 +02:00
Daniel Compton 713f7bec51 Add onUnreadCountChange command to intercom-web 2018-06-15 23:04:56 +12:00
Alberto Restifo fc32ee0fac Bump version in header 2018-06-15 13:03:57 +02:00
Alberto Restifo a610882055 Add NODE_STREAM_INPUT support to Papa Parse 2018-06-15 13:00:24 +02:00
Ezinwa Okpoechi 41cf3ae8e2 Fix socket origins type 2018-06-15 11:52:01 +02:00
Simon Schick 5a39b90d74 fixup! fix(joi): remove incorrect usage of generic 2018-06-15 11:14:58 +02:00
Jamie Saunders 8bff264448 recharts: add optional angle to LabelProps
Labels support optional angle types, so let's add them to LabelProps
2018-06-15 00:58:49 -07:00
Alexaner T d67617c5bb Change Image onLoad event data 2018-06-15 10:32:18 +03:00
leejaedus 866edd2936 [signature_pad] Make @types/signature_pad compatible with Typescript 2.8 2018-06-15 12:36:55 +09:00
Arylo 2e9d3fd71d Add type definition for config-yaml 2018-06-15 10:44:20 +08:00
J Gabriel Gouveia dfe658f108 Removed wrong dev dependency 2018-06-14 21:15:48 -03:00
Hunter Tunnicliff 8223535354 Added union type for Subscription to IInvoice.subscription 2018-06-14 14:59:50 -07:00
Dobes Vandermeer bdf4fc0819 Fix generate() return type
`ObjectID().generate()` returns a `Buffer`, not a `string`

@horiuchi @CaselIT

See https://github.com/mongodb/js-bson/blob/master/lib/bson/objectid.js#L149 for the source code of bson, excerpted here:

```
/**
 * Generate a 12 byte id buffer used in ObjectID's
 *
 * @method
 * @param {number} [time] optional parameter allowing to pass in a second based timestamp.
 * @return {Buffer} return the 12 byte id buffer string.
 */
ObjectID.prototype.generate = function(time) {
  if ('number' !== typeof time) {
    time = ~~(Date.now() / 1000);
  }

  // Use pid
  var pid =
    (typeof process === 'undefined' || process.pid === 1
      ? Math.floor(Math.random() * 100000)
      : process.pid) % 0xffff;
  var inc = this.get_inc();
  // Buffer used
  var buffer = new Buffer(12);
  // Encode time
  buffer[3] = time & 0xff;
  buffer[2] = (time >> 8) & 0xff;
  buffer[1] = (time >> 16) & 0xff;
  buffer[0] = (time >> 24) & 0xff;
  // Encode machine
  buffer[6] = MACHINE_ID & 0xff;
  buffer[5] = (MACHINE_ID >> 8) & 0xff;
  buffer[4] = (MACHINE_ID >> 16) & 0xff;
  // Encode pid
  buffer[8] = pid & 0xff;
  buffer[7] = (pid >> 8) & 0xff;
  // Encode index
  buffer[11] = inc & 0xff;
  buffer[10] = (inc >> 8) & 0xff;
  buffer[9] = (inc >> 16) & 0xff;
  // Return the buffer
  return buffer;
};
```
2018-06-14 14:57:05 -07:00
Alex Jerabek 65696432b0 Moving tables to remarks 2018-06-14 14:27:53 -07:00
Alex Jerabek fdb9873008 Adding LoadOption comments 2018-06-14 13:52:16 -07:00
Martin Hochel d7d4e2f549 feat(enzyme): propagate component class type via generic on mount/shallow 2018-06-14 21:52:31 +02:00
Jinwoo Lee 50e74c675a add myself to "Definitions by" 2018-06-14 11:17:55 -07:00
Alex Jerabek c56a215377 Add links to known types and some formatting 2018-06-14 10:42:04 -07:00
alvarogtx300 a25b54646e Added optional "padding" argument to panToBounds method 2018-06-14 18:25:50 +02:00
Eloy Durán 56265d81d4 Merge pull request #26539 from a-tarasyuk/feature/add-onscroll-event-to-text-input
[react-native] - Add onScroll event to TextInput
2018-06-14 17:25:35 +02:00
Dave Lee 4c4b14bc63 change recommended importing method 2018-06-14 10:13:24 -05:00
denkpark 4220af6d67 Middleware properties optional; req.brute
- properties in `ExpressBrute.Middleware` are optional
- added`req.brute.reset()` to express.Request
2018-06-14 17:00:53 +02:00
Derek Rada e4c62c323b add promises/functions/interfaces 2018-06-14 10:50:26 -04:00
MrLuje dd5c7f8242 Add type definitions for react-native-dialog 2018-06-14 15:07:47 +02:00
Jose Colella a51018316f Restrict optional family value to 4 or 6. References IPv4 and IPv6 2018-06-14 08:22:34 -04:00
Maël Lavault 0e55ab17fc Support passing ws options to listen.
Fix ts breaking when passing anything to listen.

Signed-off-by: Maël Lavault <mael.lavault@izettle.com>
2018-06-14 13:59:37 +02:00
Krzysztof Miemiec 74c9ec9ede * Tests & more fixes 2018-06-14 13:56:07 +02:00
Alexaner T 3653895fcd Add onScroll event to TextInput 2018-06-14 14:54:13 +03:00
Valentin VĂLCIU 03ec52c913 nodegit: fix the arguments list of Repository.createRevWalk() 2018-06-14 14:46:17 +03:00
Valentin VĂLCIU 1ad3b1f466 nodegit: fix the arguments list of Repository.createBranch() 2018-06-14 14:39:51 +03:00
Nikolai Ommundsen aa36400303 Set added types under window to optional 2018-06-14 13:22:07 +02:00
Nikolai Ommundsen 1046b4f81f Webview typings fixed and doc updates. Tests updated. 2018-06-14 13:16:11 +02:00
Nikolai Ommundsen 5f4458e4f1 Relocate webview methods 2018-06-14 12:04:52 +02:00
wessberg f7f8c3fd25 Added typings for workbox-sw 2018-06-14 11:53:36 +02:00
Nikolai Ommundsen b3db8aba26 Added missing typings in chrome.fileSystem 2018-06-14 11:51:18 +02:00
Nikolai Ommundsen 49afea15e6 chrome.bluetoothLowEnergy WIP 2018-06-14 11:30:05 +02:00
Ryan Staniforth bd1a51cec4 Fix Error type to be "Error | null" in crypto methods 2018-06-14 10:25:43 +01:00
Nikolai Ommundsen dc39bd3e67 Added missing docs to chrome.bluetooth 2018-06-14 11:25:25 +02:00
Satoshi Nakagawa 68311ab843 cytoscape: fix return type of traversing methods 2018-06-14 18:24:40 +09:00
Nikolai Ommundsen d21bf5a20b Updated chrome.app.window typings 2018-06-14 11:17:01 +02:00
Nikolai Ommundsen 65a66ea68f Updated definitions of chrome.runtime 2018-06-14 10:35:14 +02:00
Nikolai Ommundsen 5f5f1cd604 Removed old declaration for extensions only according to the docs 2018-06-14 10:25:43 +02:00
Nikolai Ommundsen 0484f93c1e Finished accessibilityFeatures 2018-06-14 10:16:13 +02:00
Doron Somech ed3c892c83 Return type of bigi.compareTo is wrong
The return type is actually number and not bigi
2018-06-14 11:05:20 +03:00