Commit Graph
62245 Commits
Author SHA1 Message Date
James Pace d337d5f177 Add roles permissions management for Auth0 (#35116) 2019-05-06 01:15:17 -07:00
Josh Miles 259f24682f [plotly.js] Add width to PlotData interface (#35119)
* Add width to PlotData interface

* Add test

Signed-off-by: Pramod Mathai <pmathai@ford.com>

* Fix indentation
2019-05-06 01:14:41 -07:00
Michael 941c6fa41a [ldapjs] created initial stubs for Server, createServer, and related objects/functions (#35125)
* created initial stub for Server and related objects/functions

* correct ts-compile for pre-typescript 3.1 versions
2019-05-06 01:13:36 -07:00
Sang Dang 4d830a5c95 Add options for ensureDir and ensureDirSync (#35117)
* edited

* edit index file

* add more version to fulfill guideline

* add more test for number and without options tests
2019-05-06 01:12:51 -07:00
Benjamin Goering 3930c13b6a fix incorrect return values for aws-serverless-express proxy (#35131)
* fix incorrect return values for aws-serverless-express proxy

proxy() returns a ProxyResult as long as resolutionMode is provided.
https://github.com/awslabs/aws-serverless-express/blob/master/src/index.js#L210

As it is now, the types are misleading and prevent you from awaiting the promise, which is required for it all to work.

* Update aws-serverless-express/index to make unified-signatures pass

https://travis-ci.org/DefinitelyTyped/DefinitelyTyped/builds/526699822#L572
2019-05-06 01:12:40 -07:00
Robert Cooper 83c3c5864b [@types/react-beautiful-dnd]: add resetServerContext (#35220) 2019-05-06 01:10:54 -07:00
Brad Zacher f9aa66f353 [react-dev-utils] Add new arguments to createCompiler arguments (#35215)
* [react-dev-utils] Add new arguments to createCompiler arguments

* lint

* nits
2019-05-06 01:10:35 -07:00
sbilbault d6b1fd3373 add missing properties to @types/pdfMake (#35159)
* add missing properties to @types/pdfMake

* fix

* fix

* fix

* fixes after PR review

* changes types and add currentNode

* missing typing
2019-05-06 01:09:06 -07:00
Alexander Kachkaev 757824ac9a [yandex-maps] Fix module format, fix each() (#35202)
* [yandex-maps] Fix module format

* Add missing each() method for layers

* Make context optional in each()

* Add tests for layers.each()

* object → layer in arg name

* Try fixing CI

* Ignore "export-just-namespace" rule

* export as namespace too

* Account for the fact that getBrightness() is an optional method
2019-05-06 01:07:50 -07:00
Alex Muench 63cb9fea2c [node-telegram-bot-api] Mark several properties on the WebHookOptions interface as optional (#35218)
* Update WebHookOptions interface in response to #35206
* Set `key`, `cert` and `pfx` within the Webhook Options to be optional values, per issue #35206
* Update definition tests to test the new changes

* Resolve lint issues with chagnes to node-telegram-bot-api
2019-05-06 01:05:45 -07:00
Vlad Shcherbin aff3334118 Remove rollup-plugin-delete types (#35217) 2019-05-06 01:05:26 -07:00
Derek Sifford 23bd4f381e [webpack] fix ToJsonOutput.chunks (should be an array) (#35219)
* fix incorrectly typed property

* fix lint issues
2019-05-06 05:29:25 +01:00
Brad Zacher ee9bf2dc97 [react-dev-utils] Update for 9.0.0 (#35207)
* feat: Update react-dev-utils for 9.0.0

* bump header version

* add new files to tsconfig

* lint

* lint again...
2019-05-05 09:38:53 +01:00
Remco Haszing 7fe167420c Add types for inflation (#35199) 2019-05-04 10:04:17 -07:00
Thomas den Hollander 554b193855 [autoprefixer] Specify Stats object and stricter types (#35072)
* Update autoprefixer types

* Don't add browserslist to package.json

* Update typescript version

* Update version header
2019-05-04 10:03:54 -07:00
Dominic Lee a793220943 Add y0 data accessor to datable components (#35188) 2019-05-04 10:00:22 -07:00
James Greenleaf c1942d4bc1 Add logical negation (#35133)
https://docs.mapbox.com/mapbox-gl-js/style-spec/#expressions-!
2019-05-04 00:57:08 -07:00
Peter W 612aad6515 Add elementType to StripeJS change event handler (#35067)
Changing to match Stripe's reference documentation:
> "All events have a payload object that has an elementType property with the type of the Element that emitted the event."

See:
* https://stripe.com/docs/stripe-js/reference#element-on
2019-05-04 00:56:14 -07:00
Alexey Pelykh 6897ae2bf1 [IMP] redux-storage: support v4.1.2 (#35197) 2019-05-04 00:55:12 -07:00
Leonardo Dino 87735e29a5 [x-ray] add instance.abort parameter (#35187)
* [x-ray] add instance.abort parameter

It's actually a required parameter
created in this PR: https://github.com/matthewmueller/x-ray/pull/232
called here: https://github.com/matthewmueller/x-ray/blob/c95ef3e2a9a260155983b5ddb0eac65267f11d49/index.js#L127

see tests:
https://github.com/matthewmueller/x-ray/blob/3c5b9e4a007937c26222c10646087b046b4aab1c/test/xray_spec.js#L338
https://github.com/matthewmueller/x-ray/blob/3c5b9e4a007937c26222c10646087b046b4aab1c/test/xray_spec.js#L304

* [x-ray] remove unnecessary generics

Thanks @weswigham for the review

* [x-ray] replace abort handler any with unknown

thanks @weswigham
2019-05-03 20:32:07 -07:00
Paul Sherman e6c8ba4b9c [react] Remove pshrmn from author list (#35064) 2019-05-03 17:05:41 -07:00
ulrichb 96c1535936 Express http proxy refactorings (#35192)
* Simplify imports

* Isolate test cases

* Improve test case (use the `req` parameter)
2019-05-03 17:03:01 -07:00
Ryan Cavanaugh fe93dd7102 Remove spicy language 🔥 (#35186) 2019-05-03 15:57:44 -07:00
Niek van Bennekom 6a3064cc74 Included definition for proxyErrorHandler in express-http-proxy (#35185) 2019-05-03 14:46:25 -07:00
Simon Schick 18b13d1f4a feat(node): v12 (#34952) 2019-05-03 14:45:32 -07:00
Dan Freeman 14db1e4e2c [ember] all computed property descriptors are also PropertyDecorators (#35114) 2019-05-03 10:05:00 -07:00
Ivan Ha f2daacd88c [slate] support marks in schema (#34289) 2019-05-03 10:01:54 -07:00
Igor Golovin 7742d380cd [meteor-astronomy] typing improved. (#35177)
* [meteor-astronomy] typing improved.

* [meteor-astronomy] fixed mistake with Array
2019-05-03 10:00:52 -07:00
Nathan Shively-Sanders e907365599 Cleanup 2019/05/03 (#35184)
'constructor' is now forbidden as a property name because in 3.4 the
compiler thought it created a property, but in ES2015 it actually
created a constructor. I replaced them with computed properties, which
is still wrong, but backward compatible.

The es2015.promise lib no longer has an iterator type in it. You need to
explicitly reference es2015.iterator
2019-05-03 09:18:43 -07:00
Shannor Trotty 5ef49340ec Added missing value to to types that supported in the documentation (#35172)
See: https://react-slick.neostack.com/docs/example/vertical-mode
2019-05-03 03:04:05 -07:00
Rusty Scrivens 38c7557389 update to Sarif Version 2.1.0-rtm.0 (#35175) 2019-05-03 03:02:59 -07:00
c4605 64ffc666a2 add yeoman-environment (#35174) 2019-05-03 03:01:26 -07:00
Florian Keller 4ec0684aba Add types for chunk (#35164) 2019-05-02 20:04:14 -07:00
Felix Becker 5b2467f7ea Add types for simmerjs (#35167) 2019-05-02 20:02:55 -07:00
Desmond Koh 37f16c28b0 Updated @feathersjs/socket-commons (#35048)
* Updated @feathersjs/socket-commons

* Fixed linting errors.

* Added type definitions for hook-less service methods.

* Revert "Added type definitions for hook-less service methods."

This reverts commit 14e8062a57f68b7c338ee092fb3e5cfea9e6f226.

See https://github.com/DefinitelyTyped/DefinitelyTyped/pull/34684
2019-05-02 20:00:50 -07:00
Todd Bealmear cfbccb9851 📝 Add note regarding status of the DT-provided Sequelize types (#35173) 2019-05-02 19:57:11 -07:00
Karl Horky 1a036e2666 mariasql: Fix export and namespace (#35149)
* Fix export and namespace

* Bump version number
2019-05-02 19:55:37 -07:00
Julian Hundeloh bea05e8d52 fix(bull): add options to job (#35139)
* fix: add options to job

* fix: add test

* fix: lint

* fix: trigger build
2019-05-02 19:53:49 -07:00
Deepak Pai 70298f269c Adds namespace to options in loadable__component and loadable__server (#35141)
* Adds namespace in loadableReady

* Adds type for namespace option in loadable server

* Updates version number in header

* Bumps up the version of loadable__server
2019-05-02 17:06:31 -07:00
Pedro Duarte f6fc4976b4 Add missing props to Margin and Padding (#35158) 2019-05-02 17:05:05 -07:00
Jake Teton-Landis ed08836b1d [puppeteer] Fix misspelled paper format "Tabloid" (#35168)
This was incorrectly spelled `"Tabload"`, which is not a paper format.
Screenshot of Chrome print menu:
![Tabloid, not Tabload](https://monosnap.com/image/TKXCinVWcrZrc5laSPXUvC6Hmw1WDz.png)
2019-05-02 17:03:51 -07:00
Michelle Scharlock 686417f19f Updates to office-runtime package (#35128)
* cf updates

* fix whitespace errs

* fixes

* project name update?

* marking as non-npm

* remove all mention of AsyncStorage
2019-05-02 17:03:26 -07:00
Nathan Shively-Sanders 1068f161ab Triple-slash reference node in simplecrawler (#35169)
Previously it was in tsconfig, which breaks the build.
2019-05-02 14:10:43 -07:00
Felix Brunet 4d7fbf7626 Update Dropzone "init" option "this" type (#35032) 2019-05-02 10:39:20 -07:00
Andrew Lavers a408d42b1a [stripe] Add API version 2019-02-19 account props (#35029)
I've added type definitions for the new account.business_profile and
account.settings fields introduced in API version 2019-02-19. There are
still some other account props that remain undefined.

For reference: https://stripe.com/docs/upgrades#2019-02-19
2019-05-02 10:38:09 -07:00
Cotton Hou bd3fcfd645 fix(node): events.once resolves to type any[] (#35130) 2019-05-02 10:35:16 -07:00
Andres Rosero Velasquez ca20ec7cf9 Types for the 'mixed.notType' property from the Yup library. (#35004)
* Types for the mixed.notType function.

* move notType only to 'LocaleObject'

* fix delete 'label' property

* fix to 'strict-export-declare-modifiers' rule

* added test from MixedSchema

* export interfaces FormatErrorParams and LocaleValue
2019-05-02 10:33:58 -07:00
theweirdone 375444d5bf Added date prompts type (#35147) 2019-05-02 10:31:44 -07:00
Romain Faust c267e49944 [@types/expo] Fix Segment analytics type definitions (#35113)
* fix(expo): mark `initialize` parameter property as optional

* Also extracts the parameter's type to an interface for clarity.

* style(expo): move the methods that are related close to each others

* refactor(expo): simplify the `alias` signature

* fix(expo): fix invalid signature of `getEnabledAsync` and `setEnabledAsync`

* docs(expo): update the contributors list
2019-05-02 10:31:08 -07:00
Simon Garner 8eef7a8374 [aws-lambda] Keys should be optional inside CloudFrontHeaders (#35121)
* [aws-lambda] Keys should be optional inside CloudFrontHeaders

According to the AWS documentation, it is optional to specify a `key` for each header value, but the type declaration is currently requiring this to be specified unnecessarily.

https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-event-structure.html#lambda-event-structure-response

> - `key` (optional) is the case-sensitive name of the header as it appears in an HTTP request; for example, `accept` or `host`.
> - If you do not include the header key portion of the key-value pair, Lambda@Edge will automatically insert a header key using the header name that you provide. Regardless of how you've formatted the header name, the header key that is inserted automatically will be formatted with initial capitalization for each part, separated by hyphens (-).
>
>   For example, you can add a header like the following, without a header key: `'content-type': [{ value: 'text/html;charset=UTF-8' }]`. In this example, Lambda@Edge creates the following header key: `Content-Type`.

By making this property optional, one is able to write:

```ts
import { CloudFrontHeaders } from 'aws-lambda';

const headers: CloudFrontHeaders = {
  'content-type': [{ value: 'text/plain '}],
};
```

... instead of having to repeat the header name like:

```ts
import { CloudFrontHeaders } from 'aws-lambda';

const headers: CloudFrontHeaders = {
  'content-type': [{ key: 'content-type', value: 'text/plain '}],
};
```

* Update test

Setting a header without specifying the key should not raise a TypeScript compiler error.

* Revert "Update test"

This reverts commit 088653e362e6f0a152f54e9b5694bb778b072354.

* Add test for AWSLambda.CloudFrontHeaders with and without explicit keys
2019-05-02 10:29:11 -07:00