mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-30 23:32:38 +00:00
chore(nuxi): improve typing in nuxi dev script (#1064)
This commit is contained in:
parent
ab28056018
commit
c9c6f37ae3
@ -37,7 +37,7 @@ export default defineNuxtCommand({
|
|||||||
|
|
||||||
const { loadNuxt, buildNuxt } = await loadKit(rootDir)
|
const { loadNuxt, buildNuxt } = await loadKit(rootDir)
|
||||||
|
|
||||||
const prepare = debounce(nuxt => writeTypes(nuxt), 1000)
|
const prepare = debounce((nuxt: Nuxt) => writeTypes(nuxt), 1000)
|
||||||
|
|
||||||
let currentNuxt: Nuxt
|
let currentNuxt: Nuxt
|
||||||
const load = async (isRestart: boolean, reason?: string) => {
|
const load = async (isRestart: boolean, reason?: string) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user