Commit Graph
44151 Commits
Author SHA1 Message Date
Daniel Schmidt 41187d8875 add types for npmlog (#25291) 2018-04-25 12:02:33 -07:00
Ethan Frey 2d8ed8e3db Add defintions for github.com/tonyg/js-nacl (#25296) 2018-04-25 11:59:22 -07:00
Don Denton d54d8943e3 (new definition) [qunit-dom] Add types (#25299) 2018-04-25 11:59:01 -07:00
Konstantin Simon Maria Möllers f659a6fb16 [whatwg-streams] Make classes generic, add transform streams (#25292)
* [whatwg-streams] Make stream classes generic

* [whatwg-streams] Add transform streams

* [whatwg-streams] Add ksm2 to authors
2018-04-25 11:57:10 -07:00
Armin Pfurtscheller 9c7cdc97e5 Added types/wampy v6.x.x (#25265) 2018-04-25 11:56:00 -07:00
JB Nizet e9b73ce6db luxon: add changes introduced in versions 1.1.0 (#25237) 2018-04-25 11:55:37 -07:00
Matt Terski 69fb65bf61 Add S3's serverSideEncryption option (#25262) 2018-04-25 11:55:21 -07:00
Vincent Langlet e81f217c01 Add NavigationContainerComponent (#25270) 2018-04-25 11:55:08 -07:00
Jan Lohage b3ce091e34 Update index.d.ts (#25283) 2018-04-25 11:54:53 -07:00
Niklas Wulf 08f61aa813 [accept-language-parser] add PickOptions (#25289) 2018-04-25 11:54:06 -07:00
Zev Spitz bfefeaadb9 activex-mshtml: default properties; fix for default argument values in jsdoc (#25293)
* Fix activex-stdole

* Reduce any

* Default properties; fix jsDoc default values

* Fix office tests

* activex-office dtslint fix

* activex-vbide: default properties; default values of optional parameters

* activex-vbide: dtslint fixes

* activex-msforms -- default properties; default parameter values in jsDoc

* Reduce duplicate types

* dtslint fix

* activex-outlook version bump

* activex-powerpoint Typescript version bump

* activex-vbide Typescript version bump

* post-DefinitelyTyped-build fixes

* Fix Column and List setters

* Fix for Excel tests

* Default properties; fix default parameter values in jsDoc

* Remove max-line-length
2018-04-25 11:53:53 -07:00
Louis Hache f58ed1701b [@types/grid-styled] Support AlignSelf property on Box (#25261) 2018-04-25 11:52:41 -07:00
Ron Buckton efbdc03f8c Merge pull request #25271 from DefinitelyTyped/keyofCompatibility
Compatibility fix for keyof T in ts 2.9
2018-04-24 20:51:49 -07:00
Ron Buckton b73b4426dd compatibility fix for keyof T in ts 2.9 2018-04-24 19:48:14 -07:00
Bruno Lemos fdb2c25846 [react-native] Support Layout Props (#25083)
Support some styles as View and Image props, e.g. <View flex={1} />
2018-04-24 18:34:33 -07:00
Zev Spitz 163ae93d86 MSOffice dependencies: activex-office, activex-msforms, activex-vbide, activex-stdole -- default properties; jsdoc fixes (#25256)
* Fix activex-stdole

* Reduce any

* Default properties; fix jsDoc default values

* Fix office tests

* activex-office dtslint fix

* activex-vbide: default properties; default values of optional parameters

* activex-vbide: dtslint fixes

* activex-msforms -- default properties; default parameter values in jsDoc

* Reduce duplicate types

* dtslint fix

* activex-outlook version bump

* activex-powerpoint Typescript version bump

* activex-vbide Typescript version bump

* post-DefinitelyTyped-build fixes

* Fix Column and List setters

* Fix for Excel tests
2018-04-24 17:38:01 -07:00
Bruno Lemos e5c82b2910 [react-native-linear-gradient] Remove type definitions (#25147)
The project has a `index.d.ts` file since v2.4.0.
2018-04-24 17:37:10 -07:00
Bruno Lemos a5cb711763 [expo] Un-extend LinearGradientProps from ViewProperties to unblock #25083 (#25149) 2018-04-24 17:36:43 -07:00
Ben Saufley 6250af69ce [next-redux-wrapper]: Change reference to React.Component to [react-redux.]Component (#25137)
* Change reference to React.Component to [react-redux].Component

* Bump verison number to match latest package version?

* No patch version

* Don't pass MergedProps to returned type; extend tests
2018-04-24 17:34:23 -07:00
a.nvlkv c02c9f00f0 Update Layer.paramNames, Add ParamName (#25135)
In recent version of koa-router paramNames aren't strings but objects. Added definition
2018-04-24 17:31:59 -07:00
Eugene Kuzmin 56f31f9da4 Add merge() method to ObjectLikeSequence<T> (#25127) 2018-04-24 17:25:17 -07:00
Slava 7c9595d32e Update @types/long to latest version (#25126)
Add fromBytes/LE/BE and toBytes/LE/BE. Also fix some tests.
2018-04-24 17:23:31 -07:00
Abdulaziz Ghuloum 470d9ed790 Update index.d.ts (#25119)
The done function takes an optional release (boolean) argument that tells whether the client should be released or put back in the pool. From: https://node-postgres.com/api/pool
`
The releaseCallback releases an acquired client back to the pool. If you pass a truthy value in the err position to the callback, instead of releasing the client to the pool, the pool will be instructed to disconnect and destroy this client, leaving a space within itself for a new client.
`
2018-04-24 17:22:30 -07:00
Su-Shing Chen 8d87c67236 [@types/when] Fix when.js then() when TResult is a subtype of T (#25110)
* Fix when.js then() when TResult is a subtype of T

Change the order of .then overrides to deprioritize no generics.

* Move the more specific overload to the top
2018-04-24 17:20:45 -07:00
Jason Walton 211a5eb474 [@types/body-parser] Fix so body-parser works with connect/vanilla node.js apps. (#25115) 2018-04-24 17:18:28 -07:00
Mathias Paumgarten 0823873176 Adds types for gl-shader (#25200)
* init gl-shader types

* adds tests

* fixes file name

* adds additional signature

* fixes definitions url
2018-04-24 17:17:17 -07:00
Daniel Sogl 248e3140ec Added type definitions for apicache (#25225)
* Added type definitions for apicache

* Added type definitions for apicache

* Update index.d.ts

* Update index.d.ts

* fix lint

* refactor lint rules

* fix lint

* add test file
2018-04-24 17:15:06 -07:00
Daniel Sogl 8c831011f2 Added type definitions for url-params (#25226)
* Added type definitions for url-params

* add test file

* fix naming

* fix naming
2018-04-24 17:12:55 -07:00
Marc Ghorayeb 517765c944 feat(react-jsonschema-form): generic interfaces for better return types (#25103) 2018-04-24 17:11:08 -07:00
Alan Plum bd16c73705 [tea-merge] Remove attribution (#25223)
* Remove attribution as per @mihhail-lapushkin's wishes

* Update index.d.ts
2018-04-24 17:09:25 -07:00
ryym 1efe02587a [react-redux] Update type definitions for redux@4.0.0 (#25109) 2018-04-24 17:08:19 -07:00
Harm van der Werf 4ed4461b26 Added type definitions for Chai UUID (#25227)
* Added types for Chai UUID

* Fixed the test file

* Removed the message parameter because it's not implemented in the plugin

* Removed an empty namespace as it was unnecessary
2018-04-24 17:06:44 -07:00
Omar Diab 48e4b60094 React intl JSX.Element values (#25074)
* allow formatted message children to be a JSX Element

* tests for JSX.Element children

* lint
2018-04-24 17:03:16 -07:00
Fabio Berta f958ca5669 add proper default export (#25071) 2018-04-24 17:02:02 -07:00
Tanguy Krotoff b273310927 react-native: small improvements (#25057)
* Switch from var to const

* import React instead of /// <reference types="react" />
2018-04-24 17:00:51 -07:00
restimel 63f5ebe451 ace: extend all core component with optionProvider. (#25058)
The methods setOption, setOptions, getOption, and getOptions are available
for all core ace components (editor, session, renderer):
https://github.com/ajaxorg/ace/wiki/Configuring-Ace

In commit 19fc8fa756, it was done only for
editor.
Now a dedicated OptionProvider interface is available and core components
interface extends this new one.
2018-04-24 16:55:20 -07:00
Brendan Kenny c5e4324520 [css-font-loading-module] Add missing FontFace properties (#25045)
Based on full FontFace interface - https://drafts.csswg.org/css-font-loading/#fontface
2018-04-24 16:46:15 -07:00
Mathew Rumsey 593a956550 command-line-usage added (#24787)
* command-line-usage types good default bad

* Type adjustments

export Section, raw optional

* No errors - try remove tslint rule override

* Linting .d.ts works great!

* typings pass all given examples

* Removed type-annotation causing Travis to fail

* Re-added Dvorsky as contributor

Even though the new definitions completely overwrite the old, it was requested that the original author be re-added.

* Fixed a silly, silly mistake - missing comment slashes
2018-04-24 16:42:48 -07:00
Andy cd39e74f6b protractor-helpers: Move 'jasmine' dependency to tests (#25034) 2018-04-24 16:30:51 -07:00
Daphne 93bef66405 Added missing prop 'resize' (#25029) 2018-04-24 16:29:34 -07:00
Periklis Tsirakidis ebad624215 react-lazyload: Update to 2.3.0 (#25030) 2018-04-24 16:29:04 -07:00
Alan Plum 6c26901d8b Add ArangoDB typescript typings (#25087)
* Initial declaration WIP

* Unexplode linter

* Some linting

* More linting

* More linting

This was the last of the low-hanging fruit.

* Use generic string index types

There doesn't seem to be a way to set a "fallback" string index type
so I guess this has to be as generic as necessary.

* Expand stub interfaces

* Get rid of extra declares

These seem to be redundant

* Get rid of extra exports and const enum

This seems to simply work.

* @arangodb/index -> @arangodb

* Escape 'new' attribute to be safe?

* Replace string index types with compositesa

This seems to achieve the behaviour we want:
typeof db.asdfg == ArangoDB.Collection | undefined
typeof db._query == Function

* Both options actually exist

Thanks @Simran-B for clarifying this.

* Remove PlainObject interface

Turns out we actually want `object` as the default type almost
everywhere.

* Bolt down generics

No sense defaulting to object if we don't also enforce extending object.
Also those Documents and Edges might contain literally anything so let's allow that.

* This is probably a hack but at least it works

* Add example stub

* Deduplicate route handler signatures

* Brute force?

This feels wrong. There must be a better way.

* Pass linting

* Possible workaround for globals

* Unnecessary qualifier

* Override NodeJS types

* Add View API

* Slightly more specific graphql types

* Use actual graphql module for types

* Better model manifest/config/deps

* Apparently this doesn't require escaping

* Fix InsertResult

* Functions that always throw should return never?

* Add HttpStatus

* Add Console#logLines

* type to interface

* More example code

* Inline some types

* Inline JwtStorageOptions

* Add sessions middleware example

* Fix aql template string handler
2018-04-24 16:28:27 -07:00
Anderson Friaça ddb98c71c2 Types for JQuery Loading Overlay (#25189) 2018-04-24 16:26:13 -07:00
Max 958ae30039 add types for 'fluxible' and 'fluxible-router' (#25198)
* add types for package 'fluxible'

* add fluxible router types

* fix tests

* fixed annotation
2018-04-24 16:25:01 -07:00
Jakub Řičař 25c7bb7484 [react-popover] Fix for users without allowSyntheticDefaultExports or esModuleInterop (#25216) 2018-04-24 16:22:23 -07:00
Andrew Houghton fd5742930d (new definition) add mjml (mjml.io) types (#25217)
* add mjml (mjml.io) types

* update mjml definition, actually verify linter runs, be more explicit in re: error types

* mjml: int -> number.  why does lint pass w/ 'int'? ah well.

* per @plantain-00 CR
2018-04-24 16:21:17 -07:00
Michael Utz 8231b1a62a added jest-each module declarations (#25224)
* added jest-each module declarations

* test: updated tests for `it.skip` and `it.only`
2018-04-24 16:20:12 -07:00
Ben Cook 49b8178b77 Add type definitions for base64-arraybuffer (#25239)
* Added declarations for 'base64-arraybuffer'

* fix linting and header
2018-04-24 16:19:00 -07:00
Nick Schultz 73619f74ff [Sequelize] Fix types error with UpsertOptions requiring the returning option if they are defined at all (#25240)
* upsert should compile with options that dont include returning

* fix parens

* bump version for bugfix
2018-04-24 16:17:23 -07:00
Arjun Jhawar 959c2e2e35 Bugfix: change url to uri property name under SourceLocation to match API (#25243) 2018-04-24 16:14:38 -07:00