mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-09 11:40:16 +08:00
Knockout: Made arrayIndexOf generic
This commit is contained in:
1 parent
440aea6922
commit
f87f7ed0fa
1 file changed
+1
-1
Vendored
+1
-1
@@ -245,7 +245,7 @@ interface KnockoutUtils {
|
||||
|
||||
arrayForEach<T>(array: T[], action: (item: T) => void): void;
|
||||
|
||||
arrayIndexOf(array: any[], item: any): number;
|
||||
arrayIndexOf<T>(array: T[], item: T): number;
|
||||
|
||||
arrayFirst<T>(array: T[], predicate: (item: T) => boolean, predicateOwner?: any): T;
|
||||
|
||||
|
||||
Reference in new issue
Block a user