chore(nuxi): improve typing in nuxi dev script (#1064)

This commit is contained in:
Levi (Nguyễn Lương Huy) 2021-10-15 17:13:04 +07:00 committed by GitHub
parent ab28056018
commit c9c6f37ae3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ export default defineNuxtCommand({
const { loadNuxt, buildNuxt } = await loadKit(rootDir)
const prepare = debounce(nuxt => writeTypes(nuxt), 1000)
const prepare = debounce((nuxt: Nuxt) => writeTypes(nuxt), 1000)
let currentNuxt: Nuxt
const load = async (isRestart: boolean, reason?: string) => {