mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
Merge pull request #8428 from ashwin027/angularfix
Added an interface for IModelOptions.
This commit is contained in:
Vendored
+10
@@ -441,6 +441,16 @@ declare module angular {
|
||||
$invalid: boolean;
|
||||
}
|
||||
|
||||
//Allows tuning how model updates are done.
|
||||
//https://docs.angularjs.org/api/ng/directive/ngModelOptions
|
||||
interface INgModelOptions {
|
||||
updateOn?: string;
|
||||
debounce?: any;
|
||||
allowInvalid?: boolean;
|
||||
getterSetter?: boolean;
|
||||
timezone?: string;
|
||||
}
|
||||
|
||||
interface IModelValidators {
|
||||
/**
|
||||
* viewValue is any because it can be an object that is called in the view like $viewValue.name:$viewValue.subName
|
||||
|
||||
Reference in New Issue
Block a user