Commit Graph

62838 Commits

Author SHA1 Message Date
FUJI Goro
055195fdfd commonmark: add "softbreak" option to HtmlRenderer (#36101) 2019-06-11 12:17:04 -07:00
Marc-Antoine Ouimet
d12324cc22 [node] Allow setting encoding for Dirent readdir (#36092)
* Allow setting encoding for Dirent readdir

* Update promisified version of readdir
2019-06-11 12:09:08 -07:00
Anders Hejlsberg
fa812c285d
Update Ember tests to treat 'string & number' and 'never' the same (#36095)
* Update tests to treat 'string & number' and 'never' the same

* Remove $ExpectType since both 'string & number' or 'never' are ok
2019-06-11 09:32:01 -07:00
Danilo Bürger
a8ab3f0817 [react-native] SectionList data should be readonly (#36107) 2019-06-11 12:24:51 +02:00
Hao Yang
8c15eef1b9 Support 2.6; Add author; Use best practise to refactor code (#36074)
* initial types for agora-rtc-sdk

* set strictFunctionTypes to true

* fixed lint-related

* fixed lint error throw by ci

* <feat> support 2.6 & add author

* <fix> fix umd support

add `export` back to support umd

* <chore> in temp disable rule: export-just-namespace, optimization will be done in next version
2019-06-11 02:02:17 -07:00
Dmitri Dimitrioglo
64fb247206 Update Square connect type definitions (v20190508) + improvements (#36067)
* Add Square dev as a reviewer + add ApiClient, EmployeesApi and InventoryApi definitions

* Update Square connect type definitions (v20190508)

* Fix ENUM naming (to be as in swagger)
2019-06-11 01:59:43 -07:00
Andy Hopper
e94ce0261e Corrected amazon-connect-streams Agent::onMuteToggle and tests. (#36065)
* Added amazon-connect-streams from v1.3

* Updated Project header to URL for Amazon Connect Streams

* Set strictNullChecks to 'true'

* Corrected amazon-connect-streams onMuteToggle callback object.
2019-06-10 22:06:33 -07:00
Daniel Byrne
23bfb7e136 Update KeyPair.getPublic overloads (#36098)
Had some bad overload definitions get through without me realizing.
2019-06-10 21:55:45 -07:00
Ole André Vadla Ravnås
fc5a3acff8 Add type definitions for frida-gum (#35911)
* Add type definitions for frida-gum

Consumed through frida-compile, e.g. like this:

    https://github.com/oleavr/frida-agent-example

* Delete redundant declare keywords
2019-06-10 18:31:05 -07:00
Jake Runzer
d689e2b616 babel__traverse: allow undefined scope for both traverse functions (#35840) 2019-06-10 18:30:45 -07:00
MHA15
50578128bb [core-js] change Dict interface for strictNullChecks mode (#35889)
* change Dict interface for strictNullChecks mode

Dict<T>['any string'] will be valued to type `T | undefined`

* change Dict methods for stricktNullChecks

* Update index.d.ts
2019-06-10 18:27:53 -07:00
Michael Mitchell
5e79e209ec [next-nprogress] Add definitions (#35880)
* [next-nprogress] new definitions

* [next-nprogress] remove package.json

* [next-nprogress] lint

* fix(next-nprogress): move generic to returned function

* tests(next-nprogress): add test for props infer
2019-06-10 18:27:22 -07:00
Han-byeol Jeon
937582ebc2 [@types/slate] Command and Query methods accept function types (#34867) (#36068)
* command and query methods accept function types (#34867)

* make query using function return the same result

* remove type declarations
2019-06-10 12:58:15 -07:00
Vitaliy Markitanov
ced5418600 Update index.d.ts (#36035)
Reason for change is described here:
https://github.com/scottie1984/swagger-ui-express/issues/27#issuecomment-499983791
2019-06-10 12:41:08 -07:00
Ludvig
1bcc829993 Change Plugin to extend Plugin interface from slate-core (#35899) 2019-06-10 12:27:37 -07:00
Wang Dàpéng
f2b3fda2a2 [ioredis] Fix stream function return types (#35959)
* Fix ioredis stream types

* Add missing semicolon
2019-06-10 12:26:15 -07:00
Yariv Brosh
89b6a79182 @types.jsforce - Added an import that solves compilation error (#36077)
* Added an import that prevents compilation

* Added required dependencies by this package

* tslint fixes
2019-06-10 11:56:27 -07:00
ytetsuro
55089e1742 add removeEventListener method. (#35963)
see: https://developers.google.com/youtube/iframe_api_reference?hl=en#removeEventListener
2019-06-10 11:24:16 -07:00
Asdullah Siddique
ce4af3f21c mongoose: model.discriminator() to accept both document and model interface (#35944) 2019-06-10 11:21:58 -07:00
David Uzumeri
17c13903b0 Added jsum package (#36009)
* Added `jsum` package

* Removing namespace declaration
2019-06-10 10:17:46 -07:00
Shawn Mitchell
e92e72f419 [mui-datatables] Add types for string literal unions (#35972)
* Resolve merge conflicts

* Update test to specify proper selectableRows value

`selectableRows` takes a string literal union of `'none' | 'single' | 'multiple'` defined in type `SelectableRows`
2019-06-10 10:15:12 -07:00
Maurice de Beijer
271c20d6f4 Support Yup nullable derived types (#35789)
* Derive nullable() as T | null

* Allow operators in different order

* Definitions by

* Expected type checks

* Updates after feedback

* Added boolean extends
2019-06-10 10:13:15 -07:00
Justin Nauman
3eb966a761 [coinbase] Update Account.getTransactions (#36010)
* [coinbase] Update Account.getTransactions

This is to update the signature of `Account.getTransactions` to match that which is present in the module.

https://github.com/coinbase/coinbase-node/blob/master/lib/model/Account.js#L98 for relevant JS code.

* [coinbase] Additional nested fixes

- The coinbase client only "unwraps" the `data` attribute
in certain circumstances.  This addresses issues I was seeing
while attempting to leverage some of the other resource
2019-06-10 10:12:28 -07:00
TypeScript Bot
ea2b8bd4a6 Update CODEOWNERS (#36064) 2019-06-10 09:16:49 -07:00
Lindsay Wardell
8d217f3687 Added missing types in express-http-proxy (#36001)
* Added missing types in express-http-proxy

* Fixed comparison

* Fixed typo in name
2019-06-07 18:51:22 -07:00
Ludvig
f294b49f63 Add next & previous to Rules interface (#35900) 2019-06-07 18:41:26 -07:00
Cameron Knight
d311e1d311 implemented types for death v1.1.0 (#36029) 2019-06-07 18:38:35 -07:00
Dario Blanco
bfb6b8fb61 Add types for backstopjs 4.1 (#36022) 2019-06-07 18:37:14 -07:00
Adam Binford
4b88e01657 Copied user-event definition to new testing-library organization (#36000) 2019-06-07 18:33:20 -07:00
Florian Keller
695e81c90d Add types for append-query (#35997) 2019-06-07 18:32:11 -07:00
Gregor Martynus
8d45842583 Add types for atob-lite and btoa-lite (#35983)
* Add types for atob-lite

* Add types for btoa-lite
2019-06-07 18:27:12 -07:00
Omar Diab
bd0e234663 validator: split out all library packages into their own .d.ts files (#36003)
* split out all the library files into their own .d.ts files

* include all files in tsconfig.json
2019-06-07 18:16:42 -07:00
Rick-Kirkham
65bb6bafd8 office.js link to error code list (#36007) 2019-06-07 18:15:26 -07:00
Jason Cheatham
33e9721d70 Update istanbul-lib-hook typings for v2 (#36026) 2019-06-07 18:14:18 -07:00
Max Chehab
76dcfc6f80 fix: 'requestTimeout' is now an optional parameter (#36034) 2019-06-07 18:12:50 -07:00
Sean Rennie
7ed189d4b3 [googlemaps] Added setOptions and setFields to Autocomplete types for (#36014)
* included types for registerPanoProvider opts

* removed an additional r from registerPanoProvider

* removed PanoProviderOptions

* added correct PanoProviderOptions

* included setOptions method for HeatmapLayer

* new tests for HeatmapLayer setOptions

* added setFields type to Autocomplete

* added setOptions to Autocomplete
2019-06-07 18:12:28 -07:00
Tatyana Tsvetkova
d8095fbf3d Add appear type to timeout prop for TransitionProps in react-transition-group (#36002) 2019-06-07 10:58:13 -07:00
Derek Sifford
b88b986e08 [@wordpress/data] add new definitions (#35907)
* [@wordpress/data] add new definitions

* fix dtslint failure -- did not fix no-unnecessary-generics error since they are arguably necessary

* disable no-unnecessary-generics per discussion in PR thread
2019-06-07 10:33:10 -07:00
Kirby Kuindersma
8b89b01593 @types/react-currency-formatter - add missing prop (#35767)
* Update index.d.ts

See: https://xdae.github.io/react-currency-formatter - Customized Symbol example.

* Tabs, not spaces.
2019-06-07 10:32:19 -07:00
Hazrat Gadjikerimov
dd1dd258e0 Added boolean type to mask property (#35987)
The documentation states that the mask property can be false, but the type does not describe this feature, it is necessary when you need to disable the mask
2019-06-07 10:31:51 -07:00
FUJI Goro
022dbd5d91 @types/node: add doc to Buffer#slice and Buffer#subarray (and fix the type of Buffer#subarray) (#35998)
* add doc to Buffer#slice and Buffer#subarray

* add tests for Buffer#subarray()
2019-06-06 16:11:58 -07:00
Nathan Shively-Sanders
7ee6546bde
Switch status badges to Azure Pipelines (#36004)
* Add typescript@next build status badge

* Switch main build badge to Azure as well

Also be more honest about wording -- a green badge doesn't mean a clean
build, just that the most recent changes were clean.
2019-06-06 14:07:14 -07:00
aereal
34f4572c07 [express-serve-static-core] Fix listen callback type (#35883)
* [express-serve-static-core] Add tests

* [express-serve-static-core] listen's callback can take some parameters

* [express-serve-static-core] Add a definitions by section
2019-06-06 12:59:30 -07:00
Erick Tamayo
e1e63171f3 react-color - Implemented the types for v2.17.3 (latest in npm) (#35844)
* implemented typings for react-color v2.17.3

* fixed pointer types

* removed unused imports

* fixed errors

* moved changes to v2

* removed updated files in the root
2019-06-06 12:55:09 -07:00
Nathan Shively-Sanders
50eb45d915
Lodash add partialshallow (#35973)
* Switch to PartialShallow

dtslint is completely broken on this machine so I'm just going to push a
branch and fix the failures on my desktop.

* Simple partial test for _.filter
2019-06-06 12:34:46 -07:00
Elizabeth Samuel
c6cfacf4ab [office-js-preview] (Outlook) Add getItemIdAsync (#35934)
* [office-js-preview] (Outlook) Add getItemIdAsync

* Updates based on feedback
2019-06-06 12:19:35 -07:00
James George
f8c4d9046d Add types for didyoumean.js (#35950)
* Add types for didyoumean

* Minor fix
2019-06-06 11:30:59 -07:00
juancarbonel
41dbba7ad3 Add PreSignUp_ExternalProvider as triggersource for aws-lambda (#35968) 2019-06-06 11:27:34 -07:00
Brennan
f74dfd5ad8 Add request option 'accessType' to strategy options (#35930) 2019-06-06 11:26:34 -07:00
Michael Lumish
c474cdf5d7 Add type definition for Http2Stream#id property (#35982) 2019-06-06 11:25:00 -07:00