chore: update README.md to reflect type for import (#297)

This commit is contained in:
Priyam authored and GitHub committed 2022-02-10 13:23:50 +08:00
1 parent 8c0dbddab8
commit 34f8c298b0
1 file changed
+1 -1
+1 -1
View File
@@ -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