@types/knockout
Advanced tools
Comparing version 3.4.51 to 3.4.52
@@ -413,6 +413,2 @@ // Type definitions for Knockout v3.4.0 | ||
///////////////////////////////// | ||
type KnockoutObservableType<T> = { | ||
[P in keyof T]: KnockoutObservable<T[P]>; | ||
}; | ||
interface KnockoutStatic { | ||
@@ -448,8 +444,14 @@ utils: KnockoutUtils; | ||
toJSON(viewModel: any, replacer?: Function, space?: any): string; | ||
toJS<T>(viewModel: KnockoutObservableArray<T>|KnockoutObservableType<T>[]|KnockoutObservableArray<KnockoutObservableType<T>>|T[]): T[]; | ||
toJS<T>(viewModel: KnockoutObservable<T>|KnockoutObservableType<T>|KnockoutObservable<KnockoutObservableType<T>>): T; | ||
toJS<T>(viewModel: T): T; | ||
isObservable<T>(instance: KnockoutObservable<T>|T): instance is KnockoutObservable<T>; | ||
isWriteableObservable<T>(instance: KnockoutObservable<T>|T): instance is KnockoutObservable<T>; | ||
isComputed<T>(instance: KnockoutObservable<T>|T): instance is KnockoutComputed<T>; | ||
toJS(viewModel: any): any; | ||
isObservable(instance: any): instance is KnockoutObservable<any>; | ||
isObservable<T>(instance: KnockoutObservable<T>): instance is KnockoutObservable<T>; | ||
isWriteableObservable(instance: any): instance is KnockoutObservable<any>; | ||
isWriteableObservable<T>(instance: KnockoutObservable<T>): instance is KnockoutObservable<T>; | ||
isComputed(instance: any): instance is KnockoutComputed<any>; | ||
isComputed<T>(instance: KnockoutObservable<T> | T): instance is KnockoutComputed<T>; | ||
dataFor(node: any): any; | ||
@@ -456,0 +458,0 @@ removeNode(node: Node): void; |
{ | ||
"name": "@types/knockout", | ||
"version": "3.4.51", | ||
"version": "3.4.52", | ||
"description": "TypeScript definitions for Knockout", | ||
@@ -45,4 +45,4 @@ "license": "MIT", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "102377c2d0581edccd111eccb9a405d10340bf773fc10f1ba1cbb4c86c1d9162", | ||
"typesPublisherContentHash": "3401062bc37ce909bbb4464de243353b9b71625140a2eb9097e1c32a649efeb1", | ||
"typeScriptVersion": "2.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Tue, 13 Feb 2018 00:46:30 GMT | ||
* Last updated: Wed, 28 Feb 2018 23:22:44 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: ko |
29160
527