@types/knockout
Advanced tools
Comparing version
@@ -412,2 +412,5 @@ // Type definitions for Knockout v3.4.0 | ||
///////////////////////////////// | ||
type KnockoutObservableType<T> = { | ||
[P in keyof T]: KnockoutObservable<T[P]>; | ||
}; | ||
@@ -444,6 +447,7 @@ interface KnockoutStatic { | ||
toJSON(viewModel: any, replacer?: Function, space?: any): string; | ||
toJS(viewModel: any): any; | ||
isObservable(instance: any): instance is KnockoutObservable<any>; | ||
isWriteableObservable(instance: any): instance is KnockoutObservable<any>; | ||
isComputed(instance: any): instance is KnockoutComputed<any>; | ||
toJS<T>(viewModel: KnockoutObservableArray<T>|T[]): T[]; | ||
toJS<T>(viewModel: KnockoutObservableType<T>|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>; | ||
dataFor(node: any): any; | ||
@@ -450,0 +454,0 @@ removeNode(node: Node): void; |
{ | ||
"name": "@types/knockout", | ||
"version": "3.4.47", | ||
"version": "3.4.48", | ||
"description": "TypeScript definitions for Knockout", | ||
@@ -13,3 +13,3 @@ "license": "MIT", | ||
{ | ||
"name": "\r\n// Igor Oleinikov", | ||
"name": "\n// Igor Oleinikov", | ||
"url": "https://github.com/Igorbek", | ||
@@ -19,3 +19,3 @@ "githubUsername": "Igorbek" | ||
{ | ||
"name": "\r\n// Clément Bourgeois", | ||
"name": "\n// Clément Bourgeois", | ||
"url": "https://github.com/moonpyk", | ||
@@ -25,3 +25,3 @@ "githubUsername": "moonpyk" | ||
{ | ||
"name": "\r\n// Matt Brooks", | ||
"name": "\n// Matt Brooks", | ||
"url": "https://github.com/EnableSoftware", | ||
@@ -31,3 +31,3 @@ "githubUsername": "EnableSoftware" | ||
{ | ||
"name": "\r\n// Benjamin Eckardt", | ||
"name": "\n// Benjamin Eckardt", | ||
"url": "https://github.com/BenjaminEckardt", | ||
@@ -37,3 +37,3 @@ "githubUsername": "BenjaminEckardt" | ||
{ | ||
"name": "\r\n// Mathias Lorenzen", | ||
"name": "\n// Mathias Lorenzen", | ||
"url": "https://github.com/ffMathy", | ||
@@ -50,4 +50,4 @@ "githubUsername": "ffMathy" | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "8f103dee4e571d978f256a3bb9261b01685a38cb71892caed23f18252a7a5696", | ||
"typesPublisherContentHash": "456cd968aafa420655a9678fd3e848d3a86efc85ee61ea23bda8d28db8a91de6", | ||
"typeScriptVersion": "2.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Wed, 15 Nov 2017 11:28:30 GMT | ||
* Last updated: Wed, 17 Jan 2018 22:17:28 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: ko |
Sorry, the diff of this file is not supported yet
526
0.77%28977
-1.69%