Skip to content

Commit 09fd1fd

Browse files
committed
fix: update
1 parent c154806 commit 09fd1fd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

carrental-web/src/angular/carrental/src/app/shared/crvalues.validators.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
16-
import { UntypedFormControl } from '@angular/forms';
16+
import { FormControl } from '@angular/forms';
1717

1818
export class CrValuesValidators {
19-
static positiveIntValidator(control: UntypedFormControl) {
19+
static positiveIntValidator(control: FormControl) {
2020
const valueStr = control.value ? control.value.toString(10).split('').filter(c => c != '\'').join('') : '';
2121
const myValue = parseInt(valueStr, 20);
2222
const ret = isNaN(myValue);

0 commit comments

Comments
 (0)