Skip to content

Commit e1be2cf

Browse files
committed
chore: export type TemplateFunction
1 parent ed33823 commit e1be2cf

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

src/core.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
11
import { Eta as EtaCore } from "./internal.ts";
22

3+
export type { EtaConfig, Options } from "./config.ts";
4+
export type { TemplateFunction } from "./compile.ts";
5+
export {
6+
EtaError,
7+
EtaFileResolutionError,
8+
EtaNameResolutionError,
9+
EtaParseError,
10+
EtaRuntimeError,
11+
} from "./err.ts";
12+
313
export class Eta extends EtaCore {}

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { readFile, resolvePath } from "./file-handling.ts";
22
import { Eta as EtaCore } from "./internal.ts";
33

44
export type { EtaConfig, Options } from "./config.ts";
5+
export type { TemplateFunction } from "./compile.ts";
56
export {
67
EtaError,
78
EtaFileResolutionError,

0 commit comments

Comments
 (0)