mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-06-30 22:46:39 -04:00
start extracting types to shared .d.ts file
This commit is contained in:
@ -95,8 +95,10 @@ const getSiteStats = async (client) => {
|
||||
pages,
|
||||
};
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
pages.map((page: any) => {
|
||||
// match URLs from RSS feed with db to populate some metadata
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
const match: any = notes.find((note) => `notes/${note.slug}` === page.slug);
|
||||
if (match) {
|
||||
page.title = match.title;
|
||||
|
Reference in New Issue
Block a user