Commit Graph
62233 Commits
Author SHA1 Message Date
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
Simon Oulevay c04cbed8b0 [duplexer2] Support regular stream.Duplex options (#35122)
As documented in https://www.npmjs.com/package/duplexer2#duplexer2-1,
options should not only be the duplexer2-specific `bubbleErrors` option,
but also regular stream.Duplex options.
2019-05-02 10:28:25 -07:00
Brendon Sled 60e09cf45a [@types/pusher-js] 4.3.0 - introduce new forceTLS & deprecate encrypted (#35140)
* 4.2.2

https://github.com/pusher/pusher-js/blob/v4.2.2/src/core/options.ts

* Update pusher-js-tests.ts
2019-05-02 10:27:50 -07:00
beeme1mr 31b10d6907 Fixed invalid date time types (#35150)
Changed date time period and date period to be strings.
2019-05-02 10:26:16 -07:00
Pedro Mutter 7b5f8da253 Types definitions to simplecrawler module (#34997)
* simplecrawler modules type definition

* required fixes in export
2019-05-01 17:25:46 -07:00
Rémy Oudemans a807e4e416 Add express-async-wrap (#35030)
* adds types for express-async-wrap

* Adds express-async-wrap properly

* Adds typescript version to express-async-wrap

* removes unnecessary generics

* removes unnecessary comment

* fix: now uses export default
2019-05-01 17:21:57 -07:00
Mikhail Davydov 1e697cb6e6 Introduce type definitions for jest-expect-message (#34890)
* Introduce type definitions for jest-expect-message

* Fix review comment (remove declare global)
2019-05-01 16:56:39 -07:00
Søren Englund 93b2b363a1 updated @types/react-image-crop to match the newest version of react-image-crop (#34796)
* updated types to match the newest version of react-image-crop

updated tests

added missing semicolon

reverted minimum ts version

* Made crop optional, and renamed resolveCropAndTriggerChange to resolveCrop
2019-05-01 16:26:10 -07:00
Frank Feinbube 498aaaf3cc fundamental-react 0.5.1 (#35034)
* type definition for fundamental-react

* removing my co-author to make definitelytyped-header-parser happy

* fixing issues to make travis happy :)

* onClick index is mandatory now

* similar folder structure

* making sure, all files are used

* removed an import that is not provided by fundamental-react

* trying to convince travis, that all files are necessary

* fixed a typo

* included index files in tsconfig.json

* fixed formatting
2019-05-01 16:23:47 -07:00
Bjørnar Snoksrud d180929701 [secure-random-password]: add types (#35016)
* [secure-random-password]: add types

* Update types/secure-random-password/index.d.ts

Fix type of RandomPasswordOptions::characters

Co-Authored-By: bjornars <bjornar@snoksrud.no>
2019-05-01 16:09:43 -07:00
I Komang Suryadana 7e8b7a0a94 [vue-tel-input] Add definitions for vue-tel-input (#35026)
* Saturday, 27 April 2019.

1. Add declaration for vue-tel-input package.

* Saturday, 27 April 2019.

1. Revision data interface.
2. Revision methods interface.
2019-05-01 16:07:34 -07:00
Claas Ahlrichs 63477193da 🐣🐇🐣 new package: kind-of 🎅 (#34879)
* npx dts-gen -m kind-of --dt

* drafted types for kind-of

* reordered overloads

* added more overloads

* fixed linting issues

* npx prettier --write .\types\kind-of\**

* updated teste cases

* clarified edge-cases

* work around banned types
2019-05-01 16:00:02 -07:00
Deyan Kamburov 4d5fbe2383 [ignite-ui] Update Ignite UI typing to 19.1 release version (#34799) 2019-05-01 10:40:08 -07:00