Skip to content

Commit

Permalink
Make sure ai import is a type, add zod to deps
Browse files Browse the repository at this point in the history
  • Loading branch information
nichochar committed Jul 24, 2024
1 parent 9eac033 commit dc61062
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/api/ai/generate.mts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { generateText, GenerateTextResult } from 'ai';
import { generateText, type GenerateTextResult } from 'ai';
import {
type CodeLanguageType,
type CellType,
Expand Down
3 changes: 3 additions & 0 deletions pnpm-lock.yaml

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

3 changes: 2 additions & 1 deletion srcbook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
"express": "^4.19.2",
"marked": "catalog:",
"posthog-node": "^4.0.1",
"ws": "catalog:"
"ws": "catalog:",
"zod": "catalog:"
},
"devDependencies": {
"@types/express": "^4.17.21"
Expand Down

0 comments on commit dc61062

Please sign in to comment.