Commit Graph
66275 Commits
Author SHA1 Message Date
GuillaumeandNathan Shively-Sanders 625d9ea5ee Fix rox-node fetch() return type (#40153) 2019-11-05 08:41:59 -08:00
Alexander TandNathan Shively-Sanders 1ef0f7d3b2 libra-core: Provides its own types (#39455) 2019-11-05 08:19:37 -08:00
Malcolm KeeandNathan Shively-Sanders 807f5db163 Fix JSDOC for react-textarea-autosize (#39975) 2019-11-04 16:35:34 -08:00
Evgeny SamsonovandNathan Shively-Sanders 3997447162 [react-stripe-elements] Replace tabs with spaces (#39999) 2019-11-04 16:35:17 -08:00
Bert VerhelstandNathan Shively-Sanders c21ee1885d [simple-oauth2] Allow http options for getToken (#39940)
* [simple-oauth2] Allow http options for getToken

According to the docs of simple-oauth2 the getToken function optionally accepts an httpOptions object:
https://www.npmjs.com/package/simple-oauth2#authorization-code-flow

```
// Optional per-call http options
const httpOptions = {};
 
// Save the access token
try {
  const result = await oauth2.authorizationCode.getToken(tokenConfig, httpOptions);
  const accessToken = oauth2.accessToken.create(result);
} catch (error) {
  console.log('Access Token Error', error.message);
}
```

* [simple-oauth2] Allow scope in getToken config

According to the docs of simple-oauth2 a scope property is allowed:
https://www.npmjs.com/package/simple-oauth2#authorization-code-flow

```
// Get the access token object (the authorization code is given from the previous step).
const tokenConfig = {
  code: '<code>',
  redirect_uri: 'http://localhost:3000/callback',
  scope: '<scope>', // also can be an array of multiple scopes, ex. ['<scope1>, '<scope2>', '...']
};
 
// Optional per-call http options
const httpOptions = {};
 
// Save the access token
try {
  const result = await oauth2.authorizationCode.getToken(tokenConfig, httpOptions);
  const accessToken = oauth2.accessToken.create(result);
} catch (error) {
  console.log('Access Token Error', error.message);
}
```

* [simple-oauth2] Fix missing type for scope

* [simple-oauth2] Add http options to all func

* [simple-oauth2] Update interface for WreckHttpOptions

* [simple-oauth2] bump version to trigger rebuild

* [simple-oauth2] Fix build errors

Error in simple-oauth2
Error: /home/travis/build/DefinitelyTyped/DefinitelyTyped/types/simple-oauth2/index.d.ts:1:25
ERROR: 1:25    dt-header                        Error parsing header. Expected: foo MAJOR.MINOR (patch version not allowed). See: https://github.com/Microsoft/dtslint/blob/master/docs/dt-header.md
ERROR: 97:11   strict-export-declare-modifiers  All declarations in this module are exported automatically. Prefer to explicitly write 'export' for clarity. If you have a good reason not to export this declaration, add 'export {}' to the module to shut off automatic exporting. See: https://github.com/Microsoft/dtslint/blob/master/docs/strict-export-declare-modifiers.md
ERROR: 99:13   typedef-whitespace               expected nospace before colon in property-declaration
ERROR: 110:10  no-any-union                     Including `any` in a union will override all other members of the union. See: https://github.com/Microsoft/dtslint/blob/master/docs/no-any-union.md
2019-11-04 16:35:00 -08:00
즈눅andNathan Shively-Sanders b4f18cc47a [terser-webpack-plugin] bump up version (#39907)
* [terser-webpack-plugin] bump up version

* source argument can be undefined
2019-11-04 16:31:58 -08:00
hasezoeyandNathan Shively-Sanders 49846d93c2 [@types/mongoose] Allow the use of "DocumentArray.discriminator(name, schema, value)" (#39927)
* Allow the use of "DocumentArray.discriminator(name, schema, value)"

* Add test for signature change
2019-11-04 16:31:05 -08:00
Rory McElearneyandNathan Shively-Sanders 800fe54715 [jsforce] Add typing for get-recent-items method (#39997)
* Add typing for get-recent-items method

* Combine overloads into one signature

* add test and update with callback signature

* empty
2019-11-04 16:30:34 -08:00
ElwynandNathan Shively-Sanders 49dda886f2 filterSensitiveData should allow strings & regexs (#39981) 2019-11-04 16:28:10 -08:00
Johnson LeeandNathan Shively-Sanders 3bdf9dc509 fix: update type of eureka-js-client config object (#39946) 2019-11-04 16:27:29 -08:00
Jordan SextonandNathan Shively-Sanders bda57b42ef expand createHash API support (#39991) 2019-11-04 16:26:58 -08:00
garykingandNathan Shively-Sanders c3e2aba0eb Fix with GetCacheObject (#39921) 2019-11-04 16:25:02 -08:00
157bcc0eed Nightwatch Types - Support W3C ChromeOptions in nightwatch configuration (#39941)
* Update index.d.ts

* Fixing `trailing whitespace`

* Update types/nightwatch/index.d.ts

Co-Authored-By: Lukas Beranek <lloiser@users.noreply.github.com>
2019-11-04 16:24:37 -08:00
Nathan ZeplowitzandNathan Shively-Sanders 515a3a1f03 [@types/react-draft-wysiwyg] Update Editor Props (#39989)
* [@types/react-draft-wysiwyg] Remove props no longer used by draftJS and add customStyleMap Prop

* Add customStyleMap to editor props
* Remove props for arrow key and escape event handlers that are no longer supported

* [@types/react-draft-wysiwyg] Revert change to typescript version to earlier version that works with changes
2019-11-04 16:23:59 -08:00
Mikhail PreyskurantovandNathan Shively-Sanders 8531020e6e added new devexpress-web major version 192.3 (#39928)
* added new major version 191.5

* recovered old tslint config

* upgraded to 19.1.6

* added new major version 192.3
2019-11-04 16:15:58 -08:00
ipcjsandNathan Shively-Sanders 5c075ea7a6 [baidumap-web-sdk] add map.setMapStyleV2() (#39955)
* add map.setMapStyleV2()

* fix "missing semicolon" error

* add myself to "Definitions by" section
2019-11-04 16:09:18 -08:00
Yuri SulymaandNathan Shively-Sanders 43f3c0655f [codemirror] Add missing event handlers, narrow some event types (#39918)
* Added missing event names

* Rename change -> changeObj or changes to match CodeMirror documentation

* Narrow some event types

* Add missing event parameter to blur/focus handlers

* Add ysulyma to list of contributors
2019-11-04 15:49:49 -08:00
Sudhi RamamurthyandNathan Shively-Sanders 8043169d09 Addition of new auth API (preview) and ApiInformation interface. (#40018)
* Office Runtime Auth Public Preview APIs

* Add isSetSupported from ApiInformation interface

* Example addition

* Fixes to API description

* Fix trailing space and blank lines

* Fixes to comment alignment

* adding example in test file for SSO

* adding example in test file for SSO with semi-colon
2019-11-04 15:47:32 -08:00
Benji MarinacciandNathan Shively-Sanders 072a21ae95 Remove duplicate type (#39916) 2019-11-04 13:47:16 -08:00
Chris KrychoandNathan Shively-Sanders fd1887a91d Add types for @ember/ordered-set. (#39951)
* Add types for `@ember/ordered-set`.

* [@ember/ordered-set] Fix name of package in main comment.

* [@ember/ordered-set] Fix declaration's use of `Set`.

The first commit correctly copied the implementations from `Set` but
incorrectly left them as `Set` instead of `OrderedSet`.
2019-11-04 13:46:50 -08:00
William TioandNathan Shively-Sanders d2eab58c8f Updated typings for react-image-gallery to 0.9 (#39985) 2019-11-04 13:45:56 -08:00
Alexander TandNathan Shively-Sanders 4c8ac68e40 kafka-node: Provides its own types (#39580) 2019-11-04 13:42:29 -08:00
Alexander TandNathan Shively-Sanders 4cdec52083 baconjs: Provides its own types (#39655) 2019-11-04 13:41:38 -08:00
Alexander TandNathan Shively-Sanders de4836c8a8 find-process: Provides its own types (#39609) 2019-11-04 13:41:27 -08:00
Alexander TandNathan Shively-Sanders 8b279a1f92 express-openapi: Provides its own types (#39614) 2019-11-04 13:41:13 -08:00
Alexander TandNathan Shively-Sanders 7f68e53009 cucumber-html-reporter: Provides its own types (#39630) 2019-11-04 13:39:20 -08:00
Alexander TandNathan Shively-Sanders 89c5ae67af fromnow: Provides its own types (#39606) 2019-11-04 13:09:56 -08:00
Alexander TandNathan Shively-Sanders 546050f89a react-sortable-hoc: Provides its own types (#39526) 2019-11-04 13:09:31 -08:00
Alexander TandNathan Shively-Sanders 9b973c41eb braft-editor: Provides its own types (#39646) 2019-11-04 13:06:19 -08:00
Alexander TandNathan Shively-Sanders 10d0bff71c ex-react-native-i18n: Provides its own types (#39616) 2019-11-04 13:05:25 -08:00
Alexander TandNathan Shively-Sanders 614f385014 aws-lambda-mock-context: Provides its own types (#39657) 2019-11-04 13:05:06 -08:00
Alexander TandNathan Shively-Sanders 30816366ce domelementtype: Provides its own types (#39625) 2019-11-04 13:04:35 -08:00
Alexander TandNathan Shively-Sanders 97c196a894 cordova-plugin-x-socialsharing: Provides its own types (#39635) 2019-11-04 13:01:39 -08:00
Alexander TandNathan Shively-Sanders c7d0fd5b72 bip39: Provides its own types (#39648) 2019-11-04 13:01:21 -08:00
Alexander TandNathan Shively-Sanders 2af5c1a61c http-graceful-shutdown: Provides its own types (#39597) 2019-11-04 12:51:39 -08:00
Alexander TandNathan Shively-Sanders 19cf2b6621 schema-utils: Provides its own types (#39542) 2019-11-04 12:51:12 -08:00
Alexander TandNathan Shively-Sanders aa590fc1e1 ractive: Provides its own types (#39500) 2019-11-04 12:47:34 -08:00
Alexander TandNathan Shively-Sanders 3af37581b0 rfc4648: Provides its own types (#39536) 2019-11-04 12:38:54 -08:00
Alexander TandNathan Shively-Sanders f6c75152bd react-rnd: Provides its own types (#39525) 2019-11-04 12:37:37 -08:00
Alexander TandNathan Shively-Sanders 249487926a http-status: Provides its own types (#39596) 2019-11-04 11:33:38 -08:00
Alexander TandNathan Shively-Sanders 9f0ffedbe0 jest-get-type: Provides its own types (#39586) 2019-11-04 11:31:36 -08:00
Alexander TandNathan Shively-Sanders c55b373d90 wikidata-sdk: Provides its own types (#39573) 2019-11-04 11:31:11 -08:00
Alexander TandNathan Shively-Sanders 279b53d30d react-owl-carousel: Provides its own types (#39523) 2019-11-04 11:28:27 -08:00
Connor WhiteandNathan Shively-Sanders d70c01bea9 google-map-react controlSize (#39436) 2019-11-04 11:27:39 -08:00
Tim BrownandNathan Shively-Sanders 092408150b [phone] Add allowLandLine parameter from 2.4.0 (#39439) 2019-11-04 11:25:49 -08:00
Christian SchuetzandNathan Shively-Sanders f7f7463517 fix: Honeybadger developmentEnvironments (#39441)
* fix: developmentEnvironments

- Updates config value from developmentEnvironment to
developmentEnvironments
- Updates files to align with prettier config
- Bumps package

* fix: Don't update package version
2019-11-04 11:25:15 -08:00
Maxime LUCEandNathan Shively-Sanders e251889d3e Add node-beanstalkd-worker library types (#39435)
* Add node-beanstalkd-worker library types

* Fix issue: module isn't exported as default export
2019-11-04 11:24:28 -08:00
Florian RohrerandNathan Shively-Sanders a89681d513 Add missing export for react-google-recaptcha (#39431)
* Update index.d.ts

* Update react-google-recaptcha-tests.tsx

* Update index.d.ts

* Update index.d.ts

* Update react-google-recaptcha-tests.tsx

* add grecaptcha prop

* ...
2019-11-04 11:22:56 -08:00
Alexander TandNathan Shively-Sanders c5dc29b041 peerjs: Provides its own types (#39492) 2019-11-04 11:12:52 -08:00
Alexander TandNathan Shively-Sanders 657fadb9af prosemirror-tables: Provides its own types (#39497) 2019-11-04 11:12:10 -08:00