Skip to content

Commit

Permalink
And revert test change
Browse files Browse the repository at this point in the history
  • Loading branch information
weswigham authored Apr 15, 2019
1 parent ef849bf commit 1f20207
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/knockout/test/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ function test_Components() {
ko.components.register("name", { template: "string-template", viewModel: { instance: null } });

// viewModel from createViewModel factory method
ko.components.register("name", { template: "string-template", viewModel: { createViewModel: function (params?: any, componentInfo?: KnockoutComponentTypes.ComponentInfo) { return null; } } });
ko.components.register("name", { template: "string-template", viewModel: { createViewModel: function (params: any, componentInfo: KnockoutComponentTypes.ComponentInfo) { return null; } } });

// viewModel from an AMD module
ko.components.register("name", { template: "string-template", viewModel: { require: "module" } });
Expand Down

0 comments on commit 1f20207

Please sign in to comment.