feat(types): export Language and Category for better TS type Inference (#19651)

This commit is contained in:
Cason Kervis 2025-07-22 14:53:39 +08:00 committed by GitHub
parent 874e912778
commit ea821def53
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ import type { Context } from 'hono';
// Make sure it's synchronise with scripts/workflow/data.ts
// and lib/routes/rsshub/routes.ts
type Category =
export type Category =
| 'popular'
| 'social-media'
| 'new-media'
@ -98,7 +98,7 @@ export type Data = {
ttl?: number;
};
type Language =
export type Language =
| 'af'
| 'sq'
| 'eu'