mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
Merge pull request #17999 from stephtr/patch-1
[knockout] update KnockoutComponentTypes.Loader callbacks
This commit is contained in:
Vendored
+2
-2
@@ -657,8 +657,8 @@ declare namespace KnockoutComponentTypes {
|
||||
|
||||
interface Loader {
|
||||
getConfig? (componentName: string, callback: (result: ComponentConfig | null) => void): void;
|
||||
loadComponent? (componentName: string, config: ComponentConfig, callback: (result: Definition) => void): void;
|
||||
loadTemplate? (componentName: string, templateConfig: any, callback: (result: Node[]) => void): void;
|
||||
loadComponent? (componentName: string, config: ComponentConfig, callback: (result: Definition | null) => void): void;
|
||||
loadTemplate? (componentName: string, templateConfig: any, callback: (result: Node[] | null) => void): void;
|
||||
loadViewModel? (componentName: string, viewModelConfig: any, callback: (result: any) => void): void;
|
||||
suppressLoaderExceptions?: boolean;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user