Import hono with an import alias

This commit is contained in:
Alex Gleason
2024-04-20 18:54:15 -05:00
parent 505a9bced1
commit 64d50552b7
9 changed files with 16 additions and 30 deletions

View File

@@ -1,4 +1,4 @@
import type { Context } from '@/deps.ts';
import type { Context } from 'hono';
const emptyArrayController = (c: Context) => c.json([]);
const emptyObjectController = (c: Context) => c.json({});