Skip to content

Commit 8f214e3

Browse files
fredericrousthdxr
andauthored
Import only hono type in util.ts (#114)
* Import only hono type in util.ts util.ts is used by openauth client as well, so lets not import hono when we do not need it * Create mighty-tips-shout.md --------- Co-authored-by: Dax <mail@thdxr.com>
1 parent 4cd9e96 commit 8f214e3

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/mighty-tips-shout.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@openauthjs/openauth": patch
3+
---
4+
5+
Import only hono type in util.ts

packages/openauth/src/util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Context } from "hono"
1+
import type { Context } from "hono"
22

33
export type Prettify<T> = {
44
[K in keyof T]: T[K]

0 commit comments

Comments
 (0)