Comparing version 1.3.0 to 1.3.1
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" /> | ||
import type { SwigOptions } from 'swig'; | ||
@@ -34,6 +33,6 @@ import '@hoth/decorators'; | ||
interface FastifyReply { | ||
render(page: string, data?: Record<string, unknown>, cb?: (err: Error, html: string) => void): FastifyReply; | ||
render(page: string, data?: Record<string, unknown>, cb?: (err: Error, html: string) => void): Promise<string>; | ||
} | ||
} | ||
declare const _default: import("fastify").FastifyPluginAsync<HothViewOptions, import("http").Server>; | ||
declare const _default: import("fastify").FastifyPluginAsync<HothViewOptions, import("fastify").RawServerDefault>; | ||
export default _default; |
{ | ||
"name": "@hoth/view", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "template engine for hoth framework", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
11154
166