Commit Graph
63916 Commits
Author SHA1 Message Date
Emilio Almansi 37a3f3dd67 [cashaddrjs] Add types for cashaddrjs (#37530) 2019-08-12 15:42:25 -07:00
Max Vaysburd 34dddd92f9 Update definitions for slate - Text and Editor (#37514)
* Add marks property missing from Text
Add return type to editor.withoutSaving and editor.withoutMerging per
https://docs.slatejs.org/slate-core/commands#miscellaneous-commands

* Lint fixes

* Tests

* Formatting

* Change from List<Mark> to Set<Mark>
2019-08-12 14:58:21 -07:00
Evan Martin 8002c111c6 accept Window as argument to JQueryStatic (#37567)
Users write code like:
  angular.element(window)
  angular.element($window)  // IWindowService

but this fails with a type error under TypeScript 3.5, due to a change
in the type of of Window.  (Previously the only reason it compiled is
that Window was matching the ArrayLike<Element> param.)

Note that if you run the tests, the definition of JQueryStatic here
in the JQLite typings declaration-merges with the full JQuery
definition, which accepts any (!) so there is no type error.  But if
you use just this library without JQuery, the type errors without my
fix look like:

angular-tests.ts:788:17 - error TS2345: Argument of type 'Window' is not assignable to parameter of type 'string | Element | Document | JQuery | ArrayLike<Element> | (() => void)'.
  Type 'Window' is missing the following properties from type 'Document': activeElement, alinkColor, all, anchors, and 147 more.

788 angular.element(window);
                    ~~~~~~

angular-tests.ts:790:17 - error TS2345: Argument of type 'IWindowService' is not assignable to parameter of type 'string | Element | Document | JQuery | ArrayLike<Element> | (() => void)'.
  Type 'IWindowService' is missing the following properties from type 'Document': activeElement, alinkColor, all, anchors, and 147 more.
2019-08-12 14:36:54 -07:00
skalma 57264f62b5 mui-datatables v2.7.0: added custom filtertype and searchText (#37537)
* Added custom value to FilterType and searchText as string to MUIDataTableOptions

mui-datatables version 2.7.0

* Removed trailing whitespace
2019-08-12 13:57:19 -07:00
alecf 2311984a90 [victory] add axisValue to victory chart's VictoryAxis component props (#37384)
* add axisValue

* missing semi!
2019-08-12 13:45:05 -07:00
Tylor Shin bb547367a5 add missing resetBrowser method types (#37390) 2019-08-12 13:43:35 -07:00
ayZagen 01310d2cfc [@types/email-templates] fix: render option is not function (#37396)
* fix: render option is not function

* chore: updated version

* chore: lint
2019-08-12 13:42:06 -07:00
Florian Keller 5e7f5c9d41 Add types for python-struct (#37563) 2019-08-12 13:20:34 -07:00
Will Keleher 351ae0c560 mongodb findOneOptions; maxTimeMs -> maxTimeMS (#37507) 2019-08-12 12:40:42 -07:00
Matt Cavender 544efc9834 Added missing types to react-tag-input (#37536)
* add: inputFieldPosition, renderSuggestion

* cleaned up tests

* switched to global import of Tag
2019-08-12 12:33:32 -07:00
coyotte508 a46762c1b2 Add tokenizeAndStem() and attach() to stemmers (#37401)
* Add tokenizeAndStem() and attach() to stemmers

* [natural] Use DRY principle on stemmers
2019-08-12 12:23:47 -07:00
pera 362a5990fa Adds React UNSAFE_ lifecycle methods (#37516)
* Adds React `UNSAFE_` lifecycle methods

* Fixes typo
2019-08-12 12:21:20 -07:00
Rémi Sormain c7007bf992 Narrow promise return type for (#37483)
- QRCode.toDataURL
- QRCode.toString
The test update imposes at least Typescript 2.1.
2019-08-12 12:09:32 -07:00
Gregory Chen 2987240fa2 fix typo in cytoscape typings (#37522) 2019-08-12 12:07:28 -07:00
Nicolás Serrano Arévalo 40bf665098 Added "A6" to PDFFormat @types/puppeteer (#37505)
* Added "A6" to PDFFormat

https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md#pagepdfoptions

* Removed consecutive whitespaces

* Trailing
2019-08-12 12:06:16 -07:00
Dan Aprahamian 6242cae6e6 Adds definition for mongodb client option useUnifiedTopology (#37543)
http://mongodb.github.io/node-mongodb-native/3.2/api/MongoClient.html#MongoClient
2019-08-12 12:04:32 -07:00
Elizabeth Samuel ac52551033 [office-js] [office-js-preview] Make d.ts consistent with each other (#37515) 2019-08-12 11:56:00 -07:00
Alex Jerabek 2bb3f74f9c Removing preview references from Outlook release section (#37564) 2019-08-12 11:54:42 -07:00
Aayush Kapoor c55609e1fb Update index.d.ts (#37475) 2019-08-12 10:24:29 -07:00
Pablo Gracia 3fa3008b88 Fix index.d.ts for *reactour* by correcting typo (#37438)
* Fixed the declaration file for the 'showButtons' prop, as it was previously 'showButton' and it couldn't be used effectively with Typescript

* fix-reactour-showButtons update test
2019-08-12 10:21:46 -07:00
Nathan Totten 8e16ab20ef Added LWC Parser to prettier (#37526)
See: https://prettier.io/docs/en/options.html#parser
2019-08-12 10:18:38 -07:00
Emily Marigold Klassen 32a49ff51b Update toposort definitions (#37511)
* Make toposort properly generic and add missing array definition

* Add full documentation to toposort

* Make tuple not readonly, as it requires ts 3.4

* style fixes

* Add typescript version requirement to toposort
2019-08-12 10:17:18 -07:00
Mike Marcacci d2b0b330eb Export FileUpload interface in graphql-upload (#37542)
* add FileUpload interface

* --amend
2019-08-12 10:10:39 -07:00
Sebastian Sebald a3718243ba Add docs for SystemCssProperties (#37559) 2019-08-12 10:04:59 -07:00
Joe Flateau d54fb09b05 export videojs.Player so it can be augmented with declaration merging (#37037)
* export videojs.Player so it can be augmented

* lint

* in order to be augmentable, the VideoJsPlayer interface must actually be exported

* also export the PlayerOptions

* lint

* demonstrate augmentation actually works

* make linter happy
2019-08-12 09:59:56 -07:00
Ruben Swieringa f659864039 Add type definitions for dialog-polyfill (#37513)
* Add type definitions for dialog-polyfill

* Remove self from code-owners list

Will be auto-generated and added.

* Simplify type definitions for dialog-polyfill

* Appease formatting-rules for dialog-polyfill type definitions
2019-08-12 09:46:10 -07:00
Mochamad Arifin 2d1d15f734 [mongoose-delete] New definition (#37455)
* Add definitionAdded static falsy, truthy, empty, notEmpty

* Fix semicolon

* Remove duplicate test

* Initial

* Igonre implicit any

* Ignore overload

* Fix

* Fix dangling?

* no unified-signatures

* Fix import export

* Fix tsconfig

* Fix // TypeScript Version: 3.2

* Fix global with Declaration Merged

* Fix remove rules in tslint

* Fix implicit any
2019-08-12 09:44:36 -07:00
Mohamad Khajavi 47cde461fa Update fade duration of Image component (#37539) 2019-08-12 00:21:55 +02:00
EduardoRFS 1783536b99 [readable-stream] asyncIterator too strict (#37492) 2019-08-09 16:29:43 -07:00
Ryan Price b25c73434a export react-custom-scrollbars as namespace because it is a UMD module (#37489)
Without doing this, tsc complains that node_modules/@types/react-custom-scrollbars/index.d.ts is not a module
This change also allows importing Scrollbars as the module default `import Scrollbars from` or as a named export `import {Scollbars} from` because either work.
Documentation that this is a UMD module: https://github.com/malte-wessel/react-custom-scrollbars/commit/f632d08e725f30ac40cdb6257752ad36b40c6fef
2019-08-09 16:29:18 -07:00
Ivy Witter dfb15f29bf [@types/got] Added beforeErrorHook type (#37480)
* added beforeErrorHook type

* fixed formatting in test

* corrected beforeErrorHook implementation

* @types/got fixed unintended whitespace/style changes

* @types/got fixed remaining unintended style changes

* @types/got reduced to single error type

* @types/got removed doc from beforeErrorHook type as definition is obvious
2019-08-09 16:27:56 -07:00
Bartosz Szewczyk 408c33bf87 Expanded styled-system/css to cover more cases (#37359) 2019-08-09 15:56:46 -07:00
Jonathon 3160cd4fab airtable: Add eachPage() typing (#37360) 2019-08-09 15:53:43 -07:00
Emrio f721239533 Add type definitions for uid-generator (#37482) 2019-08-09 08:29:14 -07:00
grptx 4cd01a0797 type for node-redmine package (#37495)
* first commit

* test 1

* test 1

* test 2

* test 2
2019-08-09 08:28:27 -07:00
Teppei Sato b56ebdbf4e [eslint] add type property to RuleMetaData (#37351) 2019-08-09 08:26:39 -07:00
Rebecca Turner 5b1c50b7f7 cheerio: Add function and map forms of attr (#37342)
The cheerio docs support passing "a map and function like jQuery"; this
adds those forms of calling `attr`.
2019-08-09 07:37:28 -07:00
PopGoesTheWza fab90d00c0 google-apps-scripts: August 7, 2019 (#37493)
* UI service has been removed

* removing reference to defunct UI service
2019-08-09 07:34:23 -07:00
Andrew Clancy 8d7477e7ce Add selectdirection (#37347)
https://plot.ly/javascript/reference/#layout-selectdirection
2019-08-09 07:30:30 -07:00
Dmitry d1e5d80896 react-window: update to 1.8.5 (#37497)
* react-window: update to 1.8.5

* Fix grammar
2019-08-09 07:29:25 -07:00
Jan Christian Grünhage 18e8221de5 sqljs: Fix QueryResult (#37496) 2019-08-09 07:28:15 -07:00
Ivan Kerin 22093c2dc3 Slonik - add support for json token type (#37437)
* Add support for json token type

* Fix bugs

* Add tests to verify jeson objects
2019-08-09 07:27:19 -07:00
thmiyathmary 99472198e6 ioredis: add lpopBuffer, lrangeBuffer and rpushBuffer (#37461) (#37491)
* ioredis: add lpopBuffer, lrangeBuffer and rpushBuffer (#37461)

* ioredis: add test for lpopBuffer, lrangeBuffer and rpushBuffer (#37461)
2019-08-09 07:25:09 -07:00
Kensuke Matsuzaki a971b995f2 Rebase Fix and improvements for 1.38.33 (#37459)
* Improve types of `ccall` and `cwrap` functions

* Fix type of FS.init() since it accepts null

* Simplify type of writeFile()

* Add missing onRuntimeInitialized hook

* Add options to ccall() and cwrap()

* More tests

* Fix linter error and compile error

* Add version to header

* Fix string conversion functions are defined at toplevel

* Add me to maintainers

* Add lengthBytesUTF*() and allocateUTF8()

* Add Module.onAbort

* Fix emscripten lint

* Fix emscripten FS typing

* Revert "Add me to maintainers"

This reverts commit db3b5157b4ee35a9404cff6b673eed89cd42fc0f.
2019-08-09 07:24:02 -07:00
Mathieu Tanguay e585019e4f fixed toMS instead of toMs (#37473)
* subtitle: added function stringifyVtt

* Fixed toMS typo error
2019-08-09 07:19:59 -07:00
Stéphane Goetz e06ec4fb24 Remove Stéphane Goetz from react definitions contributors (#37500) 2019-08-09 07:17:53 -07:00
Jessica Franco bcd13025a5 react, react-test-renderer: Update React types for 16.9.0 (#37426)
https://github.com/facebook/react/pull/16254
2019-08-09 10:44:50 +09:00
Piotr Roszatycki d4f452574a readline-transform: update to 1.0 (#37478) 2019-08-08 15:47:05 -07:00
Elizabeth Samuel 074bd375f5 [office-js] [office-js-preview] (Outlook) Remove AsyncResult links (#37449) 2019-08-08 15:44:51 -07:00
fifn2 7d72acde1d Add properties to Linter.Config type (#37341)
Makes it so that any valid eslint config can be assignable to type
Linter.Config.
2019-08-08 15:44:13 -07:00