mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-17 13:00:35 +08:00
Merge pull request #8428 from ashwin027/angularfix
Added an interface for IModelOptions.
This commit is contained in:
commit
58f6485525
1 file changed
+10
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