Skip to content

Commit d16ef24

Browse files
committed
export the JSONSchema type
1 parent 45bb66c commit d16ef24

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/index.ts

+2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import { convertInternalToMongodb } from './schema-converters/internalToMongoDB'
2222
import { convertInternalToStandard } from './schema-converters/internalToStandard';
2323
import * as schemaStats from './stats';
2424
import { AnyIterable, StandardJSONSchema, MongoDBJSONSchema, ExpandedJSONSchema } from './types';
25+
import type { JSONSchema } from './to-typescript';
2526
import { toTypescriptTypeDefinition } from './to-typescript';
2627

2728
/**
@@ -86,6 +87,7 @@ export type {
8687
StandardJSONSchema,
8788
MongoDBJSONSchema,
8889
ExpandedJSONSchema,
90+
JSONSchema,
8991
SchemaAccessor
9092
};
9193

0 commit comments

Comments
 (0)