mirror of
https://github.com/uetchy/namae.git
synced 2025-08-20 09:58:13 +09:00
fix: type errors
This commit is contained in:
@@ -15,7 +15,7 @@ export default async function handler(
|
||||
try {
|
||||
const availability = await npmName(query);
|
||||
send(res, { availability });
|
||||
} catch (err) {
|
||||
} catch (err: any) {
|
||||
sendError(res, err);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user