Skip to content

Commit

Permalink
fix incorrect typedef in codegen plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecAivazis authored and endigma committed Nov 10, 2024
1 parent 90eebc2 commit 69a8e30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/src/routes/api/codegen-plugins/+page.svx
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ export default plugin('plugin_name', async () => {

### `extractDocuments`

- Type: `({ config: Config, path: string, content: string }) => string[] | null`
- Type: `({ config: Config, filepath: string, content: string }) => string[] | null`
- Can return a `Promise` as well
- Plugin values are concattenated together

Expand Down

0 comments on commit 69a8e30

Please sign in to comment.