Commit Graph
61997 Commits
Author SHA1 Message Date
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
mpomet 4e761b8a06 [@types/vis] add optional parameter to getConnectedNodes (#34820) 2019-04-18 16:07:14 -07:00
Adam Zmenak e796eb7466 [storybook__addon-knobs] Update for v5 (#34691)
* Adds types for optionsKnob

* Undo auto formatting

* Update types/storybook__addon-knobs/index.d.ts

Co-Authored-By: azmenak <adam.zmenak@gmail.com>
2019-04-18 16:06:42 -07:00
simusr2 1ca3d432ca [FIX] Updated some type declaration for tabulator-tables (#34781)
* Update index.d.ts

Added missing some enum values to predefined types (according to tabulator documentation/examples)

* Update index.d.ts

Replaced Function with specific function type

* Update index.d.ts

Updated onRendered type for Formatter type definition

* Updated Formatter definition. Updated tabulator-tables-tests according Formatter definition

* Update tabulator-tables-tests.ts

Fixed Tabulator.EmptyCallback reference in tabulator-tables-tests

* Updated ColumnDefinition.align and Tabulator.element

ColumnDefinition.align: cannot by "left" | "center" | "right" (not types). Use intead a type as
type ColumnDefinitionAlign = "left" | "center" | "right";

Tabulator class implicity has element property. In tabulator source code there are some this.element references
2019-04-18 16:00:54 -07:00
Elizabeth Samuel 38acb2b7b3 [office-js-preview] (Outlook) Update CategoryDetails description (#34807)
* [office-js-preview] (Outlook) Update CategoryDetails description

* Add newline
2019-04-18 15:56:44 -07:00
Alex Jerabek 2b76ff63f1 [office-js, office-js-preview] Update from the CDN (#34815)
* Preview Excel API Update

* Preview OneNote Updates

* Preview Visio Updates

* Release Word Updates

* Preview Word Updates

* Release Visio Updates
2019-04-18 15:54:46 -07:00
Flexmonster Pivot Table b6f4abad17 new properties were added to the "flexmonster" package (#34819)
* Added options.chart.axisShortNumberFormat

* validateFormulas option in Flexmonster

* new option properties were added

showFieldListSearch
strictDataTypes
2019-04-18 15:52:35 -07:00
breeze9527 ac5116dc7c [amap-js-api] update to v1.4.14 (#34822) 2019-04-18 15:51:13 -07:00
Nikolay Yakimov 9f250ce56b atom: update to version 1.36 (#34821) 2019-04-18 15:50:27 -07:00
JulianWielga cf4e423b4e Fixed match definition for mobx-task (#34826) 2019-04-18 15:48:08 -07:00
Rene Haas 94adcfc50d overlayscrollbars v1.7.0 (#34838) 2019-04-18 15:47:01 -07:00
Pascal Sthamer 0bb06879d9 Add typings for ts3-nodejs-library (#34797)
* 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
2019-04-18 15:44:35 -07:00
Danilo Bürger 4d231b322c [react-native] Added autoCompleteType to TextInputAndroidProps (#34824)
See https://github.com/facebook/react-native/pull/21575
2019-04-18 15:41:39 -04:00
Li Zhen 10aca63078 Fit more scenarios for @types/kos-core package (#34546)
* Update definition 'KosModel.asyncs'

* Fix a type bug

* Fit the new features

* Update action type
2019-04-17 16:58:37 -07:00
toddrobinsonce 7c72ecac37 stripe: Update missing fields and add a deprecated field for backwards compatibility (#34694) 2019-04-17 16:47:38 -07:00
Nathan Shively-Sanders c7a220ca57 Make reactstrap compile faster (#34809)
* Re-export classes directly, don't re-subclass

This cuts about 30% of the types the Typescript compiler was creating in
TS 3.3 to compile reactstrap. I don't know how many types it was creating in
3.4 because it would run out of memory.

Note that lint still crashes because it runs out of memory. I'll
continue improving performance.

* Remove strict generic checking

This reverts the strictness part of #26094 without changing its
interface. It retains

1. string index signatures, so that arbitrary props can be passed in.
2. extending from React.Componenent, so that individual types can be
subclassed.
3. Type parameters on the individual types.

However, string index signatures can no longer be avoided, and type
parameters are ignored. This preserves interface compatibility --
existing code will not break from this change -- but disables excess
prop checking. It's possible that a breaking change that returns the
type package to its old strict behaviour can be made at the same time as
a breaking change of reactstrap itself.

This change improves performance dramatically, and allows linting to
succeed without running out of memory.

* Add missing semicolon
2019-04-17 16:08:14 -07:00
John Jackson a0cde1d10f Added Edmonds-Blossom type (#34741)
* Added Edmonds-Blossom type

* updated tsconfig

* fixed tsconfig.json

* added noEmit

* added forceConsistentCasingInFileNames

* fixed urls

* fixed types

* fixed lib

* added tests

* fixed tests

* fixed test

* added ts version

* fix test
2019-04-17 15:28:46 -07:00
gablorquet 9dccfb693f Lazy.js (v0.5.1) - missing parameter on .uniq method (#34631)
* Lazy.js missing parameter on .uniq method

As per the official docs unit should be able to accept the key of the unit that will be used to determine unicity

* Updated file header

* Added typescript version header

* Typescript goes under the header

* missing the optional param
2019-04-17 15:24:13 -07:00
Walter Barbagallo dccd225d52 [react-cropper] fix ref prop typing (#34663) 2019-04-17 15:21:33 -07:00
Alexey Pelykh 1717f5656e [IMP] redux-saga-routines: support version 3.1 (#34760)
* [FIX] redux-saga-routines: loosen type definitions

* [IMP] redux-saga-routines: support 3.1
2019-04-17 15:17:02 -07:00
Nathan Shively-Sanders 976705450b Use fix suggested by @zspitz (#34814) 2019-04-17 15:01:55 -07:00
Jason d35eda0100 cookie-session: Adds Keygrip to allowed types for the cookie-session keys property (#34645)
* Adds Keygrip type to keys in  type.

* Adds test for keygrip type in cookie-session

* Adds small changes to cookie-sessions types.

* Reverts formatting because it was bloating the diff.

* Adds name to definitions-by section.

* Updates TypeScript version in header to allow imports of external types.
2019-04-17 14:56:26 -07:00
Elizabeth Craig e7edaf621a Add types for color-check (#34792) 2019-04-17 14:47:44 -07:00
Thomas Levy b747904a7c react-redux: add new batch function from v7 (#34787) 2019-04-17 14:45:08 -07:00
samir elsharkawy 6b2d4c3691 add: accept-language to IncomingHttpHeaders (#34810) 2019-04-17 14:42:42 -07:00
Matthew Bull 548df2e56f [@types/got] Fix for extended got instance when options are used (#34804)
* Fix extended got instance requiring duplicate `json: true`

* Use partials rather than base options
2019-04-17 14:41:18 -07:00