Commit Graph
41214 Commits
Author SHA1 Message Date
Adam Vernon 4f4a60f269 Make loadAll and safeLoadAll iterators optional 2017-11-11 13:41:57 -08:00
Scott Durow 70c6954ab7 Added definitions and comments about Promise differences between Web and Unfied Client
Added getFormFactor, isOffline
2017-11-11 21:17:37 +00:00
Konrad Mattheis 0d5a1ef269 fix small issues 2017-11-11 20:47:50 +01:00
Konrad Mattheis f4b539d953 add new types for enigma.js
Signed-off-by: Konrad Mattheis <konrad.mattheis@akquinet.de>
2017-11-11 20:47:34 +01:00
Endel Dreyer 80c5769dcf update sinon version to 4.0 2017-11-11 17:22:00 -02:00
Endel Dreyer a0fafe2088 sinon: add missing methods on fake timers 2017-11-11 17:18:58 -02:00
Nathan Shively-Sanders 19950de901 Remove overloads for more accurate types; improve ShellString
ShellString still isn't used, though.
2017-11-11 10:23:25 -08:00
FaithForHumans 7339043a32 Forgotten comments... 2017-11-11 11:52:28 -06:00
FaithForHumans 3022724dfa Fixing line length issue 2017-11-11 11:46:44 -06:00
Robert Imig 16f784425b add header ts ver 2.4 2017-11-11 11:17:13 -06:00
Robert Imig 42edeb3326 fix lint issues 2017-11-11 11:11:41 -06:00
Shaun Luttin 66b805edf2 Update Resource.js typings 2017-11-11 08:48:48 -08:00
Evan Moran 1b691ac4e0 Merged branch master into master 2017-11-11 10:48:07 -05:00
Evan Moran 39eb487630 Initial dynogels changes. More to come 2017-11-11 10:47:23 -05:00
Scott Durow 37edb62242 Fixes tslint issues on old v8 definitions 2017-11-11 14:42:25 +00:00
Daniel Rosenwasser 1a051f0000 Merge pull request #21414 from ianfp/backbone-collection-clone
add Backbone.Collection.clone()
2017-11-11 01:06:17 -08:00
Daniel Rosenwasser 0c7a39592a Merge pull request #21087 from evanshortiss/express-formidable
update typings to extend request object with req.files and req.fields
2017-11-11 01:01:23 -08:00
Lutz Hoeren 48d0a436ab Merge branch 'master' into patch-1
* master: (356 commits)
  vuex-i18n: Fixes from code review (#21418)
  resourcejs: Increase TypeScript version to match mongoose
  leaflet.polylinemeasure: Add TypeScript version
  updated TS version to 2.3 for abel-webpack-plugin.
  crlf -> lf
  Make hljs a proper UMD module
  Use only major.minor for `highlight.js`.
  atom: fix several incorrect definitions.
  Update index.d.ts
  Node: `path.format` input properties are optional (#21003)
  New typings for fs-cson module (#21375)
  New typings for bunyan-format module (#21376)
  [chart.js] Add 'pie' to ChartType
  Update highlight.js version to latest (9.12.0)
  Fix type for highlight.js continuation argument
  Fixed errors after dts-gen
  New typings for module wtfnode
  fix getMeasure result fix: IGenericDimensionLayout
  change return Value of getDimension() from Dimension Object
  puppeteer: setCookie should be less strict
  ...

# Conflicts:
#	types/three/test/css3d/css3d_sprites.ts
#	types/three/test/webgl/webgl_materials.ts
2017-11-11 09:53:58 +01:00
Daniel Rosenwasser fd10f385ec Merge pull request #21429 from andypyrope/al-gulp-clean-dest
Add types for gulp-clean-dest@0.2
2017-11-11 00:51:41 -08:00
Kitson Kelly 2c7a2e0d63 Use generic with inspectedWindow.evel
Using `Object` causes a lot of assignability issues, instead, using a generic will make callbacks easier to type and use when using the `chrome.devtools.inspectedWindow.eval()`.
2017-11-11 08:51:40 +00:00
Daniel Rosenwasser 6f776ec065 Merge pull request #21427 from andypyrope/al-find
Create definitions for find@0.2
2017-11-11 00:51:09 -08:00
Evan Shortiss 02fc61f4ad adress reviewer notes 2017-11-10 23:47:03 -08:00
rcannon 01d17fcb39 [hystrixjs] Strengthen type hints
This adds type hints for builders, commands and their respective
callbacks functions out to seven arity, while leaving the nonspecific
versions for backwards compatibility. This allows
`commandFactory.getOrCreate()` to create fully type hinted callback
signatures, both for the builder and the command.

```js
const command = commandFactory.
  getOrCreate<ResponseType, Arg1Type, Arg2Type>();
```

I also replaced all references to `Q` with `PromiseLike`, and added the
missing `hystrix.promise.implementation` configuration option, which
allows changing the underlying promise implementation.

This allows things like:

```js
const Bluebird = require("bluebird");
HystrixConfig.init({
  "hystrix.promise.implementation": Bluebird
});
(command.execute() as Bluebird<any>).catch(() => true);
```

...although I couldn't figure out how to more elegantly express that
Bluebird type.

Also made the fallback signature match the implementation.
2017-11-10 23:29:21 -08:00
Andrey Lalev a2a63ece84 Add types for gulp-clean-dest@0.2 2017-11-11 08:42:24 +02:00
Andrey Lalev e128fc0753 Create definitions for find@0.2 2017-11-11 08:12:01 +02:00
Daniel Rosenwasser 8aac41c1e2 Merge pull request #21251 from weeco/master
Connection options for mongoose
2017-11-10 20:47:00 -08:00
Daniel Rosenwasser 87d7955d6f Merge pull request #21138 from MazeChaZer/ramda-min-max-return-type-polymorphism
Ramda: Enable return type polymorphism for min/max
2017-11-10 20:46:07 -08:00
Daniel Rosenwasser b48e2170ca Merge pull request #21247 from rportugal/graphql_execution_extensions
[GraphQL] Add "extensions" to "ExecutionResult"
2017-11-10 20:41:06 -08:00
Daniel Rosenwasser 0417b81986 Merge pull request #21104 from segayuu/request-cleanup-ignore-lint-errors
[@types/request] cleanup ignore lint errors
2017-11-10 20:40:24 -08:00
Daniel Rosenwasser 418fbe2a6d Merge pull request #21070 from mredbishop/patch-5
Get results are also writeable
2017-11-10 20:39:41 -08:00
Daniel Rosenwasser 6e498e68d9 Merge pull request #21036 from Pr1st0n/master
Fixed types for Underscore
2017-11-10 20:38:56 -08:00
Daniel Rosenwasser 02890b4dca Merge pull request #21046 from jimthedev/fix_enzyme_containsMatchingElement_react16
fix: enzyme -> allow contains fns to accept arrays (react 16)
2017-11-10 20:36:50 -08:00
Daniel Rosenwasser 67f4cca059 Merge pull request #20795 from aj-r/add-use-cases
Lodash: Add missing use cases
2017-11-10 18:10:33 -08:00
FaithForHumans 3369d2b9d2 Merge remote-tracking branch 'upstream/master' into reactstrap-exportProps
# Conflicts:
#	types/reactstrap/index.d.ts
#	types/reactstrap/lib/PopoverBody.d.ts
#	types/reactstrap/lib/PopoverHeader.d.ts
2017-11-10 19:57:19 -06:00
ZheyangSong 84a2f59302 Merge branch 'master' into recharts 2017-11-10 17:36:58 -08:00
FaithForHumans b0b139c633 Adding export defaults back. 2017-11-10 19:22:40 -06:00
FaithForHumans 64823637ec Merge branch 'reactstrap-exportProps' into upstream/master
# Conflicts:
#	types/reactstrap/index.d.ts
#	types/reactstrap/lib/Alert.d.ts
#	types/reactstrap/lib/Badge.d.ts
#	types/reactstrap/lib/Breadcrumb.d.ts
#	types/reactstrap/lib/BreadcrumbItem.d.ts
#	types/reactstrap/lib/Button.d.ts
#	types/reactstrap/lib/ButtonDropdown.d.ts
#	types/reactstrap/lib/ButtonGroup.d.ts
#	types/reactstrap/lib/ButtonToolbar.d.ts
#	types/reactstrap/lib/Card.d.ts
#	types/reactstrap/lib/CardBlock.d.ts
#	types/reactstrap/lib/CardBody.d.ts
#	types/reactstrap/lib/CardColumns.d.ts
#	types/reactstrap/lib/CardDeck.d.ts
#	types/reactstrap/lib/CardFooter.d.ts
#	types/reactstrap/lib/CardGroup.d.ts
#	types/reactstrap/lib/CardHeader.d.ts
#	types/reactstrap/lib/CardImg.d.ts
#	types/reactstrap/lib/CardImgOverlay.d.ts
#	types/reactstrap/lib/CardLink.d.ts
#	types/reactstrap/lib/CardSubtitle.d.ts
#	types/reactstrap/lib/CardText.d.ts
#	types/reactstrap/lib/CardTitle.d.ts
#	types/reactstrap/lib/Col.d.ts
#	types/reactstrap/lib/Collapse.d.ts
#	types/reactstrap/lib/Container.d.ts
#	types/reactstrap/lib/Dropdown.d.ts
#	types/reactstrap/lib/DropdownItem.d.ts
#	types/reactstrap/lib/DropdownMenu.d.ts
#	types/reactstrap/lib/DropdownToggle.d.ts
#	types/reactstrap/lib/Fade.d.ts
#	types/reactstrap/lib/Form.d.ts
#	types/reactstrap/lib/FormFeedback.d.ts
#	types/reactstrap/lib/FormGroup.d.ts
#	types/reactstrap/lib/FormText.d.ts
#	types/reactstrap/lib/Input.d.ts
#	types/reactstrap/lib/InputGroup.d.ts
#	types/reactstrap/lib/InputGroupAddon.d.ts
#	types/reactstrap/lib/InputGroupButton.d.ts
#	types/reactstrap/lib/Jumbotron.d.ts
#	types/reactstrap/lib/Label.d.ts
#	types/reactstrap/lib/ListGroup.d.ts
#	types/reactstrap/lib/ListGroupItem.d.ts
#	types/reactstrap/lib/ListGroupItemHeading.d.ts
#	types/reactstrap/lib/ListGroupItemText.d.ts
#	types/reactstrap/lib/Media.d.ts
#	types/reactstrap/lib/Modal.d.ts
#	types/reactstrap/lib/ModalBody.d.ts
#	types/reactstrap/lib/ModalFooter.d.ts
#	types/reactstrap/lib/ModalHeader.d.ts
#	types/reactstrap/lib/Nav.d.ts
#	types/reactstrap/lib/NavDropdown.d.ts
#	types/reactstrap/lib/NavItem.d.ts
#	types/reactstrap/lib/NavLink.d.ts
#	types/reactstrap/lib/Navbar.d.ts
#	types/reactstrap/lib/NavbarBrand.d.ts
#	types/reactstrap/lib/NavbarToggler.d.ts
#	types/reactstrap/lib/Pagination.d.ts
#	types/reactstrap/lib/PaginationItem.d.ts
#	types/reactstrap/lib/PaginationLink.d.ts
#	types/reactstrap/lib/Popover.d.ts
#	types/reactstrap/lib/PopoverContent.d.ts
#	types/reactstrap/lib/PopoverTitle.d.ts
#	types/reactstrap/lib/Progress.d.ts
#	types/reactstrap/lib/Row.d.ts
#	types/reactstrap/lib/TabContent.d.ts
#	types/reactstrap/lib/TabPane.d.ts
#	types/reactstrap/lib/Table.d.ts
#	types/reactstrap/lib/Tag.d.ts
#	types/reactstrap/lib/TetherContent.d.ts
#	types/reactstrap/lib/Tooltip.d.ts
2017-11-10 19:20:55 -06:00
Robert Imig 28dcaa438e update latlon-geohash types 2017-11-10 18:56:41 -06:00
Robert Imig 01606acb5e add strictFunctionTypes 2017-11-10 18:56:20 -06:00
Kewei Li effa795f85 making IPromise compatible with ES6 PromiseLike 2017-11-10 16:46:38 -08:00
Kewei Li 80ba4dd265 forgot a static method 2017-11-10 16:21:08 -08:00
Daniel Rosenwasser f0223cb3f7 Merge pull request #21327 from JamieMason/patch-1
Jest matchers can accept many arguments
2017-11-10 14:58:19 -08:00
Scott Durow b0e60f453d tslint fixes 2017-11-10 22:53:20 +00:00
Andy 0640727842 vuex-i18n: Fixes from code review (#21418) 2017-11-10 14:51:28 -08:00
Gaurav Lahoti 6cc3e8a4c4 Merge remote-tracking branch 'upstream/master' 2017-11-11 04:16:25 +05:30
Scott Durow 79823c8ad0 Correct V8 paths 2017-11-10 22:46:02 +00:00
Andy Hanson 46f5f574ff resourcejs: Increase TypeScript version to match mongoose 2017-11-10 14:41:39 -08:00
Andy Hanson f151bf8146 leaflet.polylinemeasure: Add TypeScript version 2017-11-10 14:37:59 -08:00
Scott Durow 631fadea3b tslint fixes 2017-11-10 22:28:19 +00:00
Ian Phillips 21d091f2d8 Change return type of Backbone.Collection.clone() to "this" 2017-11-10 14:23:33 -08:00