Skip to content

Commit 629c603

Browse files
committed
🎉 feat: auto register html
1 parent 56e9c72 commit 629c603

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@elysiajs/html",
3-
"version": "0.7.1",
3+
"version": "0.7.2",
44
"description": "Plugin for Elysia that add support for returning html",
55
"author": {
66
"name": "saltyAom",

src/index.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,8 @@ export * from './options'
77
export * from './utils'
88

99
export { Html } from '@kitajs/html'
10+
11+
declare global {
12+
/** The html factory namespace. */
13+
var Html: typeof import('./index')
14+
}

0 commit comments

Comments
 (0)