Skip to content

Commit 5e32036

Browse files
committed
Export more types
1 parent c690cb6 commit 5e32036

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

lib/hono/LazyLocalyzedString.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ import type { LocalyzedStringValue } from "./LocalyzedStringValue.ts";
44
* A lazily evaluated localized string with a key and optional values for interpolation.
55
*
66
* Gets resolved later – when the locale is known – using the {@link import("t.ts").t} function.
7+
*
8+
* Use the {@link import("lt.ts").lt} function to create instances of this type.
79
*/
810
export type LazyLocalyzedString = {
911
/**

lib/mod.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ export { t } from "./hono/t.ts";
55
export { asFC } from "./hono/asFC.tsx";
66
export { runCLI } from "./extract/runCLI.ts";
77
export { useLocale } from "./hono/useLocale.ts";
8+
export type { LocalyzedStringValue } from "./hono/LocalyzedStringValue.ts";
9+
export type { LazyLocalyzedString } from "./hono/LazyLocalyzedString.ts";

0 commit comments

Comments
 (0)