1
0
mirror of https://github.com/uetchy/namae.git synced 2025-08-20 18:08:11 +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

@@ -1,7 +1,10 @@
import whois from 'whois-json';
import {send, sendError, NowRequest, NowResponse} from '../util/http';
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) {