Commit Graph
63958 Commits
Author SHA1 Message Date
Jérémie Astori df430a582d [@types/node] Fix cursorTo requiring a y parameter (#37630)
* Fix `cursorTo` requiring a `y` parameter

When `y` is omitted, `cursorTo` moves the cursor to the first character of the current line. When `y` is required, there is no way to use this capability of `cursorTo`.

* Re-add `cursorTo` test when not passing down `y` parameter
2019-08-14 17:27:25 -07:00
Sylvan Mably 4e846ad5af Add debug argument to Boom.reformat() (#37487) 2019-08-14 17:24:38 -07:00
Pedro Tôrres 3afd612b19 openToYearSelection on DatePicker of material-ui (#37366) 2019-08-14 17:22:49 -07:00
Seally f4d65d8c02 [csp-html-webpack-plugin] Add type definitions (#37544)
* [csp-html-webpack-plugin] Add type definitions.

* [csp-html-webpack-plugin] Fix test file formatting with Prettier.

* [csp-html-webpack-plugin] Move HtmlPluginData into exported namespace.

* [csp-html-webpack-plugin] Remove comment on HtmlPluginData.

* [csp-html-webpack-plugin] Use conditional types to figure out HtmlPluginData type.

* [csp-html-webpack-plugin] Remove 'esModuleInterop' from tsconfig.json.
2019-08-14 15:16:07 -07:00
TobyB 9f95322146 updated typings (added new methods) (#37504) 2019-08-14 15:02:48 -07:00
Van Nguyen de251309a1 add reformat() debug parameter (#37508)
should mirror https://github.com/hapijs/boom/blob/7c03582a4b137b45735ce29fa75e7e6c9d5a861b/lib/index.js#L412
2019-08-14 14:40:19 -07:00
TokugawaT_YD f18ba003c3 Types for Html-validator (#37607)
* draft

* clear to tests

* Clear for tests
2019-08-14 14:35:43 -07:00
Rob Scott a26e3956af ensure promise returns are correctly typed (#37620) 2019-08-14 12:56:07 -07:00
Andy Richardson a32cdbb4d1 Change export to default (#37558) 2019-08-14 12:55:21 -07:00
Bohdan Stupak 47bde55ff8 [leaflet] Add missing TileLayerOptions properties (#37613) 2019-08-14 12:52:51 -07:00
BePo65 2425015e3e Updated for leaflet-polylinedecorator 1.6 (#37552) 2019-08-14 12:49:02 -07:00
southrock 9a703a8d7c [animejs] update to 3.1 (#37580)
* update index.d.ts for animejs v3.1

* test new api

* fix: remove offset
2019-08-14 12:47:42 -07:00
James Durand acc0673552 Added arguments to solid-auth-client methods (#37603)
There are a few optional arguments that can be passed to
the client methods that aren't present in the types currently.
I've added them as they are in the 2.3.0 version of the client
the existing types say they target.
2019-08-14 11:33:25 -07:00
Jack W b0b4b755a9 Add missing props to FlatList. (#37562)
- Added optional ListHeaderComponentStyle prop.
- Added optional ListFooterComponentStyle prop.
2019-08-14 11:31:05 -07:00
CatGuardian b594d98eda Added last_password_reset to user fields. (#37629) 2019-08-14 11:28:58 -07:00
Wayne Brantley a0c4526533 Add errors property to submissionError (#37471)
* Add errors property to submissionError

* Pr changes
2019-08-14 11:25:53 -07:00
Jojoshua 40ae95a8c0 tabulator-tables 4.4 update (#37546)
* 4.4 update

* fix comment format
2019-08-14 11:20:36 -07:00
Harris Lummis db177da108 [http-link-header] Prefer Module-Class Declaration Style (#37422)
- Change declaration style to reflect export style of js source, allow
  instantiation of module
- Fix incorrect return type on set method
- Update tests to ensure correctness of changes
2019-08-13 17:57:55 -07:00
Emilio Almansi 44d88ebf9a [set-interval-async] Add types for set-interval-async (#37535)
* [set-interval-async] Add types for set-interval-async

* Add reference directives.
2019-08-13 17:34:47 -07:00
Hossein Saniei 50d95196c6 feat(@types/mongodb): Add real working type definitions for colleciton.findX FilterQuery (#37467) 2019-08-13 17:09:39 -07:00
Vinod Kumar Gubbala c9b89a8aa8 #37429 Added missing methods in continuation-local-storage (enter and exit) (#37430) 2019-08-13 16:59:38 -07:00
Rifa'i M. Hanif 4337f074e2 [ol] Include undefined and null return type (#37600) 2019-08-13 16:43:56 -07:00
Ryan Price ebec11f23b export v4 react-custom-scrollbars as namespace because it is a UMD module (#37520)
This was done once already for v3 https://github.com/DefinitelyTyped/DefinitelyTyped/pull/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-13 15:57:26 -07:00
Sylvain Thénault 02fb35d9bd [chartjs] Add support for 'enabled' in ticks major configuration (#37503)
It's documented in https://www.chartjs.org/docs/latest/axes/styling.html but
missing in typescript definition, forbidding usage of major ticks feature.
2019-08-13 15:48:58 -07:00
Kristoffer ae0ac656ad storybook__addon-storyshots: Options are optional (#37540) 2019-08-13 15:43:15 -07:00
EduardoRFS 0f3e92daf2 [@types/csv2json] wrong type, returns is a Pumpify (#37488) 2019-08-13 15:35:43 -07:00
Sargis Azaryan 6a9b457fb1 Type for permissions in DeviceLanchAppConfig (#37498) 2019-08-13 15:26:15 -07:00
toddrobinsonce 1881c7eaad stripe: Update missing fields and add full definition for IInvoiceListUpcomingLineItemsOptions (#37446) 2019-08-13 14:56:07 -07:00
Dmitry Demensky c140f50a38 Enable & fix dt-header rule (#37411) 2019-08-13 14:46:56 -07:00
thf-norriq 3c15e07968 Fix strict compilation errors (#37457)
Fixing these strict compilation errors:
error TS7008: Member 'thumb' implicitly has an 'any' type.
error TS7006: Parameter 'e' implicitly has an 'any' type.
error TS7006: Parameter 'e' implicitly has an 'any' type.
2019-08-13 14:41:04 -07:00
Eric Heikes 09db37435a Add types for xml-crypto (#37484) 2019-08-13 14:33:50 -07:00
dlimkin 34137b256f [esc-pos-encoder] Add types for esc-pos-encoder (#37523) 2019-08-13 14:20:03 -07:00
VictoriaGreen93 695d1e2dc4 Add typings for swagger-ui-react (#37569)
* Typings for swagger-ui-react

* Typings for swagger-ui-react

* Typings for swagger-ui-react

* Typings for swagger-ui-react
2019-08-13 13:44:31 -07:00
Ole André Vadla Ravnås 79ac56e605 Sync frida-gum typings with Frida 12.6.14 (#37574)
Also fix some bugs in the existing typings, and bump the major version
to avoid breaking existing consumers that rely on these bugs.

Changelog at:

    https://www.frida.re/news/2019/05/28/frida-12-6-released/
2019-08-13 13:32:59 -07:00
lochiego c50af0ccba Add type for hash-it (#37593) 2019-08-13 13:00:22 -07:00
sripberger 174e62ee37 Add types for random-bytes (#37599) 2019-08-13 12:47:01 -07:00
Ifiok Jr c14ed38e51 feat: update theme-ui types (#37578) 2019-08-13 11:33:50 -07:00
Mitsuka Hanakura a.k.a. ragg cdf85f536f [@simonwep/selection-js] Follow API changes in 1.2.0 (#37585) 2019-08-13 11:23:57 -07:00
Jeroen Claassens 981cc6d51e [@types/react-leaflet] Upgrade to cover v2.3.0 and v2.4.0 (#37289)
* Cover v2.4.0 changes

This adds 2 additional properties to the Map component which can be seen
being documented in [this PR](https://github.com/PaulLeCam/react-leaflet/pull/593).

The release notes for v2.4.0 can be viewed [here](https://github.com/PaulLeCam/react-leaflet/releases/tag/v2.4.0)

Signed-off-by: Jeroen Claassens <support@favware.tech>

* Cover v.2.3.0

V2.3.0 added a React hook. This PR covers the function as well as adding
a test that should test the hook.

- v2.3.0 Release Notes: https://github.com/PaulLeCam/react-leaflet/releases/tag/v2.3.0
- Primary Pull Request for v2.3.0: https://github.com/PaulLeCam/react-leaflet/pull/571/files

Signed-off-by: Jeroen Claassens <support@favware.tech>
2019-08-12 17:37:33 -07:00
Dave Bollebakker a455d8f860 Updating Flickity index.d.ts, adding 'hash' option (#37568)
* Updating Flickity index.d.ts, adding 'hash' option

Added missing optional 'has' option.
https://flickity.metafizzy.co/options.html#hash

* Removed trailing space
2019-08-12 17:31:33 -07:00
Teodor Tanasoaia 24bea12459 [luaparse] Fix type definitions (#37524)
* fix type info

* add contributor to list
2019-08-12 16:02:09 -07:00
Emilio Almansi 855d02b94b [bchaddrjs] Add types for bchaddrjs (#37519) 2019-08-12 16:00:01 -07:00
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