feat(csv-loader): export generated type definitions
This commit is contained in:
parent
f03226221d
commit
f101c12097
|
|
@ -51,7 +51,7 @@ export function generateTypeDefinition(
|
|||
? typeDeclarations
|
||||
.map(
|
||||
(decl) =>
|
||||
`type ${decl.name} = ${schemaToTypeString(decl.schema, resourceNames)};`,
|
||||
`export type ${decl.name} = ${schemaToTypeString(decl.schema, resourceNames)};`,
|
||||
)
|
||||
.join("\n") + "\n\n"
|
||||
: "";
|
||||
|
|
|
|||
Loading…
Reference in New Issue