Commit Graph

62172 Commits

Author SHA1 Message Date
Omar Diab
2849d7a468 [next] Custom request shape for the server (#34917)
* add custom request to NextContext

* update nextdocumentcontext to also use NextContext customReq

* update NextAppContext to also use NextContext customReq

* add test for CustomReq in NextContext

* add test for CustomReq in NextDocumentContext
2019-04-23 13:37:04 -05:00
Marcus Cemes
6fd2c099f2 [express-serve-static-core] Add overload to Response.download() [v4.16.0] (#34940) 2019-04-23 13:31:26 -05:00
taoqf
fb70892867 wxapp: add FileSystemManager (#34903)
* wxapp: add FileSystemManager

* fix: add interface

* uppercase interface name
2019-04-23 13:04:10 -05:00
TokugawaT_YD
02255269d0 Mistake fix for gulp-stylus (#34928)
* clear to tests

* clear to tests
2019-04-23 12:57:20 -05:00
Denis Demchenko
fe76831d67 Use const for exported enums from @types/youtube (#34783)
fixes #31753
2019-04-22 18:27:07 -05:00
TeamworkGuy2
2c1cdf68c2 [glob-watcher] Add glob-watcher@5.0.2 definition (#34839)
* [glob-watcher] Add glob-watcher@5.0.3 definition

* [glob-watcher] DefinitelyTyped styled cleanup per armanio123 directions.
2019-04-22 15:52:33 -07:00
Martin Tracey
32d44c43b9 [@types/kendo-ui] Added missing prop on SwitchOptions interface. (#34740)
* Added missing prop on SwitchOptions interface.

* Added tests for kendo SwitchOptions interface.
2019-04-22 17:46:02 -05:00
Mike Marcacci
9c760147bd Add IncomingMessage.complete (#34898)
528d100394/lib/_http_incoming.js (L50)
https://nodejs.org/api/http.html#http_message_complete
2019-04-22 17:01:51 -05:00
Denis Malinochkin
58c1b4b77d feat(braces): update type declarations for the "braces" package (#34895) 2019-04-22 16:59:31 -05:00
codert
7cc4d1e459 fix: createClass should return value (#34904) 2019-04-22 16:56:08 -05:00
Ksenia Shamsutdinova
b8ad888a0c Fix mongodb MongoCountPreferences skip data type. (#34906) 2019-04-22 15:48:17 -05:00
superheri
58bf05fae3 Add types for Amplifier (#34871)
* Made types from amplify usable for amplifier (the nodejs version of amplify)

* Fix tests

* Set tsconfig as asked in pull request requirements

* Revert tsconfig cnanges since it breaks tests

* Bring back strictness

* Fix tslint errors

* Fix callback function params
2019-04-22 13:15:09 -07:00
Jarom Loveridge
42688db098 [secure-password] Add definition (#34846) 2019-04-22 13:10:59 -07:00
Walter Rumsby
24f378d53b Add typings for node-insights (#34844)
* Add typings for node-insights

* Changes based on PR comments
2019-04-22 13:07:40 -07:00
Colin Ulin
4cff42a995 added static type for unsafeCurrentUser() method (#34833)
Parse.User has a static method called `unsafeCurrentUser`, but it was missing from this ts file.

Docs on unsafeCurrentUser method:
https://parseplatform.org/Parse-SDK-JS/api/v1.11.1/Parse.User.html#.enableUnsafeCurrentUser
2019-04-22 12:20:15 -05:00
ExE Boss
a74f5af28c fix(ssri): Return Promise type by default (#34892)
* fix(ssri): Return `Promise` type by default

* test(ssri): Use `$ExpectType` DTSLint assertions
2019-04-22 11:41:06 -05:00
Nathan Shively-Sanders
ebc50ed91c update project url (#34910) 2019-04-22 09:34:35 -07:00
yinz
ebee278c66 multiple type should be MultipleConfigurationMergeFunction (#34754)
* fix: `multiple` type should be MultipleConfigurationMergeFunction

* test: fix webpackMerge.multiple case

* style: single queto
2019-04-21 11:41:42 -07:00
Brekk
ab81d886b0 fix ramda trailing commas (#34877) 2019-04-21 11:37:00 -07:00
Pascal Sthamer
fc57ce331b [ts3-nodejs-library] Add and enhance typings, remove unneeded dependency (#34873)
* Add ts3-nodejs-library typings

* Use files instead of include

* Fix json error in tsconfig

* Require at least TypeScript Version 3.0

* Fix typescript version header

* Remove duplicate typings in subclasses of the abstract class

* Add constructor list typings

* type-safe events construct, remove unneeded steam dependency and more

* Add more typings

* Correctly reference node types for Buffer and Fix linting issues

* Type 'close' and 'error' event

* Type 'clientdisconnect', 'flooding', 'debug' and ready events
2019-04-21 11:33:30 -07:00
Nikolay Yakimov
b63d70da01 [atom] Revert getLastCursor type (#34869)
Apparently, `getLastCursor` returning `undefined` was unintened and evidently was at some point silently fixed, at least in most cases.
2019-04-21 10:40:45 -07:00
Dmitri Dimitrioglo
d5e4a8e1e4 [Square connect] Upgrade to v2.20190410 (#34893) 2019-04-21 10:39:17 -07:00
TypeScript Bot
85ce31ba0e Update CODEOWNERS (#34891) 2019-04-21 08:39:19 -07:00
Nathan Shively-Sanders
b5846b7489 Updated missed node dependent (#34886) 2019-04-20 10:19:16 -07:00
Jonny Burger
6fc535f32e Remove type from Alert.alert (#34881)
As can be seen from the function signature, the `Alert.alert` function does not accept the `type` argument.
2019-04-20 11:28:10 -04:00
rinsuki
bb68ba492c [cookies] fix Cookies.get return type (#34860)
* [cookies] fix Cookies.get return type

If not exists cookie, return undefined.

* fix tests
2019-04-19 17:11:20 -07:00
Naveen Ithapu
4126a93ec0 Type definitions for react-native-zss-rich-text-editor 1.x (#34843)
* Type definitions for react-native-zss-rich-text-editor 1.1.0

* Type definitions for react-native-zss-rich-text-editor 1.x

* Added tests file and corrected reference type
2019-04-19 17:04:56 -07:00
amchelle
5323fa53d4 Add type definitions for package ringbufferjs (#34636) 2019-04-19 16:50:42 -07:00
Ifiok Jr
84196b4d06 feat: new react-github-button types (#34847) 2019-04-19 16:37:56 -07:00
Claas Ahlrichs
8ad81d7563 new package: getpass (#34852)
* npx dts-gen -m getpass --dt

* drafted types for getpass

* npx prettier --write .\types\getpass\**

* updated prompt
2019-04-19 16:36:04 -07:00
Marco Eckstein
494d35ad31 Add deezer-sdk (#34857) 2019-04-19 15:40:26 -07:00
breeze9527
bed07e18ca Add definition for non npm package: amap-js-api-district-search (#34856)
* [amap-js-api] update to v1.4.14

* Add definition for non npm package: amap-js-api-district-search
2019-04-19 12:58:51 -07:00
Jarom Loveridge
114e16d6bb Fix incorrect specification of readPreference. (#34831)
Update `MongoClientOptions` properties to make them more correct.
2019-04-19 12:55:51 -07:00
Christian Murphy
b48a798a88 support parsers included as plugins (#34829)
as documented in https://prettier.io/docs/en/browser.html#commonjs
2019-04-19 12:54:21 -07:00
Aaron Osher
c198645a5b Correct typings for runes (#34841)
* Update runes-tests.ts

* Update runes types

Correct to account for width param
2019-04-19 12:53:09 -07:00
Christophe Hurpeau
ba3d094519 react-big-calendar export interface withDragAndDropProps (#34849) 2019-04-19 12:52:26 -07:00
Daniel Cassidy
439f4d6e08 escape-string-regexp: Delete obsolete type definitions (#34837)
As of 2.0.0 escape-string-regexp distributes its own type definitions.
2019-04-19 12:49:55 -07:00
Dibyo Majumdar
a6e39e7a2a Remove erroneous 'null' typing (#34834) 2019-04-19 12:48:40 -07:00
Aaron Reisman
92ee9c22b5 fix: node callbacks (#34770)
* fix: node callbacks

* fix line length

* fix related libs

* fix oibackoff
2019-04-19 12:48:09 -07:00
Alex Jerabek
8f1c78f48b Fixing formatting (#34864) 2019-04-19 12:41:22 -07:00
Alex Jerabek
391e1d19c5 Merging Office and OfficeExtensions namespaces (#34866) 2019-04-19 12:40:46 -07:00
J.C
e2b882b95b [wegame-api] API improvment and bug fix for onXXXTouch APIs. (#34777)
* 1,added parameter for the callback member of `fail` for Unzip API
2,the argument of access is wrong, no it's fixed to `filePath -> path` (`accessSync` does not have return value in official site, don't know why...)
3,added `digest` for the argument in the callback of `fileInfo` API
4,added more doc info for download API to describe `filePath` and `res.tempFilePath`
5,added more doc info for `removeSavedFile` (remove file should use `unlink` in newer version)

* modify version number

* 1, fixed bug: the members of the argument object of the callback function for touch event (e.g.: onTouchMove onTouchDown etc) are incorrect.
2, add onTap etc members for API wx.createXXXButton
3, improve: change the array members of the callback function as ready only for some APIs

* fixed format error for dtslint

* add rule

* update index.d.ts

disable dt-header rule (but still according the header rule format), because the official version has the minor version number

* add `non-npm package` for header for the new rule

* restore to the default state

* misunderstand about the version

originally I thought the version should be matched with the lib version, so changed it frequently, but that's just a misunderstanding, let's start to maintain this defintion from 2.6 as the first version number :)
2019-04-19 11:47:56 -07:00
Vincent Langlet
b696206ae3 Refacto aria attributes for svg (#34771) 2019-04-19 09:44:58 -07:00
Oliver Joseph Ash
e4f661ba43 react-redux: correct mapDispatchToProps param type (#34498)
* react-redux: correct `mapDispatchToProps` param type

Fixes https://github.com/DefinitelyTyped/DefinitelyTyped/issues/34493

* Complete explanation

* Move test
2019-04-19 08:44:41 -07:00
João Edmundo
03186dbc08 @types/react-hooks-helper: new types for useForm function (#34816)
* feat: react hooks helper types

* fix: react hooks helper test

* fix: removed module declaration

* fix: semicolons

* fix: click function typo

* fix: codeowners info

* fix: export module to umd

* feat: added types for useForm function

* fix: linting errors
2019-04-18 16:23:58 -07:00
Nicky Goethals
92933e1ddd chrome typings: added chrome.serial bindings (#34779)
* Update index.d.ts

implemented chrome.serial ( https://developer.chrome.com/apps/serial ), Use the chrome.serial API to read from and write to a device connected to a serial port.

* Update index.d.ts

added ekinsol to the definitions by list
2019-04-18 16:17:15 -07:00
Remi Liu
520b488be1 [URI.js] add supports for "urn" and fix Parts type (#34817)
* [URI.js] add urn supports

* update authors
2019-04-18 16:16:32 -07:00
Ben Hodgson
212eb0cf15 [react-albus] Define WithWizard render prop component (#34823)
Fixes Error: `Module '"node_modules/@types/react-albus"' has no exported member 'WithWizard'. Did you mean 'withWizard'?"`

https://github.com/americanexpress/react-albus/blob/master/src/index.js#L18
2019-04-18 16:15:50 -07:00
Simen Bekkhus
7a58d1bee8 [expo] re-export types from RN SVG (#34672) 2019-04-18 16:15:13 -07:00
Bill Glesias
c3030b9212 @types/auth0-lock - adds autoParseHash to Auth0LockAuthOptions (#34808)
* adds autoParseHash to Auth0LockAuthOptions as supported by current docs. See https://github.com/auth0/lock#authentication-options

* add autoParseHash to tests to prevent regression.
2019-04-18 16:08:33 -07:00