Commit Graph
57967 Commits
Author SHA1 Message Date
Andy Hanson 65fcea8f3e three: Fix typo 2018-10-12 16:29:36 -07:00
Leonard Thieu 20529b02e1 [jquery] Add event extensions API. (#29687)
* [jquery] Add event extensions API.

See https://learn.jquery.com/events/event-extensions/.

* [jquery] Make the errors go away.
2018-10-12 14:23:07 -07:00
Matt McCutchen 09e71d3f4f swiper: Fix exports. (#29500)
The `swiper` module provides only a default export of the Swiper class,
while the `swiper/dist/js/swiper.esm` provides named exports of this
class as well as the Swiper "modules".

Also comply with no-declare-current-package dtslint rule.

See https://stackoverflow.com/q/52673117 .
2018-10-12 10:10:53 -07:00
Farzad Soltani 96f165b6d0 misc(joi): fix typo in Joi.object() definition (#29648) 2018-10-12 10:09:38 -07:00
Andrew Marcuse 42f021f35e [koa-pino-logger] add context variable used for manual logging (#29506) 2018-10-12 10:09:10 -07:00
Devan Beitel 44cae14975 Adds services property and scaffolds Services interface with working resourceStore. (#29661) 2018-10-12 10:08:40 -07:00
Murali 84600fa561 @types/react-select: add theme property introduced in react-select v2.1 [WIP] (#29669)
* add theme property introduced in react-select 2.1

* fix lint errors

* added theme.tsx to tsconfig
2018-10-12 10:06:30 -07:00
Konstantin 79f404e22b Export types for react-sound package (#29671) 2018-10-12 10:05:49 -07:00
Christian Rackerseder 7315e28618 [pino-http] Add types (#29676) 2018-10-12 10:03:30 -07:00
Cerberuser cbc37b17c0 plotly.js depends on older version of d3 (#29677) 2018-10-12 09:32:37 -07:00
Gustav Bylund 802bbfcfdc Update tempy to v0.2.x (#29681) 2018-10-12 09:32:10 -07:00
Gustav Bylund 1a39ab2687 Add new @types/mutexify package (#29683) 2018-10-12 09:31:33 -07:00
George Berezhnoy 2ea4a1af58 @types/three: Add setRequestHeader into FileLoader interface (#29684)
* Add setRequestHeader into FileLoader interface

* Update index.d.ts
2018-10-12 09:30:03 -07:00
Enzo Volkmann 2e84dad3b6 Added more types 2018-10-12 18:14:14 +02:00
Emily Marigold Klassen 52d1975b92 Add types for passport-windowsauth (#29630)
* Add types for passport-windowsauth

* Use class instead of interface for strategy-windowsauth
2018-10-12 09:09:27 -07:00
Indri Muska 66d218c459 Added type definitions for @google/maps (#29625)
* Added type definitions for @google/maps

* Linting
2018-10-12 09:07:49 -07:00
Kacper Wiszczuk e9472683cb React native/ flatlist and sectionlist should have nullable types (#29686) 2018-10-12 09:03:30 -07:00
Matt Thompson b3b1373cf4 Add types for @sindresorhus/df npm packge (#29668)
* add types for @sindresorhus/df

* remove ,

* lint fixes

* CR feedback
2018-10-12 08:48:38 -07:00
Yash Kulshrestha 8683d5c066 added types for yup@0.26 (#29524)
* added types for yup@0.26

* added types for is-docker

* Revert "added types for is-docker"

This reverts commit 753dac6d555112d294caf27c931b1e8cbb79045c.
2018-10-12 08:46:13 -07:00
Dom Parfitt 2ec51b3f48 Added KeyMode type 2018-10-12 16:18:21 +01:00
Dom Parfitt 0fc3a29521 Added TypeNames type 2018-10-12 16:17:08 +01:00
Dom Parfitt 6167bf2f9c Added Engine type 2018-10-12 16:14:43 +01:00
Dom Parfitt 52afe22991 Re-ordered to match the API with sections 2018-10-12 16:12:21 +01:00
Dom Parfitt f5735f792e Updated names 2018-10-12 16:00:50 +01:00
Dom Parfitt 3c70f6db28 Formatting 2018-10-12 15:58:58 +01:00
Dom Parfitt 89691438b4 Added module declaration 2018-10-12 15:57:25 +01:00
Dom Parfitt bde0d4ee2b Fixed selection extension methods 2018-10-12 15:49:18 +01:00
Enzo Volkmann a4e838f79b Started adding type definitions 2018-10-12 16:24:33 +02:00
Dom Parfitt 7acb2d656f Updated definitions per API 2018-10-12 14:59:43 +01:00
Dom Parfitt 37a35d669c Updated some parameters to be optional 2018-10-12 13:59:08 +01:00
Dom Parfitt 55dc1a3e41 Added required TS version 2018-10-12 13:06:33 +01:00
Dom Parfitt cbbc39e185 Updated config 2018-10-12 13:04:34 +01:00
Dom Parfitt a07b85a68f Added more definitions 2018-10-12 13:02:14 +01:00
Dom Parfitt 8d088a3d2e Added dom lib 2018-10-12 13:01:59 +01:00
Dom Parfitt b64b97aaa6 Added more definitions 2018-10-12 11:59:11 +01:00
Dom Parfitt 0f692416dc Added top level exported function, options interface and Graphviz object interface 2018-10-12 11:17:01 +01:00
Eloy Durán a6aeaf1c06 Merge pull request #29667 from Esemesek/feat/0.57-accessibility
React-native Add new accessibility props
2018-10-12 12:14:30 +02:00
Alex Henry 9fe610b941 Update CometD 4.0.0 Types to Use Correct Shape for SubscriptionHandles (#29665)
* Modify subscription types to use the correct callbacks and subscription handle structures

* The listeners are actually the same subscription handles under the hood

* Not sure what this scope variable would look like, not seeing any clues in cometd. Going with any.
2018-10-11 16:00:17 -07:00
Miles Johnson e2f685d623 Add new @types/yargs-parser package (#29409)
* Add yargs-parser package.

* Add tests.

* More polish.

* Bump version.

* Switch to namespace.

* More work.

* Import yargs type.
2018-10-11 15:50:43 -07:00
Andy b7d0bad410 newrelic: Remove unnecessary namespace/interface (#29662) 2018-10-11 15:36:06 -07:00
Kacper Wiszczuk 2f80e7c890 React-native Add new accessibility props 2018-10-11 23:39:04 +02:00
rdoo b06ea9d0f0 osmosis: add more types (#29501) 2018-10-11 14:26:57 -07:00
Leonard Thieu 86fd332d85 [jquery] Remove removed parameters from EasingMethod. (#29663)
These were never available in jQuery 3.0+.
2018-10-11 14:26:08 -07:00
Christian Chown 7b99141476 Add types for react-native-huawei-protected-apps (#29664) 2018-10-11 14:25:22 -07:00
Dom Parfitt b967965151 Began defining functions 2018-10-11 21:22:31 +01:00
afholderman 8baf389b69 create AposConstructor Type, add beforeConstruct in ModuleOptions (#29445)
* create AposConstructor Type, add beforeConstruct in ModuleOptions

* Add all options to AposConstructor
2018-10-11 12:52:57 -07:00
zackzeno 52a012c362 [@types/history] History should be generic (#29024)
* Make exec / createRow methods generic

Saying they take/return Object is inaccurate, I wasn't sure if they should use object, any, or T extends object. I went with T extends object since it seems most correct.

* Update tests

* Update lint

* Replace generic with object from "Common Mistakes"

* Make History object generic

* Make History object generic

* Fix MemoryHistory definition, Fixed tested
2018-10-11 11:55:48 -07:00
Leonard Thieu abbce5d159 [jquery] Documentation improvements (#29658)
* [jquery] Fix code for example not rendering in VS Code autocomplete.

VS Code does not render the code block of the last example in the autocomplete tooltip (but does in the hover tooltip). This is fixed by adding an additional line terminated by a zero-width space. There doesn't appear to be an obvious pattern to what causes this and there may be other incidences of this bug in the declarations.

* [jquery] Improve formatting of documentation for unified signatures in tooltips.

Documentation for unified signatures is also unified. This means that documentation for a parameter will contain documentation from all the parameters that it's composed of. VS Code and WebStorm render this as one continuous line. This makes it confusing as it's not obvious which parts of documentation apply to a parameter.

To remedy this, parameters are formatted as a bulletted list. `<br>` tags are necessary to force line breaks in WebStorm. The list also cannot start on the first line. To force the first line break, the `<br>` tag is used for WebStorm. For VS Code, a non-empty body must follow the parameter name on its line. A Braille Pattern Blank could be used here but to provide a more intuitive and consistent experience, VS Code's format for rendering parameter info is mimicked instead. The `@` symbol must be encoded to prevent `@param` from being parsed as a JSDoc tag.

Note: VS Code renders the `<br>` tags literally and there does not appear to be a way to hide them.
2018-10-11 11:45:40 -07:00
Michal Grňo a38342addb [ascii2mathml] Export Options type (#29522)
* [ascii2mathml] Export Options type

Types should be exported.

* oops, forgot this

* one more try
2018-10-11 10:57:45 -07:00
Krishna Glick 124fddf61c Quill Options Fix to Match Documentation (#29545)
* Quill Options Fix to Match Documentation

https://quilljs.com/docs/api/#debug
Debug can take a string or boolean.

* Version Up

* CI Failed

* Adding test
2018-10-11 10:57:10 -07:00