Commit Graph

29443 Commits

Author SHA1 Message Date
Thomas Deinhamer
e3536dddfa Update definitions header for browser-sync 2017-05-08 23:55:55 +02:00
Thomas Deinhamer
3dd7e9e4ca Add cors option 2017-05-08 23:50:48 +02:00
Eloy Durán
46ad6f9833 Merge pull request #16371 from dxiao/patch-1
React-native: export ImageURISource type
2017-05-07 23:35:47 +02:00
David Xiao
0307072de4 React-native: export ImageURISource
Useful for passing around the struct before giving to to the \<Image> component.
2017-05-06 15:44:55 -07:00
Michael Zlatkovsky
d0dab167cd Remove "removeAll" method on event handlers (#16363)
The Office.js team (of which I am a member) has decided to remove this method.  It will still exist in silent deprecated mode, but we will no longer add new events that have a "removeAll", and we want to strongly discourage this method's existence.  Since this was only added very recently, we believe that it's best to just remove it outright, rather than add special notices about its deprecation, etc.  The likely number of folks using it today is close to 0.
2017-05-05 17:51:11 -07:00
Matt Bierner
868b7fa0e1 Fix Ramda for Global 'R' Symbol (#16362)
* Fix Ramda  for Global 'R' Symbol

**bug**
The Ramda global `R` symbol is not defined. This means that Ramda must be used as module. This breaks intellisense for some JavaScript project setups in VSCode

**fix**
Declare a 'ramda' module. This preserves the global `R` symbol

* Use export as instead
2017-05-05 16:42:32 -07:00
Yui
1d19461b6e Update state type parameter (#16361) 2017-05-05 16:36:51 -07:00
Joshua Netterfield
749652183e Types for react-monaco-editor@0.8 (#16360) 2017-05-05 16:24:27 -07:00
Adnan Chowdhury
46eb9a8bfe Ember - Add additional type defs for RSVP namespace (#16359)
* add additional type defs for RSVP

* satisfy linting
2017-05-05 16:23:05 -07:00
Evgeny
c49e2aa150 [sequelize] add where option to DefineIndexesOptions (#16357) 2017-05-05 16:22:36 -07:00
Daryl LaBar
da3ab04e72 Defined interfaces for Properties and Fixed Linting issues (#16355)
* Updated XrmStatic Properties Page, Utility, and Panel  to match the pattern that Mobil was doing, and be defined as interfaces.  This also makes allows for variables to easily be tyepd i.e. var p: Xrm.Page.

Also retyped getInitalValue for booleans and OptionsetValues to be their correct respective types.

* Fixed Linitng issues and fixed header so it could be parsed by the DT Bot

* Fixed Other Lint-ing Issues.  Not sure what to do about the header being unparsable.  Added commas, maybe that will help?
2017-05-05 16:21:56 -07:00
ikokostya
24f2ff899f @types/node: Port dns.resolve* changes #16320 to node.js 4, 6 (#16350)
* @types/node: Port dns.resolve* changes #16320 to node.js 4, 6

* review fixes
2017-05-05 16:20:41 -07:00
Michael
d8b7da2042 Fix for getTypeMap() return type in graphql schema.d.ts. (#16343) 2017-05-05 16:20:09 -07:00
DaIgeb
fe1b612ef0 Allow component props for withRouter (#16339) 2017-05-05 10:38:55 -07:00
DaIgeb
585178525c Update SwitchProps to support typescript 2.3 (#16340)
SwitchProps.children is too strict for projects using typescript 2.3.
With typescript 2.3 the children could be made mandatory, but this will
break backwards compatibility with any ts 2.2 user
2017-05-05 10:11:16 -07:00
yuche
221fdba61b add extraData prop to FlatList and SectionList (#16338)
* add `extraData` prop to FlatList and SectionList

see:
https://facebook.github.io/react-native/docs/sectionlist.html#props
https://facebook.github.io/react-native/docs/flatlist.html#props

* remove extra space
2017-05-05 10:11:00 -07:00
Evgeny
942dcf66e2 [sequelize] add force option for TruncateOptions (#16353) 2017-05-05 09:55:15 -07:00
delphinus
73bcc6d987 [backbone.marionette] Add lacked methods to marionette view (#16348)
* Add lacked / fix wrong definition of methods

* Add tests for added methods⏎
2017-05-05 09:36:26 -07:00
rasmusvhansen
dd69d6de4e class_ argument is optional in removeLineClass (#16347) 2017-05-05 09:36:05 -07:00
Daniel
b57178eb88 material-ui: Updated width prop of drawer to be compliant with spec (#16342)
* material-ui: Updated width prop of drawer to be compliant with spec

* update header
2017-05-05 09:32:09 -07:00
Carl Winkler
ef8ff1dff4 Add support and tests for Dockerode promise API (#16337) 2017-05-05 09:01:16 -07:00
Kacper Polak
1b926c986b Add sql property to Error interface (#16336)
Based on commit: 
7549c734e5
2017-05-05 08:59:58 -07:00
Periklis Tsirakidis
5fc2f8c670 emscripten: update module api to 1.37.10 (#16310)
* Add type aliases for imports and exports

* Update emscripten Module API to 1.37.10
2017-05-05 08:59:06 -07:00
AJ Richardson
c4a2a2a976 lodash: callback parameters should not be optional (#11516) (#15895) 2017-05-05 08:55:48 -07:00
Takeshi Kurosawa
11b7768836 diff: add support options parameter of diffLines (#16333)
* diff: add support options parameter of diffLines

The options parameter is described at https://github.com/kpdecker/jsdiff/blob/master/README.md

* diff: add tslint.json and fix lint issues
2017-05-05 08:54:50 -07:00
Jayden Zhao
fef536fb65 Add types/react-native-goby/* (#16312)
* add react-native-goby

* add react-native-goby

* add react-native-goby

* remove the Promise define of types/react-native-goby
2017-05-05 08:53:29 -07:00
Yui
29e0d7f678 Merge pull request #16332 from DefinitelyTyped/master-updateReactRouter
[React-Router] Update library files with fix when JSX.children get typecheck
2017-05-04 21:02:03 -07:00
apollocoder
407cace6b4 Update index.d.ts (#16119)
Added missing restore option
2017-05-04 18:19:11 -07:00
Maxim Kulikov
c223230018 jquery: allow propertyNames array to css() (#16093) 2017-05-04 18:18:34 -07:00
Jelle Slowack
3437921207 fabric: callback and options object is optional in setSrc method (#16101)
* callback and options object is optional in setSrc method

* run tsc fixes, remove deprecated internal modules and HtmlInputElement casts
2017-05-04 18:18:01 -07:00
Mustafa Kuscu
bcf1928b97 update leaflet fullscreen type definitons (#16106)
L.Control.Fullscreen was not found.
2017-05-04 18:16:03 -07:00
Thiago de Arruda
f3b9cb6f51 Split levelup/leveldown into separate declarations (#16062)
* Split levelup/leveldown into separate declarations

Also make some changes to allow importing levelup with ES6 module syntax.

* Adapt level-sublevel to the latest changes in levelup
2017-05-04 18:14:45 -07:00
DingWeizhe
76c82115ad [fluent-ffmpeg] support es6 import syntax & conform to tdslint (#16036)
* support es6 import syntax

* support es6 import syntax

* add author

* test import syntax to es6

* add tslint config

* tslint: Interface has only a call signature

* tslint: ban-types

* tslint: no-misused-new

* tslint: semicolon

* tslint: TypeScript compile error: Cannot find name 'object'.

* tslint: unified-signatures

* tslint: disable unified-signatures, parameter name is different

* tslint: object-literal-shorthand

* tslint: one-variable-per-declaration

* tslint: dt-header

* tslint: no-single-declare-module

* type definitions for images 2.2
2017-05-04 18:13:03 -07:00
Brian Houser
3eb6786902 react-intl: update IntlProvider.Props interface (#15977)
* update IntlProvider.Props interface

* updated react-intl "Definitions by"
2017-05-04 18:10:22 -07:00
Sam Baxter
cb8b7aeb33 Fix function param type definitions for babel-types (#15973) 2017-05-04 18:09:02 -07:00
Martin Deiss
c26fe793b8 Added missing customPATCH method (#15945) 2017-05-04 18:08:32 -07:00
Bas Timmer
5f27bc2094 color: Add color model conversions (#15940) 2017-05-04 18:08:20 -07:00
cafeburger
5eb4882512 Update index.d.ts (#15937)
add 'hosted_domain' property in gapi.client.init
2017-05-04 18:08:08 -07:00
Gyusun Yeom
208f0dd6a6 upate types of watch for 1.0 (#15931)
* Update types of watch for 1.0

* Specify type of File & Options.filter

* fix tslint.json - use dtslint/dt.json

* fix lint error
2017-05-04 18:07:52 -07:00
Denis Vishniakov
06303669ae Fixed missing request.OAuthOptions.transport_method (#15927) 2017-05-04 18:07:03 -07:00
Giedrius Grabauskas
39cf359166 Recreated types for flux@3.2 (#15800)
* Recreated types for flux@3.1.2.

* Added backward compatibility with implementation. Added overload for create method.

* Fixed tslint error in tests.

* Added one more test for old implementation.

* Added more gerenrics in create method. Updated tests.

* Fixed errors.

* Typescript version changed to 2.2.

* Updated `createFunctional` return.
2017-05-04 18:04:37 -07:00
Lucas Neiva
9fbba5a517 Add babel-types NullLiteral type aliases (#16066) 2017-05-04 18:01:48 -07:00
Nicolas Voigt
34d30931f0 Updated bonjour types (were not working on typescript 2.2) (#16075)
* new typings

* updated types into a namespace to allow the default function to be fired

* typo on findOne

* DT tests passed
2017-05-04 18:01:24 -07:00
Ryan Riley
3426ce7a27 Add missing options and further refine parameter types for Handsontable 3.1.2 (#16078)
* Add missing members and parameter types

* Update original setDataAtCell overload

* afterChange oldVal should be typed as any

* Fix lint errors

* Correctly type the prop value in the afterChange parameter
2017-05-04 17:58:28 -07:00
Youngrok Kim
c272249810 Fix incorrect signature of createPath and createHref (#16063) (#16084) 2017-05-04 17:56:40 -07:00
kwiateusz
e695fa67f6 Update definitions of owlcarousel (#16088)
In lib responsiveBaseWidth is wrapped by JQuery
2017-05-04 17:56:16 -07:00
robin labat
ca336951d0 Correction of @types/js-schema for the import error: (#16090)
'Cannot invoke an expression whose type lacks a call signature. Type 'typeof 'js-schema'' has no compatible call signatures.'

while importing with 'import * as schema from 'js-schema''

The previous import strategie ('import {default as schema} from 'js-schema') where raising an error after compilation.
2017-05-04 17:55:53 -07:00
Parambir Singh
67b6964441 Add a few missing type definitions for node.js zlib module (#16311)
* Update index.d.ts

Add overloaded methods for zlib module that take a ZlibOptions parameter along with a callback.

* Add tests for new methods added to node’s zlib module definition.
2017-05-04 17:44:38 -07:00
ikokostya
65989c0d61 @types/node: update dns.resolve* declarations (#16320)
* @types/node: update dns.resolve* declarations

Fixes: #11151

* review fixes
2017-05-04 17:44:11 -07:00
Brian Love
d41436966c @google-cloud/storage definitions (#15155)
* @google-cloud/storage definitions

* Renamed [at]google-cloud to google-cloud and exposed API classes and interfaces at the top level

* Renamed to google-cloud__storage as per request.

* Renamed and moved into types directory.
* Removed individual files and consolidated all definitions into
index.d.ts file.
* Using <code>declare module</code> to create a single
<code>@google-cloud/storage</code> module that imports each individual
module:
** <code>@google-cloud/storage/bucket</code>
** <code>@google-cloud/storage/channel</code>
** <code>@google-cloud/storage/file</code>
** <code>@google-cloud/storage/storage</code>
* Updated README.

* Remove custom README.

* Removed redundant JSDoc comments.

* Fixed errors for passing nom test.
2017-05-04 17:32:51 -07:00