@types/knockout
Advanced tools
Comparing version 3.4.34 to 3.4.35
@@ -64,4 +64,6 @@ // Type definitions for Knockout v3.4.0 | ||
interface KnockoutSubscribable<T> extends KnockoutSubscribableFunctions<T> { | ||
subscribe(callback: (newValue: T) => void, target?: any, event?: string): KnockoutSubscription; | ||
subscribe(callback: (newValue: T) => void, target: any, event: "beforeChange"): KnockoutSubscription; | ||
subscribe(callback: (newValue: T) => void, target?: any, event?: "change"): KnockoutSubscription; | ||
subscribe<TEvent>(callback: (newValue: TEvent) => void, target: any, event: string): KnockoutSubscription; | ||
extend(requestedExtenders: { [key: string]: any; }): KnockoutSubscribable<T>; | ||
@@ -95,2 +97,7 @@ getSubscriptionsCount(): number; | ||
interface KnockoutObservableArray<T> extends KnockoutObservable<T[]>, KnockoutObservableArrayFunctions<T> { | ||
subscribe(callback: (newValue: KnockoutArrayChange<T>[]) => void, target: any, event: "arrayChange"): KnockoutSubscription; | ||
subscribe(callback: (newValue: T[]) => void, target: any, event: "beforeChange"): KnockoutSubscription; | ||
subscribe(callback: (newValue: T[]) => void, target?: any, event?: "change"): KnockoutSubscription; | ||
subscribe<TEvent>(callback: (newValue: TEvent) => void, target: any, event: string): KnockoutSubscription; | ||
extend(requestedExtenders: { [key: string]: any; }): KnockoutObservableArray<T>; | ||
@@ -330,3 +337,3 @@ } | ||
interface KnockoutArrayChange<T> { | ||
status: string; | ||
status: "added" | "deleted"; | ||
value: T; | ||
@@ -333,0 +340,0 @@ index: number; |
{ | ||
"name": "@types/knockout", | ||
"version": "3.4.34", | ||
"version": "3.4.35", | ||
"description": "TypeScript definitions for Knockout v3.4.0", | ||
@@ -15,3 +15,3 @@ "license": "MIT", | ||
"typings": "index.d.ts", | ||
"typesPublisherContentHash": "9efdcdb2bc814739c6ab8cfed01fd582d733e760d6ba7a776db884baed2d9253" | ||
"typesPublisherContentHash": "ca9507c532820342e8a83486d3d3196390ad660c3b0a0732415b3354e3c5d7ef" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Mon, 19 Sep 2016 17:28:59 GMT | ||
* Last updated: Wed, 21 Sep 2016 20:25:55 GMT | ||
* File structure: Mixed | ||
@@ -14,0 +14,0 @@ * Library Dependencies: none |
@@ -24,3 +24,3 @@ { | ||
"hasPackageJson": false, | ||
"contentHash": "9efdcdb2bc814739c6ab8cfed01fd582d733e760d6ba7a776db884baed2d9253" | ||
"contentHash": "ca9507c532820342e8a83486d3d3196390ad660c3b0a0732415b3354e3c5d7ef" | ||
} |
27526
535