mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
DirtyFlag does not have methods - the object only has a default function, which returns a result. This result also has another function forceDirty() that is not included.
This commit is contained in:
Vendored
+6
-1
@@ -10,9 +10,14 @@
|
||||
// DirtyFlag /////////////////////////////////////////////
|
||||
|
||||
interface DirtyFlag {
|
||||
isDirty: KnockoutComputed<boolean>;
|
||||
new (objectToTrack: any, isInitiallyDirty?: boolean, hashFunction?: () => any): any;
|
||||
(): DirtyFlagResult;
|
||||
}
|
||||
|
||||
interface DirtyFlagResult {
|
||||
isDirty: KnockoutComputed<boolean>;
|
||||
reset(): void;
|
||||
forceDirty(): void;
|
||||
}
|
||||
|
||||
interface KnockoutStatic {
|
||||
|
||||
Reference in New Issue
Block a user