Commit Graph
63941 Commits
Author SHA1 Message Date
Harris LummisandPranav Senthilnathan 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 AlmansiandPranav Senthilnathan 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 SanieiandPranav Senthilnathan 50d95196c6 feat(@types/mongodb): Add real working type definitions for colleciton.findX FilterQuery (#37467) 2019-08-13 17:09:39 -07:00
Vinod Kumar GubbalaandPranav Senthilnathan c9b89a8aa8 #37429 Added missing methods in continuation-local-storage (enter and exit) (#37430) 2019-08-13 16:59:38 -07:00
Rifa'i M. HanifandPranav Senthilnathan 4337f074e2 [ol] Include undefined and null return type (#37600) 2019-08-13 16:43:56 -07:00
Ryan PriceandPranav Senthilnathan 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énaultandPranav Senthilnathan 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
KristofferandPranav Senthilnathan ae0ac656ad storybook__addon-storyshots: Options are optional (#37540) 2019-08-13 15:43:15 -07:00
EduardoRFSandPranav Senthilnathan 0f3e92daf2 [@types/csv2json] wrong type, returns is a Pumpify (#37488) 2019-08-13 15:35:43 -07:00
Sargis AzaryanandPranav Senthilnathan 6a9b457fb1 Type for permissions in DeviceLanchAppConfig (#37498) 2019-08-13 15:26:15 -07:00
toddrobinsonceandPranav Senthilnathan 1881c7eaad stripe: Update missing fields and add full definition for IInvoiceListUpcomingLineItemsOptions (#37446) 2019-08-13 14:56:07 -07:00
Dmitry DemenskyandPranav Senthilnathan c140f50a38 Enable & fix dt-header rule (#37411) 2019-08-13 14:46:56 -07:00
thf-norriqandPranav Senthilnathan 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 HeikesandPranav Senthilnathan 09db37435a Add types for xml-crypto (#37484) 2019-08-13 14:33:50 -07:00
dlimkinandPranav Senthilnathan 34137b256f [esc-pos-encoder] Add types for esc-pos-encoder (#37523) 2019-08-13 14:20:03 -07:00
VictoriaGreen93andPranav Senthilnathan 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åsandPranav Senthilnathan 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
lochiegoandPranav Senthilnathan c50af0ccba Add type for hash-it (#37593) 2019-08-13 13:00:22 -07:00
sripbergerandPranav Senthilnathan 174e62ee37 Add types for random-bytes (#37599) 2019-08-13 12:47:01 -07:00
Ifiok JrandPranav Senthilnathan c14ed38e51 feat: update theme-ui types (#37578) 2019-08-13 11:33:50 -07:00
Mitsuka Hanakura a.k.a. raggandPranav Senthilnathan cdf85f536f [@simonwep/selection-js] Follow API changes in 1.2.0 (#37585) 2019-08-13 11:23:57 -07:00
Jeroen ClaassensandPranav Senthilnathan 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 BollebakkerandPranav Senthilnathan 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 TanasoaiaandPranav Senthilnathan 24bea12459 [luaparse] Fix type definitions (#37524)
* fix type info

* add contributor to list
2019-08-12 16:02:09 -07:00
Emilio AlmansiandPranav Senthilnathan 855d02b94b [bchaddrjs] Add types for bchaddrjs (#37519) 2019-08-12 16:00:01 -07:00
Emilio AlmansiandPranav Senthilnathan 37a3f3dd67 [cashaddrjs] Add types for cashaddrjs (#37530) 2019-08-12 15:42:25 -07:00
Max VaysburdandPranav Senthilnathan 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 MartinandPranav Senthilnathan 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
skalmaandPranav Senthilnathan 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
alecfandPranav Senthilnathan 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 ShinandPranav Senthilnathan bb547367a5 add missing resetBrowser method types (#37390) 2019-08-12 13:43:35 -07:00
ayZagenandPranav Senthilnathan 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 KellerandPranav Senthilnathan 5e7f5c9d41 Add types for python-struct (#37563) 2019-08-12 13:20:34 -07:00
Will KeleherandPranav Senthilnathan 351ae0c560 mongodb findOneOptions; maxTimeMs -> maxTimeMS (#37507) 2019-08-12 12:40:42 -07:00
Matt CavenderandPranav Senthilnathan 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
coyotte508andPranav Senthilnathan 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
peraandPranav Senthilnathan 362a5990fa Adds React UNSAFE_ lifecycle methods (#37516)
* Adds React `UNSAFE_` lifecycle methods

* Fixes typo
2019-08-12 12:21:20 -07:00
Rémi SormainandPranav Senthilnathan 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 ChenandPranav Senthilnathan 2987240fa2 fix typo in cytoscape typings (#37522) 2019-08-12 12:07:28 -07:00
Nicolás Serrano ArévaloandPranav Senthilnathan 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 AprahamianandPranav Senthilnathan 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 SamuelandPranav Senthilnathan ac52551033 [office-js] [office-js-preview] Make d.ts consistent with each other (#37515) 2019-08-12 11:56:00 -07:00
Alex JerabekandPranav Senthilnathan 2bb3f74f9c Removing preview references from Outlook release section (#37564) 2019-08-12 11:54:42 -07:00
Aayush KapoorandPranav Senthilnathan c55609e1fb Update index.d.ts (#37475) 2019-08-12 10:24:29 -07:00
Pablo GraciaandPranav Senthilnathan 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 TottenandPranav Senthilnathan 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 KlassenandPranav Senthilnathan 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 MarcacciandPranav Senthilnathan d2b0b330eb Export FileUpload interface in graphql-upload (#37542)
* add FileUpload interface

* --amend
2019-08-12 10:10:39 -07:00
Sebastian SebaldandPranav Senthilnathan a3718243ba Add docs for SystemCssProperties (#37559) 2019-08-12 10:04:59 -07:00
Joe FlateauandNathan Shively-Sanders 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