mirror of
https://github.com/vkaelin/LeagueStats.git
synced 2026-03-25 12:57:28 +00:00
style(api): ts-ignore known error
This commit is contained in:
parent
11fb369051
commit
c437bcaaf8
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue