Skip to content

Commit f3deec3

Browse files
committed
0.7.0 expose parser interfaces
1 parent 49611d1 commit f3deec3

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
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": "promptl-ai",
3-
"version": "0.6.6",
3+
"version": "0.7.0",
44
"author": "Latitude Data",
55
"license": "MIT",
66
"description": "Compiler for PromptL, the prompt language",

src/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ export * from './compiler'
33
export * from './parser'
44
export * from './providers'
55

6-
export { type Fragment } from './parser/interfaces'
6+
import * as parserInterfaces from './parser/interfaces'
7+
type Fragment = parserInterfaces.Fragment
8+
export type { Fragment, parserInterfaces as IParser }
79

810
export { default as CompileError } from './error/error'

0 commit comments

Comments
 (0)