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

This commit is contained in:
Priyam 2022-02-10 10:53:50 +05:30 committed by GitHub
parent 8c0dbddab8
commit 34f8c298b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@
A custom user module system. Place a `.ts` file with the following template, it will be installed automatically. A custom user module system. Place a `.ts` file with the following template, it will be installed automatically.
```ts ```ts
import { UserModule } from '~/types' import type { UserModule } from '~/types'
export const install: UserModule = ({ app, router, isClient }) => { export const install: UserModule = ({ app, router, isClient }) => {
// do something // do something