Commit Graph
65580 Commits
Author SHA1 Message Date
Rayhan Wirjowerdojo ed6743ecbe Added type definitions for react-loader-spinner (#40080)
* Added type definitions for react-loader-spinner

* Added version reference of react-loader-spinner to 3.1

* Changed TypeScript version reference to 3.6

* Removed JSDoc for possible types

* Removed I prefix on the LoaderProps interface
2019-11-05 09:55:23 -08:00
Emily Marigold Klassen 60bd0fc81e Add types for json-schema-compare (#40085)
* Add types for json-schema-compare

* Use JSONSchemaDefinition instead of only schema
2019-11-05 09:32:36 -08:00
ExE Boss 0410320f11 feat: Add globalThis (#40096) 2019-11-05 09:07:36 -08:00
Ozum Eldogan 3a19d3f7c9 update TypeScript version (#40093)
knex which is a dependency of this module, requires TypeScript 3 and above.
2019-11-05 09:04:43 -08:00
Michał Wadas 11a7038978 [@types/hapi] Add new point of extension (ServerMethods interface) (#38716) 2019-11-05 09:04:14 -08:00
Guillaume 625d9ea5ee Fix rox-node fetch() return type (#40153) 2019-11-05 08:41:59 -08:00
Alexander T 1ef0f7d3b2 libra-core: Provides its own types (#39455) 2019-11-05 08:19:37 -08:00
Malcolm Kee 807f5db163 Fix JSDOC for react-textarea-autosize (#39975) 2019-11-04 16:35:34 -08:00
Evgeny Samsonov 3997447162 [react-stripe-elements] Replace tabs with spaces (#39999) 2019-11-04 16:35:17 -08:00
Bert Verhelst 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
즈눅 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
hasezoey 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 McElearney 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
Elwyn 49dda886f2 filterSensitiveData should allow strings & regexs (#39981) 2019-11-04 16:28:10 -08:00
Johnson Lee 3bdf9dc509 fix: update type of eureka-js-client config object (#39946) 2019-11-04 16:27:29 -08:00
Jordan Sexton bda57b42ef expand createHash API support (#39991) 2019-11-04 16:26:58 -08:00
garyking c3e2aba0eb Fix with GetCacheObject (#39921) 2019-11-04 16:25:02 -08:00
Javier Hernán Caballero GarcíaandLukas Beranek 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 Zeplowitz 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 Preyskurantov 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
ipcjs 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 Sulyma 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 Ramamurthy 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 Marinacci 072a21ae95 Remove duplicate type (#39916) 2019-11-04 13:47:16 -08:00
Chris Krycho 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 Tio d2eab58c8f Updated typings for react-image-gallery to 0.9 (#39985) 2019-11-04 13:45:56 -08:00
Alexander T 4c8ac68e40 kafka-node: Provides its own types (#39580) 2019-11-04 13:42:29 -08:00
Alexander T 4cdec52083 baconjs: Provides its own types (#39655) 2019-11-04 13:41:38 -08:00
Alexander T de4836c8a8 find-process: Provides its own types (#39609) 2019-11-04 13:41:27 -08:00
Alexander T 8b279a1f92 express-openapi: Provides its own types (#39614) 2019-11-04 13:41:13 -08:00
Alexander T 7f68e53009 cucumber-html-reporter: Provides its own types (#39630) 2019-11-04 13:39:20 -08:00
Alexander T 89c5ae67af fromnow: Provides its own types (#39606) 2019-11-04 13:09:56 -08:00
Alexander T 546050f89a react-sortable-hoc: Provides its own types (#39526) 2019-11-04 13:09:31 -08:00
Alexander T 9b973c41eb braft-editor: Provides its own types (#39646) 2019-11-04 13:06:19 -08:00
Alexander T 10d0bff71c ex-react-native-i18n: Provides its own types (#39616) 2019-11-04 13:05:25 -08:00
Alexander T 614f385014 aws-lambda-mock-context: Provides its own types (#39657) 2019-11-04 13:05:06 -08:00
Alexander T 30816366ce domelementtype: Provides its own types (#39625) 2019-11-04 13:04:35 -08:00
Alexander T 97c196a894 cordova-plugin-x-socialsharing: Provides its own types (#39635) 2019-11-04 13:01:39 -08:00
Alexander T c7d0fd5b72 bip39: Provides its own types (#39648) 2019-11-04 13:01:21 -08:00
Alexander T 2af5c1a61c http-graceful-shutdown: Provides its own types (#39597) 2019-11-04 12:51:39 -08:00
Alexander T 19cf2b6621 schema-utils: Provides its own types (#39542) 2019-11-04 12:51:12 -08:00
Alexander T aa590fc1e1 ractive: Provides its own types (#39500) 2019-11-04 12:47:34 -08:00
Alexander T 3af37581b0 rfc4648: Provides its own types (#39536) 2019-11-04 12:38:54 -08:00
Alexander T f6c75152bd react-rnd: Provides its own types (#39525) 2019-11-04 12:37:37 -08:00
Alexander T 249487926a http-status: Provides its own types (#39596) 2019-11-04 11:33:38 -08:00
Alexander T 9f0ffedbe0 jest-get-type: Provides its own types (#39586) 2019-11-04 11:31:36 -08:00
Alexander T c55b373d90 wikidata-sdk: Provides its own types (#39573) 2019-11-04 11:31:11 -08:00
Alexander T 279b53d30d react-owl-carousel: Provides its own types (#39523) 2019-11-04 11:28:27 -08:00
Connor White d70c01bea9 google-map-react controlSize (#39436) 2019-11-04 11:27:39 -08:00
Tim Brown 092408150b [phone] Add allowLandLine parameter from 2.4.0 (#39439) 2019-11-04 11:25:49 -08:00