Commit Graph
51421 Commits
Author SHA1 Message Date
Liam McLoughlinandSheetal Nandi dfd2e2fcc2 Allow specific mangle options to be passed to gulp-uglify, fix incorrectly narrow type in uglify-js (#28085)
* Allow specific mangle options to be passed to gulp-uglify

* Set required TS version

* Update uglify-js v2 too

* Fix tests
2018-10-15 09:58:40 -07:00
Nathan BieremaandSheetal Nandi 36aa210efd [three] Update object materials to match documentation (#29518)
* Update accepted material types to match documentation

* Fix aframe-io-tests

* Fix SpriteCanvasMaterial

* Fix MeshFaceMaterial

* Fix SpriteMaterial

* Use tabs?!?

* Allow arrays

* Spaces

* Fix build

* Try again
2018-10-15 09:53:09 -07:00
Dave ParslowandSheetal Nandi efc53962f9 Fix return values for webdriver config hooks (#29594)
* Export the configuration interface
Added class for the server instead of interface
Added TS lint file and fixed errors

* Fix promise values for hooks

* Minor change
2018-10-15 09:50:52 -07:00
BRAINS YUMandSheetal Nandi 01eeef8ccf change window: any to window: Window in types/jschannel/index.d.ts; add "dom" to lib in types/jschannel/tsconfig.json; fix test in types/jschannel/jschannel-tests.ts (#29711)
add my username and github url to Definitions by section of types/jschannel/index.d.ts
2018-10-15 09:49:30 -07:00
lincolnandSheetal Nandi c799ce19bf update to 14.2 (#29720)
* fix bugs with types

* fixed type errors

* more type errors fixed

* fixed errors and added missing type definitions

* fix all typos and added all missing ones

* change inappropriate names

* Updated names to be more accurate.

* adds EnumDWT_ConvertMode to make compatible with the old enum

* update to 14.2

* add v13

* delete v13 for test not pass

* remove base64

* fixed conflict

* add back GetLicenseInfo

* change header version to 14.2
2018-10-15 09:48:39 -07:00
Jeremy ShoreandSheetal Nandi 8b63c2bc82 Fields option for AutoCompleteOptions was missing (#29718) 2018-10-15 09:47:34 -07:00
Zain AsgarandSheetal Nandi 2e1f8e6fc2 Add missing responseMode. (#29670)
Fix missing responseMode in Auth0LockAuthOption as changed in https://github.com/auth0/lock/pull/526
2018-10-15 09:46:24 -07:00
Bradley OdellandSheetal Nandi 5900cae442 Updated 'sharp' typings to version 0.21 (#29708) 2018-10-15 09:45:41 -07:00
JoshandSheetal Nandi ef5c36f5bd [react-infinite-scroll-component] Made endMessage prop optional (#29705)
* Made endMessage optional for 'react-infinite-scroll-component'

* added name to definitions attribuitons list
2018-10-15 09:44:21 -07:00
MusiKidandSheetal Nandi 3ad372f36c [mozilla-readability] remove deprecated code (Node global in tests and uri parameter) (#29701)
* [@types/mozilla-readability] Remove uri because it's not used anymore

* [@types/mozilla-readability] remove deprecated Node global in tests
2018-10-15 09:43:04 -07:00
Richard HonorandSheetal Nandi f962dce1d2 Refactor: conditional type for object/array/primitive, and deep immutable interface for nested objects (#29699) 2018-10-15 09:40:28 -07:00
Will NayesandSheetal Nandi 049be10668 [three] Make KeyframeTrack interpolation optional (#29692) 2018-10-15 09:38:10 -07:00
Mikael LirbankandSheetal Nandi d619879ce5 [react-onsenui] Add 'id', 'className', 'style' props to all components and add 'max', 'min', 'step' props to the Input component (#29580)
* [react-onsenui] Add 'id' prop to ListItem

* [react-onsenui] Add 'id' prop to all components

* [react-onsenui] Add 'max', 'min' and 'step' props to Input component

* [react-onsenui] Lint

* [react-onsenui] Add 'className' prop to all components

* Replace custom Optional type with Partial

* [react-onsenui] Add 'style' prop to all components
2018-10-15 09:37:10 -07:00
Jaff ParkerandSheetal Nandi f51705da30 [reactstrap] Fixed the error that was preventing from extending the Button component with custom props (#29595)
* Fixed the error that was preventing from extending the Button component with custom props

* Changed from All to more specific ButtonHTMLProps
2018-10-15 09:35:03 -07:00
Nathan BieremaandSheetal Nandi 3e3b7cf82e Update three-core.d.ts (#29695) 2018-10-15 09:30:35 -07:00
Daniel LuzandSheetal Nandi e35089cc40 Allow null/undefined embedded within numeric values (#29723)
Nulls are used create deliberate gaps in charts.
2018-10-15 09:29:55 -07:00
Daniel LuzandSheetal Nandi f89eb54b58 Declare enum values where applicable (#29722) 2018-10-15 09:28:27 -07:00
Robin van TienhovenandSheetal Nandi f1827c5eff Removed locale helper tag (#29729)
+ The tag is not from StripeJS but from a custom library. It causes StripeJS to give a warning on the key. So removing it to make sure no errors are thrown in the future.
2018-10-15 09:24:16 -07:00
Florian KellerandAndy a33c9becd1 fix: express-sitemap-xml takes objects (#29635) 2018-10-15 08:49:12 -07:00
AndyandGitHub 59dc9899d3 three: Fix lint (#29690) 2018-10-13 10:47:38 -07:00
Dave ThomasandAndy 0e3aae5bc6 Fix plugin related types for remarkable (#29530)
* @types/remarkable had some holes when it came to writing plugins. See the CHANGELOG.md for information

* @types/remarkable had some holes when it came to writing plugins. See the CHANGELOG.md for information

* refactor values to support derferred executions

* remove unneeded dependency

* fix catastrophic, world-ending newline that crept in

* fix tslint problems
2018-10-13 10:45:58 -07:00
Andy Hanson 65fcea8f3e three: Fix typo 2018-10-12 16:29:36 -07:00
Leonard ThieuandAndy 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 McCutchenandAndy 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 SoltaniandAndy 96f165b6d0 misc(joi): fix typo in Joi.object() definition (#29648) 2018-10-12 10:09:38 -07:00
Andrew MarcuseandAndy 42f021f35e [koa-pino-logger] add context variable used for manual logging (#29506) 2018-10-12 10:09:10 -07:00
Devan BeitelandAndy 44cae14975 Adds services property and scaffolds Services interface with working resourceStore. (#29661) 2018-10-12 10:08:40 -07:00
MuraliandAndy 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
KonstantinandAndy 79f404e22b Export types for react-sound package (#29671) 2018-10-12 10:05:49 -07:00
Christian RackersederandAndy 7315e28618 [pino-http] Add types (#29676) 2018-10-12 10:03:30 -07:00
CerberuserandAndy cbc37b17c0 plotly.js depends on older version of d3 (#29677) 2018-10-12 09:32:37 -07:00
Gustav BylundandAndy 802bbfcfdc Update tempy to v0.2.x (#29681) 2018-10-12 09:32:10 -07:00
Gustav BylundandAndy 1a39ab2687 Add new @types/mutexify package (#29683) 2018-10-12 09:31:33 -07:00
George BerezhnoyandAndy 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
Emily Marigold KlassenandAndy 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 MuskaandAndy 66d218c459 Added type definitions for @google/maps (#29625)
* Added type definitions for @google/maps

* Linting
2018-10-12 09:07:49 -07:00
Kacper WiszczukandAndy e9472683cb React native/ flatlist and sectionlist should have nullable types (#29686) 2018-10-12 09:03:30 -07:00
Matt ThompsonandAndy 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 KulshresthaandAndy 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
Eloy DuránandGitHub 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 HenryandAndy 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 JohnsonandWesley Wigham 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
AndyandGitHub 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
rdooandAndy b06ea9d0f0 osmosis: add more types (#29501) 2018-10-11 14:26:57 -07:00
Leonard ThieuandAndy 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 ChownandAndy 7b99141476 Add types for react-native-huawei-protected-apps (#29664) 2018-10-11 14:25:22 -07:00
afholdermanandWesley Wigham 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
zackzenoandAndy 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 ThieuandAndy 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