Commit Graph

62494 Commits

Author SHA1 Message Date
Yuma Hashimoto
cdc7decebc [@types/browser-sync] Fix type of bs: object -> BrowserSyncInstance (#35460)
* Fix type of bs: object -> BrowserSyncInstance

* fix version to MAJOR.MINOR
2019-05-20 09:04:13 -07:00
Andrew Schmadel
49245ed7e4 [@types/lodash] _.chain().get() shorthand for empty array default (#35497)
* _.chain().get() shorthand for empty array default

* add tests for lodash _.chain.get(x, []) shorthand

* linting fix & better fallback

* use explicit never[] type and add better test of chained _.get()

* use never[] in _.chain().get() fallback
2019-05-20 09:02:32 -07:00
TypeScript Bot
08081f49e9 Update CODEOWNERS (#35569) 2019-05-20 08:51:37 -07:00
Chris Shaffer
bf90e32d0c Remove MapView definitions from @types/react-native - create new react-native-maps module (#35239)
* Add initalRegion missing type definition

initialRegion is a valid prop in `react-native-maps` but it's definition is missing in the @types.

* Corrected typo in initialRegion

Corrected `initalRegion` to `initialRegion`.

* Removed trailing white space due to Travis fail

* removed any reference to MapView in index.d.ts

* removed any reference to MapView in legacy-properties.d.ts

* Revert "removed any reference to MapView in legacy-properties.d.ts"

This reverts commit 157b4a9ec7b3327be9fb3165dd31101df987b868.

* Revert "removed any reference to MapView in index.d.ts"

This reverts commit e98b539e0155a2b9646f373205fd0e385b78cb6c.

* Revert "Removed trailing white space due to Travis fail"

This reverts commit 5d28044181c8b73fef3108c8001cc4821b35cd94.

* Revert "Corrected typo in initialRegion"

This reverts commit 15c79a02cfb6517dccc8bc29e92cde14c66b5ac4.

* Revert "Add initalRegion missing type definition"

This reverts commit e622788386aa444d96ffd5e68fb526690f1b7c13.

* removed all references to deprecated MapView

* added full types for react-native-maps, some tests, incompolete tests atm

* gitignored package.* files

* gitignored package.* files

* added missing tslint.json

* added header w/updated attributions to contributors from react-native-maps

* removed additional attributions

* removed ./ in files config tsconfig.json

* removed stuff that might conflict with ultra-picky travis

* removed stuff that might conflict with ultra-picky travis

* copied rn tsconfig.json due to travis conflicts

* correct header url

* corrected header to not include minor version
2019-05-19 21:31:25 +02:00
jgeth
f40e8b6d3e Adds type definitions for 'engine-check' (#35554)
Adds type definitions and tests
Adds tsconfig and tslint config
2019-05-17 15:39:17 -07:00
Piotr Roszatycki
a3e2295071 Nodemailer: added missing modules (#35506)
* nodemailer: added missing DKIM.sign method

* nodemailer: added additional modules for DKIM

* nodemailer: additional modules for lib/mime-node

* nodemailer: added even more missing modules

* nodemailer: added shared.resolveHostname function

* nodemailer: AMP4EMAIL support

* nodemailer: minor tweaks
2019-05-17 15:38:07 -07:00
Benny van Reeven
afe98804b3 Port option withFileTypes for fs.promises.readdir to Node v10 & v11 (#35533) 2019-05-17 14:12:12 -07:00
kpengboy
e3bf063217 Add GmailMessage.getHeader() declaration (#35544)
This method was publicly launched a few days ago.
As of this writing, the docs have not yet been updated, but this method
is visible from the script editor's autocomplete.
2019-05-17 14:03:59 -07:00
Elizabeth Samuel
af21f347fa [office-js] [office-js-preview] (Outlook) Note string literals of enu… (#35551)
* [office-js] [office-js-preview] (Outlook) Note string literals of enums accepted or returned

* Remove boolean ones

* Minor format update
2019-05-17 14:03:15 -07:00
Tom
a1348e8875 Dialogflow: Updates from working with nodejs-dialogflow and @types/dialogflow (#35542)
* Transitioned from Enums to Types. Updated some fields to optional where they may differ situationally (e.g. create/update/request/response). Filled in some TODOs

* Updated type for non-empty synonyms string array and included reference to new interfaces

* Include Any type for Status

* dtslint fixes

* Updated header for version and author
2019-05-17 13:43:46 -07:00
Hayden Yu
3893583a7a fix type defination for API sobjects deleted API (#35541) 2019-05-17 13:37:26 -07:00
Mete Can Eriş
49e8085eea Fix optional erroneous types. (#35546) 2019-05-17 12:55:18 -07:00
Dobes Vandermeer
8459d5ed79 [paper] Fix hitTest types, add constructors to PaperScope (#35361)
* Result of hitTest may be null

* Add classes to PaperScope

In paper you construct objects via the classes inside PaperScope so that
those classes will update globals specific to that scope.  Constructing
these objects via the "global" paper object exported from the module
will make global changes to that singleton.

* Fix type of hitTest options.class

* Refine type of class

Use a better type for hitTest class.

* Remove unnecessary curly braces
2019-05-17 09:47:54 -07:00
TeamworkGuy2
f93ac0c236 [urijs] Remove unnecessary JQuery dependency per #35453 (#35505) 2019-05-17 09:34:57 -07:00
AlCalzone
2f07aa3b5d Update/Add subscribe[Foreign]ObjectsAsync (#35537) 2019-05-17 09:34:09 -07:00
AlCalzone
cb76c17a30 Add overloads for adapter.terminate (#35538) 2019-05-17 09:32:17 -07:00
Florian Keller
590d20bc54 [csv-parse] Remove package (#35378) 2019-05-17 09:29:09 -07:00
ulrichb
9d83c3f085 [openid-client] Add introspect() and keystore() (#35530)
* Add Client.introspect() method

* Add Issuer.keystore()

* Add Client.userinfo()
2019-05-17 09:15:39 -07:00
Jørgen Vatle
0d753f7c4c [coinbase-commerce-node] Correct placement of Webhook namespace. (#35525)
* Correct Webhook module declaration for coinbase-commerce-node.

* Declare Webhook as namespace instead of module.

* Remove redundant `export` keyword from verifySigHeader() function.
2019-05-16 14:56:39 -07:00
Sam Rubin
87ecddace1 [braintree] Add TransactionRequestSource (#35528) 2019-05-16 14:56:26 -07:00
Matthias Max
0d551cc334 finally should be optional (#35524)
This was already merged in the types for Feathers v4 but needed here for v3 too:
https://github.com/feathersjs/feathers/pull/1350
2019-05-16 14:54:34 -07:00
Pine
e537d22b34
VS Code 1.34 Extension API (#35523) 2019-05-16 12:55:48 -07:00
Pascal Corpet
bd1dc274c4 [react-select] Fix the type of the options prop which can be a readonly array. (#35457) 2019-05-16 11:01:15 -07:00
Rob Sargant
f5f949efb8 Add missing optional flag for valueContainer (#35438) 2019-05-16 11:01:00 -07:00
Yamagishi Kazutoshi
bf5b5072f8 [workbox-window]: add types (#35522) 2019-05-16 10:26:51 -07:00
John L. Singleton
3159ea0560 adding new definition for userResDecorator (#35499) 2019-05-16 09:46:38 -07:00
Nikolaj Kappler
17a590cc85 [Tern] fix inheritance of infer objects and added missing stuff. (#35518)
* [Tern] fix inheritance of infer objects and added missing stuff.

The inheritance of abstract values and types was wrong.
Primitives were not yet implemented and some methods were on the wrong
level of inheritance, leading to unfounded complaints from the compiler

workstream:

* follow-up fix: proto Obj has a name (if it exists)

workstream:

* fix tests

workstream:

* redo changes that were accidentally deleted

workstream:

* infer.Arr has always the name "Array".

workstream:

* fix tests

workstream:

* removed unknown since dependants are on TS v2.8

workstream:
2019-05-16 09:45:03 -07:00
Brandon Wilson
df31e13c58 [node-fetch] Make ResponseInit url optional (#35414) 2019-05-16 07:57:32 -07:00
Dimitry Kooijmans
be73d79797 [@types/gm] Add missing identify(format, callback) method. (#35511)
* [@types/gm] Add missing `identify(format, callback)` method.

* Fix identation
2019-05-16 07:56:24 -07:00
Marek Dědič
f03ac07c6d [google-apps-script] Updated to reflect newly added Shared Drive APIs (#35358)
* [google-apps-script] Updated to reflect newly added Shared Drive APIs

* [google-apps-script] Added missing list function with optional arguments
2019-05-16 07:56:00 -07:00
Harry Hedger
60d1e6c75b Added typedef for @reach/alert (#35509) 2019-05-16 07:55:00 -07:00
Jack Allen
56395c2fc1 [slate]: Updating and Exposing PathUtils (#35519) 2019-05-16 07:50:47 -07:00
Jørgen Vatle
cf02bffc10 [coinbase-commerce-node] Add missing event type and make EventResource generic. (#35507)
* Correct type of EventResource data property.

* Add 'charge:resolved' event type to EventResource.

* Make EventResource generic to allow resource type specification.

* Add tests for EventResource generic.

* Remove consecutive blank lines from coinbase-commerce-node-tests.ts
2019-05-16 07:48:47 -07:00
Andrés Reyes Monge
cbd209d018 lambda-log Adding more of the top level definitions and fixed the LogMessage references (#35513)
* Adding some missing definitions

* Added more definitions

* removed some merge artifacts

* Fixes lint issue
2019-05-16 07:46:26 -07:00
Christopher Pappas
e5ac06081f [react-tracking] Add new Context api (#35504) 2019-05-16 11:12:15 +02:00
Jørgen Vatle
695b694eb9 [log-process-errors] Add type definitions for 'log-process-errors' (#35464)
* Add base type definitions for log-process-errors.

* Correct return type of LogProcessErrors function.

* Add log-process-errors tests.

* Add tsconfig and tslint for log-process-errors.

* Correct import path for log-process-errors-tests.ts.

* Define minimal compatible TypeScript version for log-process-errors

* Correct placement of log-process-errors type definitions.

* Make options in LogProcessErrors function optional

* Define `testing` and `colors` properties of LogProcessErrorsOptions as optional.

* Use camelCase for logProcessErrors function to be more inline with log-process-errors' documentation.

* Correct log-process-errors exports.

* Remove redundant exports from logProcessErrors namespace.
2019-05-15 16:16:17 -07:00
Gregor Martynus
7dda14dff5 fetch-mock: response header values are always strings (#35502)
follow up for https://github.com/DefinitelyTyped/DefinitelyTyped/pull/35462#issuecomment-492769019
2019-05-15 16:00:02 -07:00
Ben Grynhaus
b578fe0b29 improve facebook-js-sdk types (#35467) 2019-05-15 15:51:41 -07:00
Dmitry Patsura
3a0cae806d Feature(react-native): Fix Platform module definition (#35393) 2019-05-15 23:46:10 +02:00
Zhang Yi Jiang
d15131099b [react-mentions] MentionInput should extend textarea props (#35352) 2019-05-15 13:17:20 -07:00
Jeffry Angtoni
fa6704c2ba feat(d.ts): add random-useragent type definition (#35493) 2019-05-15 12:37:50 -07:00
Nathan Shively-Sanders
bd511dccbb
Update url and switch form-urlencoded to export= (#35498)
* Update url and switch form-urlencoded to export=

Only the newer version uses export default. The version that DT has
types for still uses export=.

* Fix spacing in test
2019-05-15 12:37:05 -07:00
Vlad Jerca
1d2186a021 jsonpack: add type defintiions (#35492) 2019-05-15 12:34:25 -07:00
Christos Dimitroulas
732bac2f7d @types/mongodb - Add MongoNetworkError & MongoParseError classes (#35484)
* add MongoNetworkError class and add name property to MongoError

* add MongoParseError class

* add basic tests
2019-05-15 12:34:08 -07:00
Gavin Rehkemper
53c650287b [js-beautify] add space_in_empty_paren property (#35491) 2019-05-15 12:32:37 -07:00
Cassey Lottman
7275a4d75a remove self from maintainers list (#35494) 2019-05-15 12:31:56 -07:00
Herman (Von) Waters
170b1c478b [mui-datatables] Muidatatables 2.1 (#35329)
* added the 'empty' boolean to the MUIDataTableColumnOptions and 'React.ReactNode' to the 'customHeadRender' it still requires TableRow and TableCell

* added name and updated versions to most recent

* removed minor update notation

* fixed header notation

* added new line at the end of the doc

* reverted the typescript version as per request

* added the new onDownload function for version 2.1, increased version, sorted options alphabetically to easier find properties
2019-05-15 10:38:42 -07:00
Vsevolod
d5e01247c7 [@types/underscore] Add array as key for property (#34998)
* [@types/underscore] Add array as key for `property`

* [@types/underscore] Fix review issue
2019-05-15 10:38:09 -07:00
Søren Englund
0efa64a8ba added types for camelcase-keys-deep (#35458)
* added types for camelcase-keys-deep

* Refactored test file and removed namespace declaration from index.d.ts
2019-05-15 09:51:38 -07:00
月迷津渡
36e47f5333 Add types for react-pdf (#35317)
* Add types for react-pdf

* [react-pdf] enable strictNullChecks and remove Function types
2019-05-15 09:50:55 -07:00