Skip to content

Commit 97c38fc

Browse files
Update 3-writing-plugins.md (#358)
Fixed an issue where the exported member did not exist
1 parent 5e9cf78 commit 97c38fc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/the-complete-guide/part2/3-writing-plugins.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ A plugin is a Node.js module that has the following exports:
1717
Here's what a bare minimum plugin looks like:
1818

1919
```ts
20-
import type { DMMF, PluginOptions } from '@zenstackhq/sdk';
20+
import type { PluginOptions } from '@zenstackhq/sdk';
21+
import type { DMMF } from '@zenstackhq/sdk/prisma';
2122
import type { Model } from '@zenstackhq/sdk/ast';
2223

2324
export const name = 'My Plugin';

0 commit comments

Comments
 (0)