Commit Graph
40207 Commits
Author SHA1 Message Date
Igor Snake 68e71f0c21 Added redux-socket.io type (#22773)
* Added redux-socket.io type

* Fixed bad dependency on socket.io
2018-01-10 10:29:28 -08:00
Samuel Martins 2b8c88b0b6 Add export namespace (lime-js) (#22748)
* Add export namespace

* Increase version number
2018-01-10 10:26:18 -08:00
Jimmy Gaussen 4380b9f74a @types/sequelize Reverting #22755 due to breaking changes (#22786)
* @types/sequelize Added generic types for various option classes

* Revert "@types/sequelize Added generic types for various option classes (#22755)"

This reverts commit 38983ce
2018-01-10 10:24:03 -08:00
Eric Simonton 6771a47011 Chain#mapObject is for objects, not arrays (#22759) 2018-01-10 10:21:04 -08:00
Gabriel Terwesten a63026685a @types/bull add jobId to signature of removeRepeatable (#22785) 2018-01-10 10:20:32 -08:00
Dancespile c31b287b49 fix style code error (#22799) 2018-01-10 10:15:23 -08:00
Aayush Kapoor fab066beca speakeasy: Update definition for missing functions (#22717)
* Update speakeasy.d.ts for missing functions

* Update tests for speakeasy

* Fix namespace export for speakeasy

* Update speakeasy to remove UMD definition
2018-01-10 10:14:56 -08:00
Jordi Bunster 88eda35486 Add sax parser info (#22792) 2018-01-10 10:14:16 -08:00
Yu-Hsin Lu 48203ad4df Add concatLimit function (#22754) 2018-01-10 10:13:53 -08:00
Ian Ker-Seymer 9f041991c6 Make react-loadable export an assignment (#22340)
* Make react-loadable export an assignment

`react-loadable` does *not* actually have a default export. This can be shown
by running:

```
> var L = require('react-loadable')
undefined
> L
{ [Function: Loadable]
  Map: [Function: LoadableMap],
  Capture:
   { [Function: Capture]
     propTypes: { report: [Function: bound checkType] },
     childContextTypes: { loadable: [Function: bound checkType] } },
  preloadAll: [Function],
  preloadReady: [Function] }
```

As a result, when attempting to use this with commonjs modules, an error error
is thrown when `allowSyntheticDefaultExports` is set.

```
TypeError: react_loadable_1.default is not a function
```

This PR exports the module as an assignment, so now `import * as Loadable from
'react-loadable'` should be used to import the module.

I am not entirely sure that I have used the best pattern for typings here; but
my goal was to export the proper assignment yet still allow all of the
namespace to be accessible via `(i.e.) Loadable.LoadingComponentProps`. If there
is a better way, please let me know and I will be happy to adjust!

* Use import assignment in react-loadable tests
2018-01-10 10:13:35 -08:00
Sianiuk Artur f0b524190a Added type definitions for react-flags-select (#22787)
* Added type definitions for react-flags-select

* fixed test and definitions
2018-01-09 15:24:58 -08:00
austinried 1f68776226 AttributeValue "N" should be string (#22790)
AttributeValue's "N" is a string, not a number: http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_streams_AttributeValue.html

This causes an incompatibility between this AttributeValue and the one in the AWS SDK types, which makes it impossible to use something like AWS.DynamoDB.Converter.unmarshall() for items in records on a DynamoDBStreamEvent.
2018-01-09 15:23:33 -08:00
salim7 33e817dd09 Updated to Onsen UI 2.8. Fixed typos. Added missing component PullHook. Added missing attributes to existing components. (#22791) 2018-01-09 15:22:47 -08:00
Adam Langley 389086e6d5 webappsec-credential-management: include webauthn types. (#22683)
[WebAuthn](https://w3c.github.io/webauthn/) builds upon the Credential
Management API and provides for origin-scoped, public-key credentials.
It replaces the FIDO U2F API which is currently used to implement this.

While the webauthn spec is still only a candidate recommendation, the
types in this change are sufficient to exercise basic functionality with
Firefox Nightly. (Note: that requires changes in about:config to enable
this API.)
2018-01-09 15:21:52 -08:00
Ryan Cavanaugh de2833f822 Fix ej.web.all tests (#22768) 2018-01-09 14:49:25 -08:00
Dancespile fe3de2ef3a remove export in types Keys, State, Params (#22761)
I remove this export to avoid the error  error TS2309: An export assignment cannot be used in a module with other exported elements.
Sorry @Mohamed Hegazy that I have to change it again, I didn't get this error before when I tested.
2018-01-09 11:35:01 -08:00
wanganjun de30db8071 [joi] make the return type of validate() as promise like (#22741)
* [joi] make return type of validate() as promise like

* [joi] update "Definitions by" section of the package header.

* [joi] test promise functionality of valdate()
2018-01-09 11:32:10 -08:00
Michael Ledin 6cebbd5623 material-ui 0.20.0: replace TouchTap with Click (#22726) 2018-01-09 11:31:47 -08:00
KoalaHuman d2df250b37 Updated React Datepicker types for version 1.0.4 (#22778) 2018-01-09 11:30:04 -08:00
cotko 435bb30c72 Add optional include_email to Param (#22777)
Twitter's [verify_credentials](https://developer.twitter.com/en/docs/accounts-and-users/manage-account-settings/api-reference/get-account-verify_credentials) also accepts the `include_email` which is missing in definitions here.
2018-01-09 11:29:36 -08:00
Andrei Glingeanu 0ae62b869b get rid of the immutability-helper types (#22763)
* get rid of the immutability-helper types

* mark immutability-helper as not needed
2018-01-09 11:28:57 -08:00
Matt R. Wilson 0b3ad10e81 [@types/request] Update cookie implementation. (#22165)
Add `@types/tough-cookie` as a dependency to correctly implement the
structure used by requests.
https://github.com/request/request/blob/master/lib/cookies.js
2018-01-09 11:24:38 -08:00
NN 36179f29f9 Add typing to simple-lru. (#22740) 2018-01-09 10:59:58 -08:00
NN 666ad59900 Add json-js typing. (#22751) 2018-01-09 10:59:37 -08:00
Hanyon a69df4359a Rename package : same name than npm package (#22753)
* Rename package : same name than npm package

* Change name of test file

* According header to match original github repo
2018-01-09 10:59:05 -08:00
Andy dd9e35eda0 aws-serverless-express: Fix lint (#22769) 2018-01-08 16:43:13 -08:00
Anders E. Andersen 9329064d4c Fix eachNode definition and add help (#22732) 2018-01-08 15:47:00 -08:00
Maksim Karelov 6d880c7b27 Add isMobile (#22749) 2018-01-08 15:31:25 -08:00
Jimmy Gaussen 38983cefe9 @types/sequelize Added generic types for various option classes (#22755) 2018-01-08 15:12:46 -08:00
Jan Tůma 491512553f Return type of close method (#22747) 2018-01-08 15:12:19 -08:00
lars-pf 1acdc07711 Minor fixes on roslib typings. (#22733)
* Added missing function definition for Goal 'on'.

The 'on' function is necessary to connect callback functions to events from ROS action goal 'timeout', 'status', 'feedback', 'result'.

* Increased version number after minor extension

* Changed datatype of 'end' param in to 'number'.

The end time should be also transmitted as a number in seconds like time t.

* Increased version number after minor fix.
2018-01-08 15:11:54 -08:00
Alaa Masoud 9e043c95dc Update types for react-content-loader v2.0 (#22739) 2018-01-08 14:17:49 -08:00
Andrew Bradley 393e432027 Adds declarations for 'charset' package (#22764) 2018-01-08 14:17:03 -08:00
neknalb 967408514a Update for prosemirror-model 1.1.0 (#22760) 2018-01-08 14:14:53 -08:00
Francis Filion c197cba289 Updated bulkGet response to match documentation and behavior (#22756) 2018-01-08 14:14:23 -08:00
Vladyslav bbb62a63f4 Fixes [yup] invalid types for addMethod #22721 (#22736) 2018-01-08 14:13:52 -08:00
Alberto Vasquez d3a74b87d7 [aws-serverless-express] createServer should expect a method that returns void (#22724)
* createServer should expect a method that returns void

Node's index.d.ts has the following type definitions for createServer
export function createServer(requestListener?: (request: IncomingMessage, response: ServerResponse) =>void ): Server;

* Update index.d.ts

* Updated version in header
2018-01-08 14:13:10 -08:00
Ryan Cavanaugh d16ae7ac34 Update CODEOWNERS (#22765) 2018-01-08 13:31:21 -08:00
Jonas Schürmann 6202e2389b Ramda: Tighten return type of reduced (#21771)
The previous return type of reduced caused very weak typing for the
function passed into reduce, basically allowing it to return anything
and not detecting type errors in that place.

This stricter definition of Reduced should fix that.
2018-01-08 10:44:19 -08:00
Junyoung Choi (Sai) 2cede8d8c9 Update session-file-store (#22602) 2018-01-08 10:34:12 -08:00
Arda TANRIKULU 488ae4510d Update service-configuration.d.ts (#22600)
it is not a class
2018-01-08 10:32:49 -08:00
Linda_pp 4c11f21e74 Add types for gzip-js (#22752) 2018-01-08 10:28:02 -08:00
Alex Brick 5e0afb0d2e [express-winston] Adding types for express-winston (#22742) 2018-01-08 10:23:29 -08:00
Andrew Bradley d7590b6d0a cmd-shim: adds new declarations (#22735)
* Fixes typo in my username

* Adds declarations for cmd-shim
2018-01-08 10:21:14 -08:00
Andy 51a1b6bd80 bingmaps: Use unused files (#22758) 2018-01-08 08:39:32 -08:00
OwnageIsMagic ea2dc4dc28 Node 9.3 (#22593)
* SignalsListener signal name

https://github.com/nodejs/node/pull/15606

* created Node 8 folder

* Create tsconfig.json

* Create tslint.json

* Create node-tests.ts

* Node 9

* update node header

* Tabs to spaces

* copy inspector.d.ts to v8 folder

* correct path mapping for v8

* disable no-declare-current-package for v8 module

* Correct version to 9.3.x
Add writableHighWaterMark/readableHighWaterMark to WriteStream/ReadStream
fixed setUncaughtExceptionCaptureCallback()
Add module.builtinModules
change os.EOL to const
add writableHighWaterMark to Duplex
writableHighWaterMark and readableHighWaterMark are readonly

* fs.realpathSync.native and fs.realpath.native

* fs.realpath.native tests
2018-01-08 07:54:44 -08:00
Dancespile f275961d97 Add type Params (#22729)
Sorry I tested it but for some reason I uploaded without Params Type by accident the last time.
2018-01-07 14:13:18 -08:00
Jeff Dickey 8c3692c2c5 add normalized package type to read-pkg-up (#22730) 2018-01-07 14:10:23 -08:00
Jeff Dickey 7307351dc5 added read-pkg (#22731) 2018-01-07 14:09:17 -08:00
Alec Merdler 2f413cea55 Nightwatch.js - add page objects (#21743) 2018-01-07 00:25:51 -08:00