Commit Graph

54 Commits

Author SHA1 Message Date
Andy
ae4fe7b6de Use "lib" in tsconfigs instead of "target". (#13968)
* Use "lib" in tsconfigs instead of "target".

Only add "dom" to libraries that need it. This is determined by a script, so many libraries that have "dom" maybe should not.

* Update new-package and readme

* Add back "target" where necessary
2017-01-18 07:51:51 -08:00
Andy Hanson
2e869dbdc0 Merge branch 'types-2.0' into merge_28dec 2016-12-28 12:38:06 -08:00
Andy
a4bd9fa3c1 Add "noImplicitThis" to all tsconfig.json (#13446)
* Add "noImplicitThis" to all tsconfig.json

* Use `"noImplicitThis": false` on packages with broken tests.
2016-12-19 14:11:46 -08:00
Richard Rout
460a2e2103 select2 templateSelection method signature
A JQuery container is also passed in as the 2nd parameter. https://select2.github.io/options.html#templateSelection
2016-11-24 08:05:42 -07:00
Nathan Shively-Sanders
14fb8ef536 Merge branch 'master' into types-2.0-2016-08-12 2016-08-12 14:53:54 -07:00
Hedley Luna
f4efd4d362 Adding the sorter function to the options. This function is called when append is called (#10576) 2016-08-12 17:35:16 +09: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: fb0007d853 (diff-04c37ff76f85aea35e8475617539b75fR94)

* RN: Add onNavigateBack method

See: fb0007d853 (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
Stephen Penney
58b0deb938 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
2016-07-28 23:43:23 +09:00
Ryan Cavanaugh
b488f3cb5f Merge remote-tracking branch 'upstream/master' into merge_7_25 2016-07-27 10:57:46 -07:00
Ryan Cavanaugh
ede3f0a99c Merge commit 'upstream/master~550' into merge_7_25 2016-07-26 11:29:27 -07:00
Ryan Cavanaugh
347311a5f0 Partial merge remote-tracking branch 'upstream/master' into merge_7_25 2016-07-25 14:26:20 -07:00
Pierre Urban
9bd416090b Set the type of language to any. (#10187)
* Set the type of language to any.

The type of language can be string, array, etc.
Sources: 6844be777b/src/js/select2/defaults.js (L235-L294)

* Update the language type.
2016-07-19 14:40:31 -07:00
Ryan Cavanaugh
a5f4d50ccc Fix tsconfig files for new option name / behavior.
Also fixes some inconsistent whitespace.
2016-07-12 13:54:56 -07:00
Raghav Katyal
395c4e1639 Turning on consistent casing flag and fixing failures 2016-06-30 15:14:49 -07:00
Rafael Kaciano Wolf
d29b1fc285 Update select2.d.ts (#9537)
add "processResults" to ajax options
2016-06-07 00:30:14 +09:00
Ryan Cavanaugh
bfd400a8f8 Add noEmit to all config files 2016-05-10 12:24:49 -07:00
Ryan Cavanaugh
e808e8e062 Remove unneeded references 2016-05-10 12:22:25 -07:00
Ryan Cavanaugh
50387d4046 Change relative reference paths to types references. Errors incoming... 2016-05-09 18:06:27 -07:00
Ryan Cavanaugh
49b1ac6a38 Rename all entry points to index.d.ts and explicitify all file lists 2016-05-09 17:29:10 -07:00
Ryan Cavanaugh
ab2b4191c5 Add typesRoot to all config files 2016-05-09 13:52:25 -07:00
Ryan Cavanaugh
33686b47c5 Lots of fixes 2016-05-04 16:30:29 -07:00
Ryan Cavanaugh
ded70421be Turn off strict null checks 2016-05-04 15:08:38 -07:00
Ryan Cavanaugh
69d1929d8a Add tsconfig.json files 2016-05-04 14:14:39 -07:00
aquala
7b0a490aea Update select2.d.ts (#9134)
interface Select2SelectionObject: replaced commas with semicolons
2016-05-01 23:17:34 +09:00
Ryan Cavanaugh
dc851736af Delete unused tscparams 2016-04-27 20:42:33 -07:00
Ryan Cavanaugh
e7c111c4b7 Merge remote-tracking branch 'upstream/master' into types2.0
Add tsconfig files everywhere

# Conflicts:
#	azure-mobile-services-client/AzureMobileServicesClient.d.ts
#	bookshelf/bookshelf.d.ts
#	hapi/hapi.d.ts
#	helmet/helmet.d.ts
#	mongodb/mongodb.d.ts
#	nock/nock.d.ts
#	react-bootstrap/react-bootstrap.d.ts
#	react-helmet/react-helmet.d.ts
#	restify/restify.d.ts
#	sequelize/sequelize.d.ts
2016-04-27 20:40:21 -07:00
Masahiro Wakame
ade7ea32ac Merge pull request #8706 from hupfis/master
Fix ajax-field 'quietMillis' to 'delay'.
2016-03-26 23:11:04 +09:00
Dominik Hurnaus
74fe6ff6ac Fix ajax-field 'quietMillis' to 'delay'.
See select2 documentation at https://select2.github.io/options.html#ajax
2016-03-24 13:47:37 +01:00
Stephen Lautier
926bb90600 Changed placeholder to support IdTextPair 2016-03-20 18:47:18 +01:00
vvakame
56295f5058 replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped 2016-03-17 00:55:26 +09:00
vvakame
4de74cb527 normalize line ending (CRLF -> LF) 2016-02-16 01:20:30 +09:00
vfernandez
3da6ba8845 Updated select2 definition for v4.0.1 2016-02-08 15:18:37 +01:00
Markus Erlandsson
26d1679100 Select2 has two template functions 2015-10-22 09:51:15 +02:00
Rudi Steinbach
0684f85d39 Update select2.d.ts with v4 theme option. 2015-10-12 08:48:29 +02:00
Roger Chen
5c070aa2c2 Add cache property for select2 ajax options 2015-08-29 07:54:02 -07:00
tomtheisen
bf1d9d8b44 Update select2 events
Update select2 events based on documentation at http://select2.github.io/select2/
2015-06-02 10:35:36 -07:00
Mohamed Hegazy
2aaa293cb1 Remove quotes from response files 2014-09-02 14:53:39 -07:00
vvakame
e1eb3853a3 Merge branch 'master' of github.com:styfle/DefinitelyTyped into styfle-master
Conflicts:
	select2/select2.d.ts
2014-07-10 14:16:11 +09:00
Steven
3016f859a8 Most return types should be JQuery
Since select2 is a JQuery plugin, it support chaining therefore the majority of methods return a JQuery object (typically the original JQuery object besides 'container' which returns the container element).
2014-06-18 10:46:45 -07:00
Dan Quirk
49b672dc08 Reorder select2 overloads from most specific to least specific so overload resolution behaves as expected. 2014-03-31 19:14:03 -07:00
Igor Oleinikov
e720d1ddfb select2: fixed another error in tests 2013-12-22 13:56:30 +04:00
Igor Oleinikov
5384a5d803 select2: fixed test 2013-12-20 13:17:37 +04:00
Václav Oborník
82cce1fe2e added some missing options to select2 2013-11-25 10:12:25 +01:00
Santi Albo
000f090aff (select2) set option parameter in matcher to any 2013-10-30 18:23:49 -07:00
Derek Cicerone
392b8a5a08 Add missing on() handler
This was was exposed by a recent update to jquery that tightened up the
typing for on().

Documentation for on(): http://api.jquery.com/on/
2013-10-27 17:17:13 -04:00
vvakame
2708bc05cd Fixed tsc failed on Node.js v0.8.25 2013-10-03 11:23:38 +09:00
vvakame
3fe1f6bc4e Fixed to CI test passing 2013-10-03 10:18:58 +09:00
Neil Stalker
6b3caa46ac Select2: add method function overloads 2013-08-24 10:54:36 +01:00
Santi Albo
a05a73f965 Select2: make optional parameters optional
Both `more` and `context` arguments are optional for the object passed to `callback` in `Select2QueryOptions`.

See docs example for clarification: http://ivaynberg.github.io/select2/#data
2013-08-21 11:59:44 +01:00
Boris Yankov
dd35f69637 Big replacement: bool with boolean 2013-08-07 16:59:39 +03:00