mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
fix: 'Context' resolves to a type-only declaration and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled.
This commit is contained in:
parent
47eca9e2f7
commit
03d93ff810
1 changed files with 1 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
import { Context } from '@hono/hono';
|
import { type Context } from '@hono/hono';
|
||||||
|
|
||||||
const emptyArrayController = (c: Context) => c.json([]);
|
const emptyArrayController = (c: Context) => c.json([]);
|
||||||
const notImplementedController = (c: Context) => Promise.resolve(c.json({ error: 'Not implemented' }, 404));
|
const notImplementedController = (c: Context) => Promise.resolve(c.json({ error: 'Not implemented' }, 404));
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue