mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Merge pull request #3741 from SergioMorchon/patch-4
Update knockout-tests.ts
This commit is contained in:
commit
2563d046b9
1 file changed
+2
-1
@@ -163,6 +163,7 @@ function test_bindings() {
|
||||
|
||||
ko.bindingHandlers.yourBindingName = {
|
||||
init: function (element, valueAccessor, allBindingsAccessor, viewModel, bindingContext) {
|
||||
return { "controlsDescendantBindings": true };
|
||||
},
|
||||
update: function (element, valueAccessor, allBindingsAccessor, viewModel, bindingContext) {
|
||||
}
|
||||
@@ -655,4 +656,4 @@ function testUnwrapUnion() {
|
||||
var possibleObs: KnockoutObservable<number> | number;
|
||||
var num = ko.unwrap(possibleObs);
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user