Commit Graph

67002 Commits

Author SHA1 Message Date
Yves Kaufmann
6d1bed7dac [koa__multer] Allows to access the properties file and files through the koa context. (#40034)
* [koa__multer] Allows to access the file nad files through the koa contet.

* Extends the koa context and request by the fields file, files.

* Removes unecessary import
2019-11-05 13:21:16 -08:00
Matt Burstein
1cb82bdd9f [@types/nunjucks] Fix types for functions in Environment (#40026)
* [@types/nunjucks] Fix function signiatures in Environment

* [@types/nunjucks] Add tests for improved Environment function signiatures
2019-11-05 13:20:37 -08:00
Johannes Dobler
62ef71cd97 add number type to maxRetries (#40019)
maxRetries can also be a number to specify the number of retries. Currently it is only possible to either do no retry or 1 retry (with setting to true).
2019-11-05 13:19:19 -08:00
Noah Chase
1c44f1681f initial Apple Music API typings (#40090)
* initial Apple Music API typings - start with Song-related things

* add additional Apple Music API types
2019-11-05 13:16:38 -08:00
ExE Boss
34cc085a65 chore(package): Remove empty dependencies object (#40009) 2019-11-05 13:15:16 -08:00
ikokostya
7803774c1f [leveldown] Add clear() method (#40083) 2019-11-05 13:14:38 -08:00
Ricardo Mello
ea18e353c1 Add type definitions for js-roman-numerals (#40033) 2019-11-05 13:13:53 -08:00
Alex Lee
469a9dad40 fix minor problem in typing of node-forge.pkcs12.Pkcs12Pfx.safeContents (#40088) 2019-11-05 13:13:25 -08:00
Saeed Tabrizi
0e295fc600 Update OrientJs (#40084)
* Update OrientJs

* Update orientjs

- fix orientjs ODatabaseSession

* Update orientjs 

- fix linting issues
2019-11-05 13:12:17 -08:00
Prain
f7d76b4bd1 Add typing for graphql-bigint (#40041) 2019-11-05 13:11:33 -08:00
Kerminate
2e7765f18a docs: improve readme.cn on external dependencies (#40014)
* feat: create README.cn.md

* chore: add Chinese README

* feat: Switch status badges to Azure Pipelines in README.cn.md

* docs: Readme TOC

* docs: improve readme.cn on external dependencies

* style: use full-width characters
2019-11-05 13:05:04 -08:00
Nikita Galkin
6171e79c95 [node] Improve os.constants.errno (#40017)
* Add missed os.constants.errno for win32

* Add deprecation message for errno at constants module
2019-11-05 13:02:18 -08:00
Christophe Coevoet
c9e13869e9 Add types for insert-text-at-cursor (#40058) 2019-11-05 11:23:02 -08:00
Christophe Coevoet
59856c5fa7 Add types for timeago (#40062) 2019-11-05 11:22:41 -08:00
ikokostya
7a15881b4f [got] Add event property to TimeoutError (#40087) 2019-11-05 11:22:09 -08:00
Masaki Muranaka
3fcd9539a6 Add types for IOST smart contract library. (#40066)
Signed-off-by: Masaki Muranaka <monaka@monami-ya.com>
2019-11-05 11:19:41 -08:00
Felix Hao
2e2227cdde Add package: openurl & openurl2 (#40065)
* add package: openurl & openurl2

* fix lint
2019-11-05 11:18:42 -08:00
Slobodan Stojanović
144b45d7c1 minimal-request-promise: Add initial typings (#40072) 2019-11-05 11:17:52 -08:00
James Charlesworth
23332fa2c8 [jump.js] Add option for passing duration as a function (#40082)
* Add option for passing duration as a function, it has been supported in jump.js just missing from typings https://github.com/callmecavs/jump.js/blob/master/src/jump.js#L133

* jump.js remove myself from the defitions by (also kick off another build)
2019-11-05 11:15:34 -08:00
Ben Grynhaus
2f8b27fdb0 add types for lucene (#40074) 2019-11-05 10:52:08 -08:00
Shrouded Shrew
b09b89241b Add types for sic-list (#40126)
* Add types for sic-list

* Fix version number

* Add more tests

* Remove void type for overwrite test
2019-11-05 10:42:28 -08:00
Ben Allfree
a312d33554 Add struct definitions (#40073)
* Add struct definitions

* Struct generics
2019-11-05 09:58:13 -08:00
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ía
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