Skip to content
Snippets Groups Projects
Commit 152a5e45 authored by rhenck's avatar rhenck
Browse files

Fix array-includes-pipe return value

parent 0c0b9e3b
No related branches found
No related tags found
No related merge requests found
Pipeline #41723 passed
...@@ -4,7 +4,7 @@ import { Pipe, PipeTransform } from '@angular/core'; ...@@ -4,7 +4,7 @@ import { Pipe, PipeTransform } from '@angular/core';
name: 'arrayIncludes' name: 'arrayIncludes'
}) })
export class ArrayIncludesPipe implements PipeTransform { export class ArrayIncludesPipe implements PipeTransform {
transform(valueList: string[], searchValue: string): unknown { transform(valueList: string[], searchValue: string): boolean {
return valueList.includes(searchValue); return valueList.includes(searchValue);
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment