You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using convertFromDirectory, if the schema directory contains an index.ts file this results in the corresponding generated index.ts containing the TypeScript types defined directly inline rather than exporting via their generated files.
For example, without an index.ts in the schema directory, the generated index.ts correctly looks something like:
When using
convertFromDirectory
, if the schema directory contains anindex.ts
file this results in the corresponding generatedindex.ts
containing the TypeScript types defined directly inline rather than exporting via their generated files.For example, without an
index.ts
in the schema directory, the generatedindex.ts
correctly looks something like:However, if an
index.ts
exists in the schema directory, the generatedindex.ts
becomes:The generation of
index.ts
should be the same regardless of the presence of a schemaindex.ts
The text was updated successfully, but these errors were encountered: