style(api): ts-ignore known error

This commit is contained in:
Kalane 2021-09-20 21:18:32 +02:00
parent 11fb369051
commit c437bcaaf8

View file

@ -128,6 +128,7 @@ export function sortTeamByRole<T extends SortableByRole>(a: T, b: T) {
// https://stackoverflow.com/a/46700791/9188650
export function notEmpty<TValue>(value: TValue | null | undefined): value is TValue {
if (value === null || value === undefined) return false
// @ts-ignore
const testDummy: TValue = value
return true
}