Skip to content

Commit

Permalink
Fix import order and remove comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
Timothy Miller committed Nov 10, 2023
1 parent 544e67d commit 7f8d933
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions packages/api/src/db/client.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { drizzle } from 'drizzle-orm/d1'

export const createDb = (d1: D1Database) => {
return drizzle(d1)
}
2 changes: 1 addition & 1 deletion packages/api/src/routes/user.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { eq } from 'drizzle-orm'
import { parse } from 'valibot'
import { insertUserSchema, UserTable } from '../db/schema'
import { UserTable, insertUserSchema } from '../db/schema'
import { protectedProcedure, router } from '../trpc'

export const userRouter = router({
Expand Down
3 changes: 1 addition & 2 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
"experimentalDecorators": true,
"useUnknownInCatchVariables": false,
"preserveConstEnums": true,
// DONT DO THIS so jsdoc will remain
"removeComments": false,
"removeComments": true,
"skipLibCheck": true,
"sourceMap": false,
"strictNullChecks": true,
Expand Down

0 comments on commit 7f8d933

Please sign in to comment.