Skip to content

Commit

Permalink
chore: update README.md to reflect type for import (antfu-collectiv…
Browse files Browse the repository at this point in the history
  • Loading branch information
r-priyam authored Feb 10, 2022
1 parent 8c0dbdd commit 34f8c29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
A custom user module system. Place a `.ts` file with the following template, it will be installed automatically.

```ts
import { UserModule } from '~/types'
import type { UserModule } from '~/types'

export const install: UserModule = ({ app, router, isClient }) => {
// do something
Expand Down

0 comments on commit 34f8c29

Please sign in to comment.