Skip to content

Commit

Permalink
chore(generator): gen with backticks
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonkuhrt committed Sep 6, 2024
1 parent f27b234 commit 70590a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/layers/2_generator/code/Error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const { generate: generateError, moduleName: moduleNameError } = createCo

code.push(
`export const isError = <$Value>(value:$Value): value is Include<$Value, ErrorObjectsTypeNameSelected> => {
return typeof value === 'object' && value !== null && '__typename' in value &&
return typeof value === \`object\` && value !== null && \`__typename\` in value &&
ErrorObjectsTypeNameSelected.some(_ => _.__typename === value.__typename)
}`,
)
Expand Down
2 changes: 1 addition & 1 deletion src/layers/2_generator/code/Select.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const { generate: generateSelect, moduleName: moduleNameSelect } = create
code.push(
title(`Runtime`),
`import { createSelect } from '${config.libraryPaths.client}'`,
`export const Select = createSelect('default')`,
`export const Select = createSelect(\`default\`)`,
``,
title(`Buildtime`),
``,
Expand Down

0 comments on commit 70590a9

Please sign in to comment.