mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-18 04:24:30 +08:00
Merge pull request #26683 from aakasaka/master
[knockout] Delete KnockoutExtensionFunctions interface.
This commit is contained in:
12
types/knockout/index.d.ts
vendored
12
types/knockout/index.d.ts
vendored
@@ -9,22 +9,18 @@
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
interface KnockoutExtensionFunctions {
|
||||
[key: string]: any;
|
||||
}
|
||||
|
||||
interface KnockoutSubscribableFunctions<T> extends KnockoutExtensionFunctions {
|
||||
interface KnockoutSubscribableFunctions<T> {
|
||||
notifySubscribers(valueToWrite?: T, event?: string): void;
|
||||
}
|
||||
|
||||
interface KnockoutComputedFunctions<T> extends KnockoutExtensionFunctions {
|
||||
interface KnockoutComputedFunctions<T> {
|
||||
}
|
||||
|
||||
interface KnockoutObservableFunctions<T> extends KnockoutExtensionFunctions {
|
||||
interface KnockoutObservableFunctions<T> {
|
||||
equalityComparer(a: any, b: any): boolean;
|
||||
}
|
||||
|
||||
interface KnockoutObservableArrayFunctions<T> extends KnockoutExtensionFunctions {
|
||||
interface KnockoutObservableArrayFunctions<T> {
|
||||
// General Array functions
|
||||
indexOf(searchElement: T, fromIndex?: number): number;
|
||||
slice(start: number, end?: number): T[];
|
||||
|
||||
Reference in New Issue
Block a user