Skip to content

Commit dc8b6e4

Browse files
fix(components/validation): correct return type for static url valdation function when called with validation options (#809)
1 parent 08ba3cf commit dc8b6e4

File tree

1 file changed

+1
-1
lines changed
  • libs/components/validation/src/lib/modules/validators

1 file changed

+1
-1
lines changed

libs/components/validation/src/lib/modules/validators/validators.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export class SkyValidators {
4141
*/
4242
public static url(
4343
skyUrlValidationOptions: SkyUrlValidationOptions
44-
): ValidatorFn | null;
44+
): ValidatorFn;
4545

4646
public static url(
4747
value: AbstractControl | SkyUrlValidationOptions

0 commit comments

Comments
 (0)