Commit Graph
64867 Commits
Author SHA1 Message Date
Philippe-millsandArmando Aguirre 70601fd066 Added myself to contributors for future contribs (#38935) 2019-10-07 16:45:53 -07:00
Florian KellerandArmando Aguirre 0f8ab6b324 [electron-winstaller] remove types (#38931) 2019-10-07 16:45:34 -07:00
Doug AyersandArmando Aguirre 300c8e7c23 [@types/jsforce] Add ConnectionOptions.refreshFn (#38925)
* Add refreshFn option

* update tests

* sort imports, add Doug Ayers

* remove "// TODOS" comment

* (lint) MAJOR.MINOR (patch version not allowed)
2019-10-07 16:44:34 -07:00
jochemmmandArmando Aguirre 6f83edcabb add type definition for option gzip (#38943) 2019-10-07 16:43:55 -07:00
Aziz KhambatiandArmando Aguirre ca5aab8759 [loadjs] v4 definitions (#38941) 2019-10-07 16:43:37 -07:00
Brandon RisellandArmando Aguirre b8a7daa927 Update DetailedErrorCode to enum (#38366) 2019-10-07 16:43:02 -07:00
Justin SiebertandArmando Aguirre 00e1829294 Fix incorrect Stripe package types (#38924) 2019-10-07 16:39:50 -07:00
Justin SiebertandArmando Aguirre ba84b8e11c Add typing for Stripe request and response events (#38894) 2019-10-07 16:39:20 -07:00
Michaël De BoeyandArmando Aguirre ab4aed49ce [@storybook__*] Delete Storybook types (#38447)
* Delete @storybook/addon-actions

* Delete @storybook/addon-backgrounds

* Delete @storybook/addon-centered

* Delete @storybook/addon-jest

* Delete @storybook/addon-knobs

* Delete @storybook/addon-links

* Delete @storybook/addon-options

* Delete @storybook/addon-viewport

* Delete @storybook/addons

* Delete @storybook/channels

* Delete @storybook/html

* Delete @storybook/preact

* Delete @storybook/react

* Delete @storybook/react-native

* Delete @storybook/vue

* Fix for @storybook/preact

* Fix test errors

* Revert removing @storybook/react types
2019-10-07 16:38:16 -07:00
Max BelskyandArmando Aguirre f2d688ab20 Specify element type (#38901) 2019-10-07 16:32:03 -07:00
Andrew MacDonaldandArmando Aguirre a55ab31b74 fix: Use ListIterator for the remove predicate. (#38897)
* Use ListIterator for the remove predicate.

* generate fp
2019-10-07 16:30:52 -07:00
Daniel KucalandArmando Aguirre 6090a81c7d Extend Quill Key.key type (#38713)
It's common to use numeric keycode, especially when we need to access any element of `keyboard.bindings` directly.
Casting to string like:
```
enum KEYS = {
    UP: 38,
    DOWN: 40,
};

keyboard.addBinding({
  key: KEYS.UP.toString(),
  // ...
});
```
does *not* work, so `number` should be allowed as well.
2019-10-07 16:29:19 -07:00
Dan ManastireanuandArmando Aguirre c9e1d5f662 Fix typo in process. Closes #38004 (#38903) 2019-10-07 16:25:23 -07:00
Nicolas ReynisandArmando Aguirre bef2f05864 [js-cookie] Update CookieAttributes definition to accept SameSite and freeform attributes (#38855)
* Update CookieAttributes definition to accept SameSite and freeform attributes

* Review feedback: use camelCase, better comment doc, added support for None value
2019-10-07 16:20:06 -07:00
Max BoguslavskyandArmando Aguirre 288184a5b9 corrected options interface; corrected tests. (#38874)
* corrected options interface; introduced dom lib into global space; corrected tests params

* removed redundant ref
2019-10-07 16:15:12 -07:00
yamagen0915andArmando Aguirre 3a4502e0b0 Change onDownload return type from string to BlobPart (#38866) 2019-10-07 16:13:08 -07:00
Daniel AfonsoandArmando Aguirre cf165bfcf1 chore: add new debug parameters on testing library react (#38872) 2019-10-07 16:12:38 -07:00
AlbertoandArmando Aguirre 9ddcefd7ec Including missing array operator on update (#38867)
* Including missing array operator on update

* Creating tests for the udpate query completely

* Using Array for infer

* Allowing partial upates

* Using single quotes
2019-10-07 16:10:01 -07:00
Jorgen VandArmando Aguirre 4efe9a86fe @types/stripe Added collection_method to IInvoiceCreationOptions (#38838)
* Added collection_method to IInvoiceCreationOptions

* Removed trailing whitespaces

* Fixed review feedback
* Added deprecated tags
* Reintroduced an attribute that is still in use on older versions

* Fixed some alignment issues
2019-10-07 16:06:54 -07:00
Max KapshtykandArmando Aguirre 5fa92bc750 enable option for progress callback (#38815)
according to those specs https://parseplatform.org/Parse-SDK-JS/api/master/Parse.File.html , there are those options:
Valid options are:
useMasterKey: In Cloud Code and Node only, causes the Master Key to be used for this request.
progress: In Browser only, callback for upload progress
2019-10-07 16:06:02 -07:00
Ethan ResnickandArmando Aguirre 2388e7ca03 fix(pino): DestinationStream can be any object with write()` (#38858)
This is per the pino docs:

> The destination parameter, at a minimum must be an object with a write method.

Inspecting the source confirms that only a write method (with no particular return type) is required for basic usage: https://github.com/pinojs/pino/blob/master/lib/proto.js#L153. Calls to other potential methods (flush, flushSync, etc) are always guarded with an existence check, as they're not required.
2019-10-07 15:57:58 -07:00
Elizabeth SamuelandArmando Aguirre dc580d7d4e [office-js-preview] (Outlook) Need to strip data prefix to use base64 API (#38881)
* [office-js-preview] (Outlook) Need to strip data prefix

* tweak

* Updates based on feedback
2019-10-07 14:51:56 -07:00
Elizabeth SamuelandArmando Aguirre 93a393decc [office-js-preview] (Outlook) restUrl to targetRestUrl (#38880) 2019-10-07 14:51:25 -07:00
lexasssandArmando Aguirre b725b63d06 [vue-ls] 'export default' restored / bugfix (#38884)
* vue-ls

* authors corrected

* vue-ls: tsconfig updated

* default removed

* [vue-ls] 'export default' restored / bugfix
2019-10-07 14:50:26 -07:00
Flexmonster TeamandArmando Aguirre 032146d3ef [@types/flexmonster] Updates for Flexmonster Pivot Table v2.7.16 (#38955)
* Added options.chart.axisShortNumberFormat

* validateFormulas option in Flexmonster

* new option properties were added

showFieldListSearch
strictDataTypes

* Added ContextMenuItem.class

* ExportOptions.fontUrl

* Options.caseSensitiveMembers

* new API call added

new API call openCalculatedValueEditor

* requestHeader was renamed into requestHeaders

* Update index.d.ts

simplifyFieldListFolders

* Update index.d.ts

validateReportFiles

* Update index.d.ts

filter.liveSearch

* update getData callbacks

* Update index.d.ts

* added levels for getAllHierarchies() API

* Level definition update

* CellData properties update (+ recordID, + rowData)

* Added dataSource.type

* "Definitions by" were updated

* report object extended with "version" and "creationDate"

* updateData() API call update (added options parameter)
2019-10-07 14:49:20 -07:00
IkaandArmando Aguirre c8eec20ed9 feat(yaml): update to v1.2 (#38898) 2019-10-07 13:30:49 -07:00
Florian KellerandArmando Aguirre 7f384ef239 Remove package ansi-regex (#38916) 2019-10-07 13:17:40 -07:00
Chiciuc NicușorandArmando Aguirre 766cf29ab9 Add all available properties to the MethodInvocation interface. (#38928) 2019-10-07 12:21:20 -07:00
Carson FullandArmando Aguirre 8096393014 [redux-form] remove myself (#38952)
Sorry all. I haven't used redux-form in years and am no longer a good person to review these changes.
2019-10-07 12:19:12 -07:00
John G. Gainfort, JrandArmando Aguirre 611d8e0dcf fixed spelling error (#38951) 2019-10-07 12:18:29 -07:00
David AcostaandBen Lichtman 8e8fe5bbb5 Updated definitions for dinero.js 1.6 (#38198)
* Updated definitions for dinero.js 1.6

* Use ReadonlArray to improve compatibility.

* Corrected TypeScript version.
2019-10-07 10:51:41 -07:00
Kyle RoachandEloy Durán 5649785dfe fix(react-native): Alert.prompt signature (#38918)
The signature of callbackOrButtons allows either:
1. function that returns void
2. array of AlertButton

Instead the current signature does:
1. function that returns void or an array of AlertButton

This fixes the signature to be correct.
2019-10-07 12:22:09 +02:00
Jimmy JiaandEloy Durán be146d853a fix: Improve Relay types some more (#38749)
* fix: Improve Relay types some more

* more

* format

* prettier

* fix

* remove pointless overload

* move utility types
2019-10-04 13:42:12 -07:00
TypeScript BotandNathan Shively-Sanders 281461c130 Update CODEOWNERS (#38882) 2019-10-04 10:11:34 -07:00
ExE BossandBen Lichtman b755355a2e fix(cross‑spawn): Add missing spawn function type definitions (#38481)
* fix(cross‑spawn): Add missing `spawn(…)` function type definitions

* refactor: Apply Prettier style
2019-10-04 08:42:00 -07:00
BeandEloy Durán 01913b6072 [react-native] Add AccessibilityAction name definition (#38703) 2019-10-04 04:10:43 -07:00
Otto UrpelainenandRyan Cavanaugh 32b6d5ef2a Fix callback handler inputs to use ViewportProps instead of ViewState
* Fix callback handler inputs

Based on both react-map-gl documentation and trying things out, types
ViewportChangeHandler and ViewStrateChangeHandler both receive a
ViewportProps as input, rather than ViewState as was defined. This
commit fixes that problem.

Fields that were missing include at least 'width' and 'height',
important for working with an auto-resizing map.

* [react-map-gl] ExtraState interface fix

Add missing parameters to ExtraState interface, mark all as optional.
Any or none may be included in a ExtraState object when such is used.

* [react-map-gl] New onViewStateChange inputs

Added new input parameters 'interactionState' and 'oldViewState' to
callbacks 'onViewportChange' and 'onViewStateChange' in
'MapControllerOptions', 'InteractiveMaps' and 'MapContextProps'. There
are also other places where callbacks with similar names are used. But
in those cases, the extra parameters are never used. Because of this,
there are now two different types for callback functions.
2019-10-03 15:49:20 -07:00
Jason KaczmarskyandRyan Cavanaugh a889459a88 Default export as device array (#38643) 2019-10-03 15:48:22 -07:00
James Ah YongandRyan Cavanaugh 2f2f2cbd44 fix ChartLegendItem properties (#38746) 2019-10-03 15:46:45 -07:00
Hossein SanieiandRyan Cavanaugh ae898ad434 feat(@types/mongodb): upgrade minimum typescript version to 3 (#38789)
fix
2019-10-03 15:46:28 -07:00
Renan MachadoandRyan Cavanaugh b202e35810 [relay-test-utils] add some fields on RelayMockEnvironment (#38831)
* create relay-test-utils package

* add RelayModernMockEnvironment

* add RelayMockPayloadGenerator

* add unwrapContainer

* add some fields on RelayMockEnvironment

QueryRenderer environment wasnt accepting mock environment type

* remove void return from generate function
2019-10-03 15:39:39 -07:00
SandorandRyan Cavanaugh f2c3768da5 Add types for mock-req-res (#38811)
* Add types for mock-req-res

* Remove <reference types directives

* Refactor tests

* Refactor tests

* Fix dtslint errors

* Fix dtslint errors

* Update TypeScript version

* Set TypeScript Version: 2.8
2019-10-03 15:36:38 -07:00
Phil ColeandRyan Cavanaugh 78ae3b66a5 [xrm] GridControl addOnLoad provides a parameter (#38689)
* GridControl onLoad provides EventContext

* Fix whitespace

* Fix whitespace
2019-10-03 15:30:20 -07:00
Chris KrychoandRyan Cavanaugh 70b7904bb1 Fix a number of gaps in Ember's types (#38690)
* @ember/polyfills: support `undefined`.

Fixes #38681.

* @ember/utils: support JS objects in `typeOf`.

- Fixes #36809.
- Fixes typed-ember/ember-cli-typescript#799

* @ember/debug: add `deprecate` type and tests

Fixes #38682.
2019-10-03 15:29:51 -07:00
Griffin YourickandRyan Cavanaugh 3972699da2 [pino-http, express-pino-logger] Add id to http.IncomingMessage
* Add the generated request identifier to http.IncomingMessage

* Simply export express-pino-logger typings from pino-http
2019-10-03 15:27:42 -07:00
orangainandRyan Cavanaugh e69cfea13f fix type of event argument in onSubmit
* Fix type of event argument in onSubmit

* Don't use alert in test code
2019-10-03 15:27:05 -07:00
Mike DeverellandRyan Cavanaugh 25d2c9665b [ramda] split tests to separate modules: 'median' - 'none' (#38615)
* move 'median' tests to separate file

* move 'memoizeWith' tests to separate file

* move 'merge' tests to separate file

* move 'mergeAll' tests to separate file

* move 'mergeDeepLeft' tests to separate file

* move 'mergeDeepRight' tests to separate file

* move 'mergeDeepWith' tests to separate file

* move 'mergeDeepWithKey' tests to separate file

* move 'mergeLeft' tests to separate file

* move 'mergeRight' tests to separate file

* move 'mergeWith' tests to separate file

* move 'mergeWithKey' tests to separate file

* move 'min' tests to separate file

* move 'minBy' tests to separate file

* move 'modulo' tests to separate file

* move 'move' tests to separate file

* move 'multiply' tests to separate file

* move 'nAry' tests to separate file

* move 'negate' tests to separate file

* move 'none' tests to separate file
2019-10-03 15:26:02 -07:00
Aaron ReismanandRyan Cavanaugh 554555bf57 Update index.d.ts (#38685)
Use same signature for `defaultValue` as `value`
2019-10-03 15:25:01 -07:00
cherryblossom000andRyan Cavanaugh ce5a543705 Add types for esquery (#38832)
* add esquery

* test: add test for matches
2019-10-03 14:49:56 -07:00
OSjoerdWieandRyan Cavanaugh 92810c2e9f [secure-json-parse] add typings. (#38841) 2019-10-03 14:48:13 -07:00