UNPKG
bfend
Version:
latest (0.5.1)
0.5.1
0.5.0
0.4.2
0.4.1
0.4.0
0.3.5
0.3.4
0.3.3
0.3.2
0.3.1
0.3.0
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.0
0.0.4
0.0.3
0.0.2
0.0.1
Admin template base on ng-zorro-antd
github.com/hypocenter/bfend
hypocenter/bfend
bfend
/
lib
/
components
/
max-number-validator.directive.d.ts
6 lines
(5 loc)
•
237 B
TypeScript
View Raw
1
2
3
4
5
6
import
{
AbstractControl
,
ValidationErrors
,
Validator
}
from
'@angular/forms'
;
export
declare
class
BfMaxNumberValidatorDirective
implements
Validator
{
maxNumber
:
number
;
validate
(
c
:
AbstractControl
):
ValidationErrors
|
null
; }