Commit Graph
64685 Commits
Author SHA1 Message Date
Pacharapol Withayasakpunt cc2af583e5 add @types/async-eventemitter (#38203)
* add @types/async-eventemitter

* fix tests for async-eventemitter (npm test)

* fix def for listeners

* extends events/EventEmitter

* add jsdoc

* export as namespace

* formatting

* fix signature
2019-09-27 08:51:59 -07:00
Eric Mulligan 5d5d2ae0c8 Add sauronjs types (#38166)
* Started adding types.

* Missed these changes.

* Adding types.

* Should be good.

* Should be good to go.

* Updated prettier formatting.

* Updated prettier formatting.

* Updated prettier.

* Changed to ReadonlyArray.

* Modified as per review.

* Modified with other recommended changes.
2019-09-27 08:49:06 -07:00
Lydia Kats 278c2a996c [parse] Fix for const enum throwing isolatedModules error (#38472)
* fix for error enum declaration

- moved error enum declaration outside of Parse context
- changed `const enum` to `declare enum`
- added static vars for enum fields to Error class

* added test for errors
2019-09-27 08:45:27 -07:00
Jamie Magee c93e0fceac Remove re2 types (#38609)
* Remove re2 types

Available as part of the re2 package as of version 1.10.2

* Update asOfVersion re2
2019-09-27 08:42:05 -07:00
Max Boguslavsky 97c71bc7cb Added typing for xml-c14n (#38634)
* added xml-c14n typing

* reworked tests; added test run to package.json

* formatting fix

* removed package.json

* added info

* fixed errors

* rewrote typing

* reworked version

* added compile flag

* corrected export

* corrected export

* corrected tsconfig

* set noImplicitAny to false

* set other options to false

* returned back options which were turned off by mistake

* fixed typing according to review comment
2019-09-27 08:40:55 -07:00
Renan Machado 21da200696 [relay-runtime] Split files to better maintenance (#38640)
* add RelayNetworkLogger types

* add export for RelayNetworkLoggerTransaction

Fix changes suggested by TravisCI too

* add export to createRelayNetworkLogger and change type of arg

* move Network loggers to separate files

* add tests to RelayNetworkLogger

* add RelayNetworkTypes

* add RelayObservable

* add RelayNetwork

* add RelayQueryResponseCache

* add RelayRuntimeTypes

* add RelayFeatureFlags

* add RelayDeclarativeMutationConfig

* add applyOptimisticMutation

* add commitMutation

* add commitLocalUpdate

* add isRelayModernEnvironment

* add RelayRecordState

* add RelayStoreTypes

* add RelayRecordSource

* add RelayModernStore

* add RelayModernSelector

* add RelayModernOperationDescriptor

* add createFragmentSpecResolver

* add RelayStoreUtils

* add RelayModernGraphQLTag

* add fetchQuery

* add requestSubscription

* add RelayDefaultHandlerProvider

* add RelayDefaultMissingFieldHandlers

* add RelayModernEnvironment

* add RelayProfiler

* remove index imports

* remove declarations from index

* make imports and exports of index match source

* export RelayConcreteNode

* add MutationTypes and RangeOperations

* change type of graphql arg func

* change RelayDefaultHandlerProvider

* change RelayQueryResponseCache to default export

* change Environment of commitMutation

* Fix ConnectionHandler exports.
2019-09-27 14:53:35 +02:00
Romain Faust f5f1e2100b [react-native] Add resetBeforeIteration to LoopAnimationConfig (#38627)
* fix(react-native): add `resetBeforeIteration` to `LoopAnimationConfig`

* chore(react-native): update contributors list
2019-09-27 10:57:01 +02:00
dadapowell 3b1a72a2ea Add delimiterLazyShow to CleaveOptions (#38349) 2019-09-26 17:14:18 -07:00
Gavin Gregory 793e9f235f extended the OptimizedSvg interface to include path, and info width and height. (#38317) 2019-09-26 17:12:58 -07:00
Takashi Tamura f161e550b4 update workerpool to v5 (#38382)
* update workerpool to v5

* follow tslint

* update function pool doc
2019-09-26 17:03:37 -07:00
Syncfusion-JavaScript 6aad817004 17.3.0.9-beta added (#38497)
* 17.2.0.34 added

* Added non-npm package

* Removed space

* added new line
added ew line

* Changed the word

* 17.2.0.46 added

* Removed blank line and added non-npm entry

* changed Encoding format

* 17.3.0.9-beta added

* added npm packages
added npm packages

* added npm packages

* format changes

* format changed
format changed

* Format changed to ANSI
2019-09-26 16:55:58 -07:00
Mihail Parvanov a17c4bcc20 Update Kendo ui version to 2019.3.917 (#38459) 2019-09-26 16:52:58 -07:00
BRAMILLE Sébastien 498618d8d5 Update mongoose-paginate & mongoose-paginate-v2 populate types (#38303)
* Update mongoose-paginate & mongoose-paginate-v2 populate types

* Add QueryPopulateOptions

* Upgrade typescript to 2.8 as the tslint does not succeed with the 2.3
2019-09-26 16:51:45 -07:00
Oliver Joseph Ash f4cf543466 react-redux: correct connect return type (#38179) 2019-09-26 16:41:43 -07:00
Max Boguslavsky 092ed17330 Unused files webpack plugin (#38636)
* added typing

* corrected formatting

* added semicolon
2019-09-26 16:27:09 -07:00
Max Boguslavsky 13e90c82cf Type for Signalfx package (#38638)
* added signalfx

* fixed test errors

* fixed test errors
2019-09-26 16:19:50 -07:00
Tvrtko Majstorović 8d3e4aacc9 [@types/hdkey] Add declarations for toJSON and fromJSON (ver. 1.1.1) (#38517)
* Add toJSON and fromJSON to HDNode declaration

* Add credentials
2019-09-26 16:10:12 -07:00
Ivan Zverev 99078a21ed Add types for draftjs-to-html (#38588)
* Add types for draftjs-to-html

* Add types for draftjs-to-html: remove excess blank line

* Add types for draftjs-to-html: change function export
2019-09-26 16:09:04 -07:00
Robert Stocks a9c67da719 lodash: fix flattenDeep to correctly handle strings (#38625)
* lodash: fix flattenDeep to correctly handle strings

* fix whitespace
2019-09-26 16:06:08 -07:00
Matthew Peveler 50fab9758a add: type definitions for isstream (#38611)
* add: type definitions for isstream

* address reviewers comments
2019-09-26 16:03:47 -07:00
James Hong 87be2f30cd Adds type support for subset declaration (#38617) 2019-09-26 15:22:12 -07:00
Scott Jones c72edfe745 json-rules-engine: update missing operator string type (#38644)
* add types for turndown

* use auto-genned tsconfig and tslint

* add dom types

* re-generate module

* fix tests and typescript version

* feature/json-rules-engine: add initial types for json-rules-engine

* feature/json-rules-engine: update test

* also satisfy linter

* feature/json-rules-engine: update types

* chore: pre-commit hook fixes

* chore: fix missing optional param

* feature/json-rules-engine: remove generic type

* feature/json-rules-engine: fix missing operator string
2019-09-26 15:20:17 -07:00
Joel Spadin 7b9a50b43c libnpmsearch: Fix detailed score type (#38614) 2019-09-26 15:19:48 -07:00
Rickard Dybeck a583053586 Add log to pg.PoolConfig (#38572)
The log attribute on PoolConfig allows you to attach a logger to debug
what's going in inside the pg-pool.
2019-09-26 13:51:09 -07:00
Li Cui dfac3b68e1 RUN-5646 release 45 version for openfin (#38595)
* add v43 folder

* update to v45

* remove a useless file

* update the version to 45

* update baseUrl
2019-09-26 13:48:10 -07:00
Nathan Shively-Sanders 72848f9624 console-ui now uses Readable/WritableStream from node (#38641)
Previously, it used process.Readable/Writeable. But its tests show that the
constructor is meant to take process.stdin, which is a ReadStream. Until
recently, the two types were mistakenly assignable. Now that they are
not, I think the type should be ReadableStream, which is a common
supertype of process.Readable and ReadStream.
2019-09-26 12:32:55 -07:00
Marco Manino ed41e25e73 Typings for individual Decoder factory (#38631)
Decoder can be built standalone (is part of the actual public interface
and part of the performance-test interface described in the README.md of
the project). Moreover, Decoder is an event emitter. The interface has
been update accordingly.
2019-09-26 12:09:06 -07:00
Daniel Kukula 06886907f1 add 'lrgb' to chroma-js InterpolationModes (#38604) 2019-09-26 12:08:03 -07:00
Krisztián Balla 17e6fe2e0f Updated gettext.js type definition (#38605)
* Update index.d.ts

Member "locale" of interface "JsonDataHeader" was renamed to "language".

* Update gettext.js-tests.ts

Updated test according to type definition changes.

* Updated version number to 0.8
2019-09-26 12:06:20 -07:00
Callum Macdonald f8d91d79ea Redis add flushall async (#38542)
* Add ASYNC flushall to redis

* Add ASYNC to flushdb / redis

* Linting fix. Correct type order.

* Copy ASYNC flushall / flushdb to ts3.1 types
2019-09-26 12:00:23 -07:00
Alex Povar 7456aa4eec [jasmine] Improve various library types (#38412)
* Move Func helper to jasmine namespace

* Move ImplementationCallback to jasmine namespace

* Align tests between different versions

* Fix typings for spyOnAllFunctcions

* Improve typing for function matchers

* Refactor AsymmetricMatcher to handle all cases

* Enhance basic expectation docs and typing

Improve toBe(), toEqual(), toMatch(), toHaveClass()
documentation to avoid confusion around them.

* Enhance any() and anything()

* Add missing typing for non-named spy object

* Specify that jasminewd2 depends on jasmine v2

The jasminewd2 library supports jasmine 2 only,
therefore point typings to the correct reference.

* Add NonTypedSpyObj for complex scenarios

* Improve tool for spy names extraction

* Remove undefined Any property from matchers
2019-09-26 11:58:51 -07:00
Dobes Vandermeer 7564c78a0a react-helmet: remove default export (#38557)
* react-helmet: remove default export

This package does not have a default export.

* react-helmet-async: bump typescript version

This depends on react, which has typescript version 2.8, so this
package has to be updated to match.
2019-09-26 11:49:22 -07:00
Denis Malinochkin c313dca7d1 Update types for glob-parent to version 5.1 (#38521) 2019-09-26 11:43:21 -07:00
Pierre-Antoine Mills 2df4096252 [ramda] accurate types for mergeAll & a fix (#38632)
* fix: added 'deep' to `mergeDeepRight`'s type

* fix: merge types

* fix: missing semicolon

* fix: bad test
2019-09-26 11:26:47 -07:00
michael-whi ca615dcc7a [ECORE] - Marks for interface Resource, parse method. (#38543)
* Added ecore types.

* Little fix.

* Little marks.

* Fixed default export.

* Import/Export marks.

* Fixed default export.

* Marks.

* Test.

* Test.

* -Deleted wrong def eContent in EObject
-Marks in EPackage and EPackageRegistry

* Interface Resource, parse, second parameter 'loader' has to be optional.
2019-09-26 10:52:24 -07:00
Nathan Shively-Sanders c5f1369cbd Silence upcoming error in TS 3.7
The error tries make sure you don't use a truthy check on a function
instead of calling. But the code in the tests is in fact checking for
the presence of the function.
2019-09-26 10:33:05 -07:00
AppLover69 792b469dea Add definitions for ebml@3.0.0 (#38549)
* Add definitions for ebml@3.0.0

* Use imported type
2019-09-26 09:46:00 -07:00
Adam Michel ae22f59acd [react-native] Add Alert.prompt method def. (#38602)
Add `Alert.prompt` method definition from https://github.com/facebook/react-native/blob/89e3f70eab74b722d517c9885ae52c366d0b2315/Libraries/Alert/Alert.js#L103-L173.
2019-09-26 10:51:45 +02:00
Scott Jones dbc9275f37 json-rules-engine (#38613)
* add types for turndown

* use auto-genned tsconfig and tslint

* add dom types

* re-generate module

* fix tests and typescript version

* feature/json-rules-engine: add initial types for json-rules-engine

* feature/json-rules-engine: update test

* also satisfy linter

* feature/json-rules-engine: update types

* chore: pre-commit hook fixes

* chore: fix missing optional param

* feature/json-rules-engine: remove generic type
2019-09-25 16:48:34 -07:00
Gabriel Montes 008bc5cc70 Fix web3.eth.subscribe callback type (#38383)
The callback function of `web3.eth.subscribe` is a `Callback` but the type is not i.e. a `Subscribe<BlockHeader>`, it is a plain `BlockHeader`. This fix applies to all the subscription types.
2019-09-25 16:44:54 -07:00
Phil Cole 5ae53c2f54 [xrm] Add parameter to formContext.ui.refreshRibbon (#38386)
* Add parameter to formContext.ui.refreshRibbon

* Fix whitespace for linting
2019-09-25 16:42:22 -07:00
Mark Dascher 71cbf65749 [@types/react-json-pretty] Add replacer, space, and themeClassName props for v1.7 (#38509)
* [@types/react-json-pretty] Add replacer, space, and themeClassName props for v1.7

* use 4 spaces and single quotes
2019-09-25 16:40:45 -07:00
Guillaume Fraux 1b5c36ed9f Plotly.js: add support for colorscale and numeric colors (#38441) 2019-09-25 16:38:01 -07:00
Evan Shortiss 6b37d23b30 support heatmap flag in google-map-react (#38403)
* support heatmap flag in google-map-react

* add options callback to google-map-react and bump version

* fix linting error

* fix formatting
2019-09-25 16:35:39 -07:00
AndyLnd 17e59cd0f1 fix(markdown-it): TokenRender returns string (#38461) 2019-09-25 16:34:28 -07:00
Matt Scheurich 7823adabc9 Updated types for jest-json-schema@2.1 (#38465)
* updated jest-json-schema types with latest version of Ajv and support for extendAjv in matchersWithOptions

* updated jest-json-schema version in header

* removed patch version from header
2019-09-25 16:31:18 -07:00
Wing Ho 0881aed62f Add TrustedServer type to cesium (#38354) 2019-09-25 16:15:19 -07:00
baiyufei d544b41b87 Create a type definition for npm module hark (#38375)
* Create a type definition for npm module hark

* Update index.d.ts

* Update index.d.ts
2019-09-25 16:12:57 -07:00
German Ivanov 444e10e486 [node-asana] Add support for sections, gid, string ids, nextPage method for collections, support deprecation framework (#38103)
* feat: add support for sections, gid, string ids, nextPage method for collections

* feat: make section memebership nullable

* fet: make tasks completed_at field nullable

* feat: add section findById and events API

* fix: return bluebird types

* feat: add event related types

* feat: add suport for event error messages

* feat: add project attribute to the event section
2019-09-25 16:11:43 -07:00
David Skx d214c694c7 add support for SOFORT payments without SourceOptions (#38297)
* add support for SOFORT payments within SourceOptions

please see https://stripe.com/docs/sources/sofort for details

* add semicolon

* add semicolon
2019-09-25 16:08:34 -07:00