We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27b4da7 commit a094a80Copy full SHA for a094a80
src/generator/generators/Scalar.ts
@@ -55,7 +55,7 @@ export const ModuleGeneratorScalar = createModuleGenerator(
55
for (const scalar of config.schema.kindMap.list.ScalarCustom) {
56
code(typeTitle2(`custom scalar type`)(scalar))
57
code()
58
- code(`export type ${scalar.name} = ${identifiers.$$Utilities}.Schema.Scalar.ScalarCodecless<'Date'>`)
+ code(`export type ${scalar.name} = ${identifiers.$$Utilities}.Schema.Scalar.ScalarCodecless<'${scalar.name}'>`)
59
// code(`import type { String as ${scalar.name} } from '${config.paths.imports.grafflePackage.scalars}'`)
60
// code()
61
// code(`export { String as ${scalar.name} } from '${config.paths.imports.grafflePackage.scalars}'`)
0 commit comments