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 e583d43 commit c626519Copy full SHA for c626519
src/server/templates/typescript.ts
@@ -316,7 +316,9 @@ export type Database = {
316
`${JSON.stringify(fnName)}: {
317
Args: ${fns
318
.map(({ args }) => {
319
- const inArgs = args.filter(({ mode }) => mode === 'in')
+ const inArgs = args
320
+ .toSorted((a, b) => a.name.localeCompare(b.name))
321
+ .filter(({ mode }) => mode === 'in')
322
323
if (inArgs.length === 0) {
324
return 'Record<PropertyKey, never>'
0 commit comments