Skip to content

Commit

Permalink
installed and added d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
sangdth committed Sep 12, 2023
1 parent f72893b commit 0bbde8f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"prettier": "3.0.2",
"prisma": "5.2.0",
"rimraf": "5.0.1",
"server-only": "0.0.1",
"ts-node": "10.9.1",
"typescript": "5.2.2"
}
Expand Down
7 changes: 7 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions services/users.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'server-only';
import type { NextApiRequest, NextApiResponse } from 'next';
import { NextResponse } from 'next/server';
import { exclude, parseQuery } from '@/utils/parsers';
Expand Down
1 change: 1 addition & 0 deletions types/server-only.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
declare module 'server-only';

0 comments on commit 0bbde8f

Please sign in to comment.