mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-25 03:20:02 +00:00
Merge pull request #2999 from SergioMorchon/patch-2
Preprocess option to Knockout binding's syntax
This commit is contained in:
1
knockout/knockout.d.ts
vendored
1
knockout/knockout.d.ts
vendored
@@ -134,6 +134,7 @@ interface KnockoutBindingHandler {
|
||||
init? (element: any, valueAccessor: () => any, allBindingsAccessor: KnockoutAllBindingsAccessor, viewModel: any, bindingContext: KnockoutBindingContext): void;
|
||||
update? (element: any, valueAccessor: () => any, allBindingsAccessor: KnockoutAllBindingsAccessor, viewModel: any, bindingContext: KnockoutBindingContext): void;
|
||||
options?: any;
|
||||
preprocess?: (value: string, name: string, addBindingCallback?: (name: string, value: string) => void) => string;
|
||||
}
|
||||
|
||||
interface KnockoutBindingHandlers {
|
||||
|
||||
Reference in New Issue
Block a user