Commit Graph
20675 Commits
Author SHA1 Message Date
Peter Burns 8ff92a89b8 Use properly modular estree in downstream typings 2016-08-03 18:22:42 -07:00
Ryan Cavanaugh 9773821981 Merge pull request #10425 from DefinitelyTyped/node-schedule_self_reference
Remove unnecessary self-reference from node-schedule
2016-08-02 09:56:12 -07:00
Ryan Cavanaugh fc5e219c82 Merge pull request #10408 from DefinitelyTyped/use-strict-jquery-ts2-this
Updated jQuery - Add typing for function 'this'
2016-08-02 09:55:54 -07:00
Andy Hanson 50eec093d5 Remove unnecessary self-reference from node-schedule 2016-08-02 08:51:24 -07:00
Peter Burns 9a600cd07c Use features from typescript 2.0 in ESTree (#10305)
* Use features from typescript 2.0 in estree

Enables narrowing of types based on doing string literal comparisons with
the type field. This makes estree much more natural to use, with fewer casts
needed.

* Consistently use Array<T> over T[]

* Whitespace tweak
2016-08-03 00:24:55 +09:00
Raghav Katyal 9a68c68bf3 Merge pull request #10411 from rakatyal/raghav/case
Fixing casing error
2016-08-01 17:00:00 -07:00
Raghav Katyal abb2742676 Merge pull request #10405 from RyanCavanaugh/types-2.0
Definition fixes for 2.0
2016-08-01 16:59:28 -07:00
Raghav Katyal 13f8a3bb8f Fixing casing error 2016-08-01 16:34:46 -07:00
Andy Hanson b2be83938c Fix failing test 2016-08-01 13:06:54 -07:00
Ryan Cavanaugh 58f432a688 Rename type namespaces to remove conflict with enum 2016-08-01 13:00:12 -07:00
Ryan Cavanaugh 0db3cdf626 Make promise type more optimistic 2016-08-01 12:47:14 -07:00
Ryan Cavanaugh 3a4d3042b5 Work around TypeScript#10073 2016-08-01 12:23:40 -07:00
Ryan Cavanaugh 31afb6ef0b Remove incorrect API usage? 2016-08-01 12:18:23 -07:00
Ryan Cavanaugh 2b6518baf8 Update reference directive 2016-08-01 12:17:19 -07:00
Ryan Cavanaugh 2a8388dae5 Remove incorrect API usage? 2016-08-01 12:16:12 -07:00
Ryan Cavanaugh 14e3ddc9a9 Remove incorrect declaration 2016-08-01 12:13:44 -07:00
Ryan Cavanaugh aa1fffa138 Remove duplicated function names 2016-08-01 12:12:47 -07:00
Ryan Cavanaugh e2363f7879 Work around TypeScript#10073 2016-08-01 12:11:57 -07:00
Ryan Cavanaugh e4f0ef9a02 Work around TypeScript#10073 2016-08-01 12:08:50 -07:00
Ryan Cavanaugh bcf8635d62 Merge remote-tracking branch 'upstream/types-2.0' into types-2.0 2016-08-01 11:50:40 -07:00
Andy Hanson faba787672 Merge branch 'jquery-ts2-this' of https://github.com/use-strict/DefinitelyTyped into use-strict-jquery-ts2-this 2016-08-01 11:43:25 -07:00
Ryan Cavanaugh 61692f7169 Work around issue in yeoman-generator 2016-08-01 11:14:48 -07:00
Ryan Cavanaugh 0cccb7f2b8 Fix breaking change from Microsoft/TypeScript#10039 2016-07-30 07:59:46 -07:00
Yui 2ef5e43345 [Types-2.0] Merge master 07/29 round2 (#10372)
* Including typings for globalize-compiler.

* Updating typings for globalize-compiler to use the correct AST type.

* Changed AtomicBlockUtils and KeyBindingUtil from interfaces to classes with static functions (#10324)

* Fixing a few minor issues in webpack-stream. (#10253)

* Document changes in 0.28 and 0.29 in React Native (#10309)

* RN: Widen limit of refreshControl

* RN: Update NavigationExperimental to 0.28

* RN: Define new method from 0.28

* RN: Promisify requestPermissions per 0.28

* RN: Remove onNavigate method

See: https://github.com/facebook/react-native/commit/fb0007d85323909ab652bf97166744fa7e17daab#diff-04c37ff76f85aea35e8475617539b75fR94

* RN: Add onNavigateBack method

See: https://github.com/facebook/react-native/commit/fb0007d85323909ab652bf97166744fa7e17daab#diff-04c37ff76f85aea35e8475617539b75fR94

* RN: Deprecate StatusBarIOS

* RN: Update StyleSheet API per 0.29

* RN: Define KeyboardAvoidingView added in 0.29

* RN: Define saveToCameraRoll added in 0.29

* RN: Define cancellable from InteractionManager

* RN: Add new possible values of flexDirection

* RN: Define lineBreakMode

* RN: Allow zIndex prop

* RN: Allow dimension limits

* RN: Specify type of refreshControl

* RN: Mark properties as optional

* RN: Clarify parameter naming

* RN: Mark optional property as optional

* RN: Definite explicit ref type

* RN: Restore StyleSheet.create to restore compatibility

* Added Headers constructor options to whatwg-fetch (#10313)

* Impl: Updated definitions for oracledb (#10323)

* Update select2 to have selectOnClose option (#10326)

Option documented at https://select2.github.io/options.html#can-i-select-the-highlighted-result-when-the-dropdown-is-closed

* Added definition for react-file-input React component (#10325)

* Added definition for react-file-input React component

* Added newline at end of file

* Added definitions for the react-file-reader-input react component. (#10327)

* Sleep (#10333)

* Add Electron specific versions to process.versions (#10320)

* Fix uuid.js definitions. (#10318)

* protobufjs: updated Message interfaces (#10198)

* protobufjs: updated Message interfaces

* Added ProtoBuf.Util interface

* Fixed load functions of ProtoBuf namespace

Base on the protobuf.js API docmentation.

* use {} instead of Object

Fixed according to PR commit note.

* Multiple minor fixes (#10339)

* better typing of onShouldStartLoadWithRequest in WebViewPropertiesIOS

* Fixes to WebViewProperties

* Missing methods in Navigator

* Fix of Platform.select()

* added support for interfacing with native-modules

* added support for interfacing with native-modules

* added dev variable

* Update to header notes

* Examples: alternative styles declaration

* webcomponents.js: Add typings for Element.createShadowRoot (#10330)

* webcomponents.js: Add typings for Element.createShadowRoot

createShadowRoot is deprecated in the official Shadow DOM spec,
but is the way to attach a shadow root in the current released
version of webcomponents.js.

* webcomponents.js: remove spurious extra line

* webcomponents.js: remove readonly modifier

Not supported until TS2.

* webcomponents.js: add Element.shadowRoot property

* Adding a couple missing highcharts properites (#10340)

* Adding a couple missing highcharts properites

* Fixing indentation

* Indentation

* Update to Electron 1.3.1 (#10336)

* Update to Electron 1.3.1

* Update editing command docs

* Fix argument types

* add definition of js-priority-queue (#10347)

* Update to v1.13.0 and bug fix: sanitize-html expects tag attributes to be called attribs. (#10360)

* updated vue-resource (#10349)

* Updated to match docs for version 0.9.3 (latest as of 07/19/16)

This is very important because response.data now returns raw data instead of a json object, you need to use res.json() to get an object representation of the response. .json() was missing from the typings.

Aditionally modified a few breaking changes to match the documentation at:  https://github.com/vuejs/vue-resource/blob/master/docs/http.md

* Added tests for json, blob, and text

* fixed version number

* Added basic type definitions for react-relay (#10353)

* Added basic type definitions for react-relay

* Fixed tests

* fix formatting

* Fix application insights JS module initialization (#10364)

* Added new type definition for gulp-help-doc (#10366)

* Added gulp-help-doc definitions

* Fixed declaration and tests

* Fixed declaration and tests

* Definition fixed

* Declaration fixed

* added LogisticRegressionClassifier definitions (#10307)

* Add definitions for utf8 module (#10329)

* added utf8 module typings

added utf8 module typings

* added tests for utf8

added tests for utf8

* moved import to es6 compatible

moved import to es6 compatible

* updated var to const

updated var to const

* removed interface and moved into module

removed interface and moved into module

* update const with let as it can be changed

update const with let as it can be changed
2016-07-30 05:06:40 -07:00
Michael Matloob 33f79e40b1 webcomponents.js: Add typings for Shadow DOM (#10345) 2016-07-29 21:13:29 -07:00
Yui e41c10f1a3 [Types-2.0] Merge master 07/29 (#10365)
* Including typings for globalize-compiler.

* Updating typings for globalize-compiler to use the correct AST type.

* Changed AtomicBlockUtils and KeyBindingUtil from interfaces to classes with static functions (#10324)

* Fixing a few minor issues in webpack-stream. (#10253)

* Document changes in 0.28 and 0.29 in React Native (#10309)

* RN: Widen limit of refreshControl

* RN: Update NavigationExperimental to 0.28

* RN: Define new method from 0.28

* RN: Promisify requestPermissions per 0.28

* RN: Remove onNavigate method

See: https://github.com/facebook/react-native/commit/fb0007d85323909ab652bf97166744fa7e17daab#diff-04c37ff76f85aea35e8475617539b75fR94

* RN: Add onNavigateBack method

See: https://github.com/facebook/react-native/commit/fb0007d85323909ab652bf97166744fa7e17daab#diff-04c37ff76f85aea35e8475617539b75fR94

* RN: Deprecate StatusBarIOS

* RN: Update StyleSheet API per 0.29

* RN: Define KeyboardAvoidingView added in 0.29

* RN: Define saveToCameraRoll added in 0.29

* RN: Define cancellable from InteractionManager

* RN: Add new possible values of flexDirection

* RN: Define lineBreakMode

* RN: Allow zIndex prop

* RN: Allow dimension limits

* RN: Specify type of refreshControl

* RN: Mark properties as optional

* RN: Clarify parameter naming

* RN: Mark optional property as optional

* RN: Definite explicit ref type

* RN: Restore StyleSheet.create to restore compatibility

* Added Headers constructor options to whatwg-fetch (#10313)

* Impl: Updated definitions for oracledb (#10323)

* Update select2 to have selectOnClose option (#10326)

Option documented at https://select2.github.io/options.html#can-i-select-the-highlighted-result-when-the-dropdown-is-closed

* Added definition for react-file-input React component (#10325)

* Added definition for react-file-input React component

* Added newline at end of file

* Added definitions for the react-file-reader-input react component. (#10327)

* Sleep (#10333)

* Add Electron specific versions to process.versions (#10320)

* Fix uuid.js definitions. (#10318)

* protobufjs: updated Message interfaces (#10198)

* protobufjs: updated Message interfaces

* Added ProtoBuf.Util interface

* Fixed load functions of ProtoBuf namespace

Base on the protobuf.js API docmentation.

* use {} instead of Object

Fixed according to PR commit note.

* Multiple minor fixes (#10339)

* better typing of onShouldStartLoadWithRequest in WebViewPropertiesIOS

* Fixes to WebViewProperties

* Missing methods in Navigator

* Fix of Platform.select()

* added support for interfacing with native-modules

* added support for interfacing with native-modules

* added dev variable

* Update to header notes

* Examples: alternative styles declaration

* webcomponents.js: Add typings for Element.createShadowRoot (#10330)

* webcomponents.js: Add typings for Element.createShadowRoot

createShadowRoot is deprecated in the official Shadow DOM spec,
but is the way to attach a shadow root in the current released
version of webcomponents.js.

* webcomponents.js: remove spurious extra line

* webcomponents.js: remove readonly modifier

Not supported until TS2.

* webcomponents.js: add Element.shadowRoot property

* Adding a couple missing highcharts properites (#10340)

* Adding a couple missing highcharts properites

* Fixing indentation

* Indentation

* Update to Electron 1.3.1 (#10336)

* Update to Electron 1.3.1

* Update editing command docs

* Fix argument types

* add definition of js-priority-queue (#10347)

* Update to v1.13.0 and bug fix: sanitize-html expects tag attributes to be called attribs. (#10360)

* updated vue-resource (#10349)

* Updated to match docs for version 0.9.3 (latest as of 07/19/16)

This is very important because response.data now returns raw data instead of a json object, you need to use res.json() to get an object representation of the response. .json() was missing from the typings.

Aditionally modified a few breaking changes to match the documentation at:  https://github.com/vuejs/vue-resource/blob/master/docs/http.md

* Added tests for json, blob, and text

* fixed version number

* Move change from master to corresponding index.d.ts
2016-07-29 21:09:20 -07:00
Ryan Cavanaugh 0cf6a5c259 Fix for TS future literal support 2016-07-29 14:09:07 -07:00
Ryan Cavanaugh c9f1f7cd5f Merge pull request #10361 from RyanCavanaugh/types-2.0
Unshrinkwrap definition-header version
2016-07-29 07:58:12 -07:00
Ryan Cavanaugh eba7905ddb Merge branch 'types-2.0' of https://github.com/RyanCavanaugh/DefinitelyTyped into types-2.0 2016-07-29 07:57:11 -07:00
Ryan Cavanaugh 9420f302d3 Float DT-Header version 2016-07-29 07:57:01 -07:00
Ryan Cavanaugh 1079489971 Unshrinkwrap DT dependencies 2016-07-29 07:51:06 -07:00
Yui cedcbbf05f Merge master into release-2.0 on 07/28 (#10348)
* Changed AtomicBlockUtils and KeyBindingUtil from interfaces to classes with static functions (#10324)

* Fixing a few minor issues in webpack-stream. (#10253)

* Document changes in 0.28 and 0.29 in React Native (#10309)

* RN: Widen limit of refreshControl

* RN: Update NavigationExperimental to 0.28

* RN: Define new method from 0.28

* RN: Promisify requestPermissions per 0.28

* RN: Remove onNavigate method

See: https://github.com/facebook/react-native/commit/fb0007d85323909ab652bf97166744fa7e17daab#diff-04c37ff76f85aea35e8475617539b75fR94

* RN: Add onNavigateBack method

See: https://github.com/facebook/react-native/commit/fb0007d85323909ab652bf97166744fa7e17daab#diff-04c37ff76f85aea35e8475617539b75fR94

* RN: Deprecate StatusBarIOS

* RN: Update StyleSheet API per 0.29

* RN: Define KeyboardAvoidingView added in 0.29

* RN: Define saveToCameraRoll added in 0.29

* RN: Define cancellable from InteractionManager

* RN: Add new possible values of flexDirection

* RN: Define lineBreakMode

* RN: Allow zIndex prop

* RN: Allow dimension limits

* RN: Specify type of refreshControl

* RN: Mark properties as optional

* RN: Clarify parameter naming

* RN: Mark optional property as optional

* RN: Definite explicit ref type

* RN: Restore StyleSheet.create to restore compatibility

* Added Headers constructor options to whatwg-fetch (#10313)

* Impl: Updated definitions for oracledb (#10323)

* Update select2 to have selectOnClose option (#10326)

Option documented at https://select2.github.io/options.html#can-i-select-the-highlighted-result-when-the-dropdown-is-closed

* Added definition for react-file-input React component (#10325)

* Added definition for react-file-input React component

* Added newline at end of file

* Added definitions for the react-file-reader-input react component. (#10327)

* Sleep (#10333)

* Add Electron specific versions to process.versions (#10320)

* Fix uuid.js definitions. (#10318)

* protobufjs: updated Message interfaces (#10198)

* protobufjs: updated Message interfaces

* Added ProtoBuf.Util interface

* Fixed load functions of ProtoBuf namespace

Base on the protobuf.js API docmentation.

* use {} instead of Object

Fixed according to PR commit note.

* Multiple minor fixes (#10339)

* better typing of onShouldStartLoadWithRequest in WebViewPropertiesIOS

* Fixes to WebViewProperties

* Missing methods in Navigator

* Fix of Platform.select()

* added support for interfacing with native-modules

* added support for interfacing with native-modules

* added dev variable

* Update to header notes

* Examples: alternative styles declaration

* webcomponents.js: Add typings for Element.createShadowRoot (#10330)

* webcomponents.js: Add typings for Element.createShadowRoot

createShadowRoot is deprecated in the official Shadow DOM spec,
but is the way to attach a shadow root in the current released
version of webcomponents.js.

* webcomponents.js: remove spurious extra line

* webcomponents.js: remove readonly modifier

Not supported until TS2.

* webcomponents.js: add Element.shadowRoot property

* Adding a couple missing highcharts properites (#10340)

* Adding a couple missing highcharts properites

* Fixing indentation

* Indentation

* Move change from master to its corresponding index.d.ts
2016-07-28 19:58:21 -07:00
Yui d524474c5d Merge pull request #10343 from yuit/RyanCavanaugh-merge_7_25
Merge master into types-2.0 as of Monday
2016-07-28 10:30:05 -07:00
Kanchalai Tanglertsampan fd2eae1d07 Merge branch 'types-2.0' into RyanCavanaugh-merge_7_25 2016-07-28 09:06:45 -07:00
Yui a32aa41efd Merge pull request #10334 from donaldpipowitch/patch-2
Update React definitions
2016-07-28 08:34:07 -07:00
Tamir Duberstein f551efc167 fetch-mock types-2.0 version (#10260) 2016-07-28 23:00:03 +09:00
Donald Pipowitch c81989770f Update index.d.ts
Support strict null checks in TypeScript 2.0.
2016-07-28 07:40:38 +02:00
Ryan Cavanaugh 29ba4b7a42 Get tests passing again 2016-07-27 20:45:08 -07:00
Ryan Cavanaugh ca19fab9cf Merge remote-tracking branch 'upstream/types-2.0' into merge_7_25 2016-07-27 16:13:04 -07:00
Ryan Cavanaugh f55497c988 Merge remote-tracking branch 'upstream/master' into merge_7_25
# Conflicts:
#	convict/convict.d.ts
#	multer/multer.d.ts
#	nodemailer/nodemailer.d.ts
#	react-bootstrap-table/react-bootstrap-table.d.ts
#	react-dnd/react-dnd-tests.ts
#	react-native/index.d.ts
#	request/request.d.ts
#	restify/index.d.ts
#	webpack/webpack.d.ts
#	ws/ws.d.ts
2016-07-27 16:12:49 -07:00
Ryan Cavanaugh 8dde5ee8ec Float typescript version number 2016-07-27 15:41:12 -07:00
Ryan Cavanaugh 24d3f36368 Run 'dt --all' on CI 2016-07-27 15:26:26 -07:00
Ryan Cavanaugh 1a7a0ed8dd Remove definition-tester from shrinkwrap 2016-07-27 15:22:25 -07:00
Yui 5979f9f747 Merge pull request #10234 from lordgreg/patch-3
Update swiper.d.ts
2016-07-27 15:21:43 -07:00
Yui 60158ae634 Merge pull request #10269 from miniak/electron
Update to Electron 1.2.8
2016-07-27 15:16:42 -07:00
Yui 6e9e7fbaf0 Merge pull request #10276 from herrquark/master
Update slick-carousel definitions
2016-07-27 15:15:36 -07:00
Ryan Cavanaugh 6965c2e30a Use 'next' tag of definition-tester 2016-07-27 15:04:49 -07:00
Ryan Cavanaugh b75a58024e Get tests passing again 2016-07-27 14:45:58 -07:00
Ryan Cavanaugh b488f3cb5f Merge remote-tracking branch 'upstream/master' into merge_7_25 2016-07-27 10:57:46 -07:00
Yui 8f544e7fc6 Merge pull request #10321 from jamescoward/master
[d3] Added missing histogram.range() method signature
2016-07-27 10:49:52 -07:00