Merge 'master' to 'types-2.0' one last time (#13277)

* Added missing nconf.required(keys) and Provider.required(keys) methods.

* update to 4.7.0, add querycursor.map() and schema.loadClass()

* add error callback for schema.post()

* Added playsInline property as introduced in React 15.3.2

* Add definitions for redux-localstorage and main enhancers (#12580)

* Add definitions for redux-localstorage

* Add definitions for redux-localstorage-filter enhancer

* Add definitions for redux-localstorage-debounce enhancer

* csurf.d.ts relying on CookieOptions from express

It seems express no longer exports `CookieOptions`, we need to import `express-serve-static-core` instead.

* Added height property to IDialogOptions

* versionKey type

* kendo-ui: mark toString() params as optional (#13164)

These function parameters are optional according to the upstream
docs, e.g.
  http://docs.telerik.com/kendo-ui/api/javascript/geometry/matrix#methods-toString

* Ensure that zoneAbbr and zoneName are expected type (string).

* Update moment-timezone.d.ts

* Fix syntax error in interact.d.ts

A parameter name was missing making TypeScript compiler fail.

* adding type for move to fs-extra

* fixing signature of sinon/alwaysReturned based on the http://sinonjs.org/docs/#sinonspy

* increasing version number

* returning back the version number to the origin number

* reversing changes in fs-extra

* Request that PRs have meaningful titles

* Improvement to existing nouislider type definition. (#12033)

* updated nouislider version and added a lot of tests out of the documentation

* corrected intentation

* corrected untyped variables, issue raised by Travis

* incorporated feedback on pull request

* #13037 (#13039)

* #13037

* pointToLayer first argument type fixed
GeoJSON.Point to GeoJSON.Feature<GeoJSON.Point>

* Missing cc in sendgrid packate (#13063)

The sendgrid package was missing the `cc` field, and the `bcc` field had a too generic type (`any` instead of `string[]`, as used on the `setCcs` and `setBccs` below.

* Fixes #12414 (#13076)

* Fixes #12414

* Make applicationServerKey optional

* added ariaLabelledBy and ariaDescribedBy to IModalSettings (#13004)

* Ceymard leaflet (#13007)

* replaced all overrides of LatLng by a single use of LatLngExpression when appropriate

* Changed Point, PointTuple overrides to use PointExpression instead

* Changet use of LatLngBounds and Bounds in general to use the Expression variant instead of having several overrides

* add ElasticSeach 5.x API function for deleteByQuery (#13014)

* add ElasticSeach 5.x API function for deleteByQuery

* use searchParams for deleteByQuery, as theses resemble the documentation.

* add DeleteByQueryParams parameter type.

* add deleteByQuery to tests.

* Make `less` render options optional (#13078)

* Added semver

* Updated gravity definition. (#13088)

* Full Redis client options (#13108)

* Added missing return type to on() methods. (#13082)

* Update react-native.0.29.d.ts (#13118)

drawerPosition is of type `number`
Android DrawerConsts.DrawerPosition.Left is equivalent to DrawerLayoutAndroid.positions.Left
Android DrawerConsts.DrawerPosition.Right is equivalent to DrawerLayoutAndroid.positions.Right

* Upgrade to match braintree-web 3.6.1 (#13098)

* Update to match braintree-web version 3.3.0

* Upgrade to match Braintree-web v3.5.0

* upgrade to match braintree-web 3.6.1

add US bank class

* Fix missing parameters from svg append (#13119)

* Add parameter declarations to append()

* Made insertFirst parameter optional

* Correct missing ‘auto’ option of GridList’s cellHeight (#13094)

* Add new Angular 1.5.9 methods to $compileProvider  (#13096)

* Add new Angular 1.5.9 methods to $compileProvider

Add new methods available in Angular 1.5.9: onChangesTtl(), commentDirectivesEnabled() and cssClassDirectivesEnabled()

* Add JSDoc to Angular 1.59 new methods of $compileProvider

JSDoc for onChangesTtl(), commentDirectivesEnabled() and cssClassDirectivesEnabled() methods.

* Expand $compileProvider JSDoc

Urls added to JSDoc of Angular 1.5.9 new methods .

* Changed type of injectedScript property to string (#13120)

The injectedScript property should take string value with script code, not the bool flag as in current version

* Use unions for openlayers string enums (#13134)

* Update google.maps.MapPane interface (#13122)

* Removing myself (AlStar01) as definition author from angular-material.d.ts (#13125)

* Clarify that notNeededPackages.json is just for packages formerly on DefinitelyTyped (#13156)

* Update Parsimmon typings (#13146)

* Update AmCharts.d.ts (#13170)

* knex: add MySqlConnectionConfig, tests (#13161)

* knex: add MySqlConnectionConfig, tests

* knex: add types for MySqlConnectionConfig queryFormat params

* Add note in readme about tsjs-lib-generator (#13210)

* Remove redux-localstorage packages; added by #13115 instead
This commit is contained in:
Andy
2016-12-12 11:00:28 -08:00
committed by GitHub
parent da815a45df
commit c968762595
39 changed files with 1287 additions and 293 deletions

28
openlayers/index.d.ts vendored
View File

@@ -827,7 +827,7 @@ declare module ol {
* `'nautical'`, `'metric'`, `'us'`.
* @enum {string}
*/
type Units = string;
type Units = "degrees" | "imperial" | "nautical" | "metric" | "us";
}
/**
@@ -2535,7 +2535,7 @@ declare module ol {
* IGC altitude/z. One of 'barometric', 'gps', 'none'.
* @enum {string}
*/
type IGCZ = string;
type IGCZ = "barometric" | "gps" | "none";
/**
* @classdesc
@@ -3608,7 +3608,7 @@ declare module ol {
* `'GeometryCollection'`, `'Circle'`.
* @enum {string}
*/
type GeometryType = string;
type GeometryType = "Point" | "LineString" | "LinearRing" | "Polygon" | "MultiPoint" | "MultiLineString" | "MultiPolygon" | "GeometryCollection" | "Circle";
/**
* The coordinate layout for geometries, indicating whether a 3rd or 4th z ('Z')
@@ -3616,7 +3616,7 @@ declare module ol {
* `'XYZ'`, `'XYM'`, `'XYZM'`.
* @enum {string}
*/
type GeometryLayout = string;
type GeometryLayout = "XY" | "XYZ" | "XYM" | "XYZM";
/**
* @classdesc
@@ -6417,7 +6417,7 @@ declare module ol {
* even during animations, but slower performance than the other options.
* @api
*/
type VectorTileRenderType = string;
type VectorTileRenderType = "image" | "hybrid" | "vector";
/**
* @classdesc
@@ -7386,7 +7386,7 @@ declare module ol {
* `'top-center'`, `'top-right'`
* @enum {string}
*/
type OverlayPositioning = string;
type OverlayPositioning = "bottom-left" | "bottom-center" | "bottom-right" | "center-left" | "center-center" | "center-right" | "top-left" | "top-center" | "top-right";
/**
* @classdesc
@@ -7608,7 +7608,7 @@ declare module ol {
* `'us-ft'`.
* @enum {string}
*/
type Units = string;
type Units = "degress" | "ft" | "m" | "pixels" | "tile-pixels" | "us-ft";
/**
* Meters per unit lookup table.
@@ -8170,13 +8170,13 @@ declare module ol {
* Available renderers: `'canvas'`, `'dom'` or `'webgl'`.
* @enum {string}
*/
type RendererType = string;
type RendererType = "canvas" | "dom" | "webgl";
/**
* Raster operation type. Supported values are `'pixel'` and `'image'`.
* @enum {string}
*/
type RasterOperationType = string;
type RasterOperationType = "pixel" | "image";
/**
* @namespace ol.source
@@ -8825,7 +8825,7 @@ declare module ol {
* State of the source, one of 'undefined', 'loading', 'ready' or 'error'.
* @enum {string}
*/
type State = string;
type State = "undefined" | "loading" | "ready" | "error";
/**
* @classdesc
@@ -9606,7 +9606,7 @@ declare module ol {
* specification that OpenLayers can make use of.
* @enum {string}
*/
type ServerType = string;
type ServerType = "carmentaserver" | "geoserver" | "mapserver" | "qgis";
}
@@ -9614,7 +9614,7 @@ declare module ol {
* Request encoding. One of 'KVP', 'REST'.
* @enum {string}
*/
type WMTSRequestEncoding = string;
type WMTSRequestEncoding = "KVP" | "REST";
/**
* @classdesc
@@ -10071,13 +10071,13 @@ declare module ol {
* Icon anchor units. One of 'fraction', 'pixels'.
* @enum {string}
*/
type IconAnchorUnits = string;
type IconAnchorUnits = "fraction" | "pixels";
/**
* Icon origin. One of 'bottom-left', 'bottom-right', 'top-left', 'top-right'.
* @enum {string}
*/
type IconOrigin = string;
type IconOrigin = "bottom-left" | "bottom-right" | "top-left" | "top-right";
/**
* @classdesc