Skip to content

Commit 7d6ae32

Browse files
committed
fix: explicitly export TypeScript types
1 parent 1db2a30 commit 7d6ae32

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

src/jsonquery.ts

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,21 @@ export { stringify } from './stringify'
1616
export { parse } from './parse'
1717
export { buildFunction } from './functions'
1818

19-
export * from './types'
19+
export type {
20+
CustomOperator,
21+
Fun,
22+
FunctionBuilder,
23+
FunctionBuildersMap,
24+
JSONPath,
25+
JSONProperty,
26+
JSONQuery,
27+
JSONQueryCompileOptions,
28+
JSONQueryFunction,
29+
JSONQueryObject,
30+
JSONQueryOptions,
31+
JSONQueryParseOptions,
32+
JSONQueryPipe,
33+
JSONQueryPrimitive,
34+
JSONQueryProperty,
35+
JSONQueryStringifyOptions
36+
} from './types'

0 commit comments

Comments
 (0)