Fix type error

This commit is contained in:
Tobias Eidelpes 2021-05-12 10:13:27 +02:00
parent 666b623f4a
commit 051b8db4df

View File

@ -1,7 +1,7 @@
import {AbstractControl} from '@angular/forms'; import {AbstractControl} from '@angular/forms';
export function keywordsValidator(control: AbstractControl): { [key: string]: any } | null { export function keywordsValidator(control: AbstractControl): { [key: string]: any } | null {
if (control.value === undefined) { if (control.value === null) {
return null; return null;
} }
let split: string[]; let split: string[];