Skip to content

Commit

Permalink
Knockout always passes these params
Browse files Browse the repository at this point in the history
Following discussion about DefinitelyTyped#34699 on knockout/knockout#2475
  • Loading branch information
weswigham authored and alesn committed Apr 23, 2019
1 parent 0334839 commit c2b42b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/knockout/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -977,7 +977,7 @@ declare namespace KnockoutComponentTypes {
}

interface ViewModelFactoryFunction {
createViewModel: (params?: any, componentInfo?: ComponentInfo) => any;
createViewModel: (params: any, componentInfo: ComponentInfo) => any;
}

interface ComponentInfo {
Expand Down

0 comments on commit c2b42b6

Please sign in to comment.