1
0
mirror of https://github.com/uetchy/namae.git synced 2025-08-21 02:08:12 +09:00

chore: add eslint rules

This commit is contained in:
2019-12-24 01:57:07 +09:00
parent 934486d64f
commit 1fd9332bdc
35 changed files with 381 additions and 404 deletions

View File

@@ -10,7 +10,10 @@ function resolvePromise(hostname: string): Promise<string[]> {
});
}
export default async function handler(req: NowRequest, res: NowResponse) {
export default async function handler(
req: NowRequest,
res: NowResponse,
): Promise<void> {
const {query} = req.query;
if (!query) {