mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 14:20:12 +00:00
Update index.d.ts
This commit is contained in:
committed by
GitHub
parent
8058968995
commit
267674ea8f
2
types/knockout/index.d.ts
vendored
2
types/knockout/index.d.ts
vendored
@@ -314,6 +314,7 @@ interface KnockoutUtils {
|
||||
triggerEvent(element: any, eventType: any): void;
|
||||
|
||||
unwrapObservable<T>(value: KnockoutObservable<T> | T): T;
|
||||
unwrapObservable<T>(value: KnockoutObservableArray<T> | T[]): T[];
|
||||
|
||||
// NOT PART OF THE MINIFIED API SURFACE (ONLY IN knockout-{version}.debug.js) https://github.com/SteveSanderson/knockout/issues/670
|
||||
// forceRefresh(node: any): void;
|
||||
@@ -454,6 +455,7 @@ interface KnockoutStatic {
|
||||
renderTemplate(template: Function, viewModel: any, options?: any, target?: any, renderMode?: any): any;
|
||||
renderTemplate(template: string, viewModel: any, options?: any, target?: any, renderMode?: any): any;
|
||||
unwrap<T>(value: KnockoutObservable<T> | T): T;
|
||||
unwrap<T>(value: KnockoutObservableArray<T> | T[]): T[];
|
||||
|
||||
computedContext: KnockoutComputedContext;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user