Commit Graph

212 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
76a710cc94 Rename test files to be consistent (#13882) 2017-01-10 06:33:06 -08:00
Igor Oleinikov
198918d97c Merge pull request #13749 from cervengoc/fix-knockout
Add knockout KnockoutStatic.ignoreDependencies method
2017-01-07 23:09:37 -08:00
Andy
2f71174636 Restructure to support old versions (#13811)
* Restructure to support old versions

* Fix tests
2017-01-06 12:36:57 -08:00
cervengoc
763a5e57a8 Add ko.ignoreDependencies 2017-01-05 11:11:47 +01: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
Andy
cd4debea25 Remove BOM character from the start of files (#12838) 2016-11-28 10:40:45 -08:00
Andrey Kyrdyumov
19a466bce5 Make strickter onError signature and make it optional 2016-11-24 10:01:15 +06:00
Andrey Kurdyumov
0514660017 Add missing onError
See http://knockoutjs.com/documentation/asynchronous-error-handling.html for justification
2016-11-23 12:40:31 +06:00
Nathan Shively-Sanders
983c93531a Merge branch 'types-2.0' into types-merge-20161118 2016-11-21 16:16:59 -08:00
Mine Yalcinalp Starks
253e456e3c Merge remote-tracking branch 'upstream/master' into types-2.0
Many badly resolved merge conflicts
2016-11-18 20:42:46 -08:00
JD-Robbs
6a320b7569 Adds missing retained status to KnockoutArrayChange 2016-11-10 12:40:41 +00:00
Mohamed Hegazy
13dec92fd9 Fix failing tests after https://github.com/Microsoft/TypeScript/pull/11263 (#11835)
* Fix fialing tests after https://github.com/Microsoft/TypeScript/pull/11263

* Fix more failures
2016-10-07 14:41:25 -07:00
Jan Bevers
c8a7c97b43 Knockout: Add support for TypeScript 2.0 strictNullChecks option (#11631)
* Knockout: Add support for TypeScript 2.0 strictNullChecks option

* Knockout: fixed tests to compile with strictNullChecks option enabled
2016-10-03 17:22:14 -07:00
Andy Hanson
79302123ac Merge commit 'origin/master~75' into merge_21sep 2016-09-21 08:41:31 -07:00
Igor Oleinikov
47588ba8f9 [knockout] Introduce specialized signatures for subscribe method, specifically common "change" and "beforeChange"
Add subscribe for "arrayChange" event for observable array (fixes #11203)
Improve KnockoutArrayChange status typing.
2016-09-14 11:27:33 -07:00
Ryan Cavanaugh
5967d6685e Fix knockout-tests (was using window.name) 2016-08-30 19:02:37 -07:00
Ryan Cavanaugh
b9245fba39 Merge commit 'upstream/master~350' into merge_7_25 2016-07-26 17:24:39 -07:00
Ryan Cavanaugh
347311a5f0 Partial merge remote-tracking branch 'upstream/master' into merge_7_25 2016-07-25 14:26:20 -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
Manuel Schweigert
1a3b6bdf54 Fix build error 2016-05-12 15:09:47 +02:00
Manuel Schweigert
5d0618b145 Add expressionRewriting members
These members are needed to create custom two-way bindings.
2016-05-12 14:58:31 +02:00
Ryan Cavanaugh
e105eabd48 Remove invalid references 2016-05-10 16:27:59 -07: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
81862d240d More fixes 2016-05-04 22:50:05 -07:00
Ryan Cavanaugh
290d5dfb4d More fixes 2016-05-04 18:42:46 -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
Matt Brooks
864787b164 Add support for ko.tasks API in Knockout.js v3.4.0
Add support for Knockout’s microtask queue. Knockout’s microtask queue
supports scheduling tasks to run as soon as possible while still being
asynchronous, striving to schedule them to occur before yielding for
I/O, reflow, or redrawing.
2016-04-28 17:28:40 +01:00
Ryan Cavanaugh
15dbdc4c4c Remove *all* tscparams 2016-04-27 20:47:56 -07: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
Vyacheslav Pritykin
ad2462a2ee New options have been added 2016-04-09 14:21:58 +03:00
Chris Long
09ac2c31e2 User defined type guards in Knockout 2016-04-06 20:55:03 +09:00
vvakame
78d2f1ca92 update CONTRIBUTORS.md 2016-03-19 20:16:07 +09:00
vvakame
7de6c3dd94 Merge branch 'master' into rename-repo-url 2016-03-17 21:06:54 +09:00
vvakame
14fe4313f4 replace internal module to namespace 2016-03-17 02:18:10 +09: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
Tanguy Krotoff
d2dd0dbfc7 Improve jasmine.d.ts
- Remove toContainHtml() and toContainText(): they are not part of Jasmine API
- Avoid the use of any for toMatch(), toBeLessThan(), toBeGreaterThan(), toBeCloseTo() and toThrowError()
2015-12-18 05:09:35 +01:00
Masahiro Wakame
1256c09f65 Merge pull request #7043 from brnls/observable-array-fix
Knockout fix Observable Array sort/reverse return type
2015-12-10 21:06:32 +09:00
Jacob Poul Richardt
1c5eb02444 Added missing viewModel property to ComponentConfig. 2015-12-09 14:09:09 +01:00
brnls
06509c8249 Fix Observable Array sort/reverse return type 2015-12-03 09:19:21 -08:00
Igor Oleinikov
4f7b7e01d3 Merge pull request #6219 from ibrahimuludag/patch-2
Update knockout.d.ts
2015-11-12 14:10:44 -08:00
Clément Bourgeois
de3b92a51f Knockout KnockoutUtils cleanup.
Over the time bindings over properties not exposed inside minified versions
of knockout have made their way into the definitions.
2015-10-12 23:29:34 +02:00