@types/knockout 3.4.75 → 3.4.76
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- knockout/README.md +1 -1
- knockout/index.d.ts +4 -4
- knockout/package.json +2 -2
knockout/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for knockout (http://knockoutjs.com).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/knockout.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Mon, 20 Nov 2023 23:36:24 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
knockout/index.d.ts
CHANGED
|
@@ -247,11 +247,11 @@ interface KnockoutObservableArrayStatic {
|
|
|
247
247
|
* casting an observable array to this type expresses the intention that it shouldn't be mutated.
|
|
248
248
|
*/
|
|
249
249
|
interface KnockoutReadonlyObservableArray<T>
|
|
250
|
-
extends KnockoutReadonlyObservable<
|
|
250
|
+
extends KnockoutReadonlyObservable<readonly T[]>, KnockoutReadonlyObservableArrayFunctions<T>
|
|
251
251
|
{
|
|
252
252
|
// NOTE: Keep in sync with KnockoutObservableArray<T>, see note on KnockoutObservableArray<T>
|
|
253
253
|
subscribe(
|
|
254
|
-
callback: (newValue: KnockoutArrayChange<T
|
|
254
|
+
callback: (newValue: Array<KnockoutArrayChange<T>>) => void,
|
|
255
255
|
target: any,
|
|
256
256
|
event: "arrayChange",
|
|
257
257
|
): KnockoutSubscription;
|
|
@@ -267,7 +267,7 @@ interface KnockoutReadonlyObservableArray<T>
|
|
|
267
267
|
*/
|
|
268
268
|
interface KnockoutObservableArray<T> extends KnockoutObservable<T[]>, KnockoutObservableArrayFunctions<T> {
|
|
269
269
|
subscribe(
|
|
270
|
-
callback: (newValue: KnockoutArrayChange<T
|
|
270
|
+
callback: (newValue: Array<KnockoutArrayChange<T>>) => void,
|
|
271
271
|
target: any,
|
|
272
272
|
event: "arrayChange",
|
|
273
273
|
): KnockoutSubscription;
|
|
@@ -390,7 +390,7 @@ interface KnockoutAllBindingsAccessor {
|
|
|
390
390
|
}
|
|
391
391
|
|
|
392
392
|
interface KnockoutBindingHandler<E extends Node = any, V = any, VM = any> {
|
|
393
|
-
after?:
|
|
393
|
+
after?: string[] | undefined;
|
|
394
394
|
init?:
|
|
395
395
|
| ((
|
|
396
396
|
element: E,
|
knockout/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/knockout",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.76",
|
|
4
4
|
"description": "TypeScript definitions for knockout",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/knockout",
|
|
6
6
|
"license": "MIT",
|
|
@@ -60,6 +60,6 @@
|
|
|
60
60
|
},
|
|
61
61
|
"scripts": {},
|
|
62
62
|
"dependencies": {},
|
|
63
|
-
"typesPublisherContentHash": "
|
|
63
|
+
"typesPublisherContentHash": "131b661130de2136c4fa9bb9556229372c2103c454b728dc695d0b7662738f5b",
|
|
64
64
|
"typeScriptVersion": "4.5"
|
|
65
65
|
}
|