Skip to content

Commit

Permalink
export toGenContextImports from lib/runGen
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanatkn committed Apr 25, 2023
1 parent 193e354 commit 980f75b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gen/runGen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ const toGenSchemasOptions = (
export const toGenImportPath = (id: string): string =>
'$' + stripEnd(sourceIdToBasePath(id), GEN_SCHEMA_PATH_SUFFIX);

const toGenContextImports = (genModules: GenModuleMeta[]): Record<string, string> => {
export const toGenContextImports = (genModules: GenModuleMeta[]): Record<string, string> => {
const imports: Record<string, string> = {};
for (const genModule of genModules) {
if (genModule.type === 'schema') {
Expand Down

0 comments on commit 980f75b

Please sign in to comment.