Commit Graph

188 Commits

Author SHA1 Message Date
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
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
Masahiro Wakame
8872d98f39 Merge pull request #6178 from abbasmhd/master
Update Knockout.d.ts
2015-10-13 00:29:18 +09:00
ibrahimuludag
16d09d28c0 Update knockout.d.ts
Added after? option  to KnockoutBindingHandler
2015-10-09 14:58:12 +03:00
Moes
215df3cd35 Update Knockout.d.ts
update `objectForEach` to include key value
add `addOrRemoveItem`
consolidate `arrayPushAll` into one line using the `|` operator
enabling `setTextContent`  IT's PART OF THE MINIFIED API SURFACE https://github.com/knockout/knockout/blob/master/src/utils.js#L599
2015-10-08 15:04:28 +10:00
Moes
fd7aa0a879 Update Knockout.d.ts
add `objectForEach` and  `setPrototypeOf` to `KnockoutUtils` interface
2015-10-07 14:26:14 +10:00
Boris Yankov
70b40db9e0 Merge pull request #6165 from EnableSoftware/add-knockout-fn
Knockout custom functions
2015-10-06 22:26:35 +03:00
Neil Culver
994fdb216a Support for custom functions when using no implicit any. 2015-10-06 14:48:17 +01:00
Blake Doss
ba3c1953cb arrayForEach method also passes index to callback. 2015-10-03 11:20:41 -04:00
vvakame
9bffb08e1b fix knockout/knockoutamd-tests.ts 2015-08-29 00:36:20 +09:00
Masahiro Wakame
25120f9bc9 Merge pull request #4317 from SergioMorchon/patch-3
Knockout uses Nodes, not Elements
2015-05-14 23:34:34 +09:00
Sergio Morchón Poveda
d1497a885a New Synchronous Asynchronous-loading option
More details: http://knockoutjs.com/documentation/component-registration.html#controlling-synchronousasynchronous-loading
2015-05-11 16:59:39 +02:00
Sergio Morchón Poveda
28ad1db4bf Knockout uses Nodes, not Elements
Less restrictive API: knockout uses nodes, not elements.
2015-05-11 10:02:25 +02:00
Thomas Michon
73fc8ea383 Remove emptyDomNode, which is not public in Knockout 2015-05-07 09:01:04 -07:00
Sergio Morchón Poveda
da74caeab8 Update knockout.d.ts
Optional viewmodel on component registration
2015-03-24 17:42:07 +01:00
Masahiro Wakame
f9643931ee Merge pull request #3921 from SergioMorchon/patch-2
Update KnockoutBindingHandler
2015-03-25 00:02:58 +09:00
Sergio Morchón Poveda
8252b3e6a6 Update KnockoutBindingHandler
``` init ``` & ``` update ``` with optional arguments. This makes sense if you want to call a binding from your code without passing all the parameters, when it is really optional.
2015-03-20 13:24:34 +01:00
Sergio Morchón Poveda
effae55ed2 Knockout 3.3 - Components
Added $component and $componentTemplateNodes binding context properties (see http://knockoutjs.com/documentation/binding-context.html).
Added ComponentInfo.templateNodes.
2015-03-20 13:19:28 +01:00
AdvancedREI
c281cd0dc4 Knockout: KnockoutStatic var fix
Move KnockoutStatic variable declaration to fix TS1.4 + Resharper 9.1
EAP 6
2015-03-14 09:05:52 -07:00
Igor Oleinikov
5de63fd3d8 Merge pull request #3770 from conficient/master
Refactored knockout components
2015-03-12 12:34:15 -07:00
Masahiro Wakame
c78d60495f Merge pull request #3742 from SergioMorchon/patch-5
Update knockout.d.ts
2015-03-02 23:49:58 +09:00
HowardRichards
4db25cf3f1 Refactored knockout components
Previous Knockout component registration code was complicate since union
types did not exist in TypeScript. The knockout.d.ts file has already
had changes for union types added, so I have refactored my original
changes to component.register to use this.

Revert "Refactored knockout.register for union types"

This reverts
commit 920b8d64621f249331f2a17123148c446c212d32.

Refactored knockout.register for union types

Removed number of
interfaces for ko.register methods and simplified
using union types for
clarity. Refactored component types into a
namespace to reduce namespace
pollution
2015-03-02 12:21:01 +00:00
Sergio Morchón Poveda
cd2cc17194 Update knockout.d.ts
Fixed init & update signature.
2015-02-25 14:10:52 +01:00
Sergio Morchón Poveda
65e48513de Update knockout.d.ts
Delete extra comma...
2015-02-25 14:09:05 +01:00
Sergio Morchón Poveda
88a708f71a Update knockout.d.ts
Added KnockoutBindingHandler.init alternative return type.
2015-02-25 13:57:32 +01:00
Sergio Morchón Poveda
a3aa65cfd9 Update knockout-tests.ts
Added a different versión of init, which returns an object instead of void.
2015-02-25 13:48:14 +01:00