mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Cast to help typescript
This commit is contained in:
parent
86ff1eddae
commit
e4bc3c72fa
1 changed files with 1 additions and 1 deletions
|
|
@ -267,7 +267,7 @@ const SubscriptionSourceHoverContent = (
|
|||
switch (sourceType) {
|
||||
case 'RSS':
|
||||
case 'NEWSLETTER':
|
||||
return sourceType
|
||||
return sourceType as SubscriptionType
|
||||
default:
|
||||
return undefined
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue