mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 15:15:19 +00:00
fix ts error
This commit is contained in:
parent
b15d16abd3
commit
1524377708
@ -123,7 +123,7 @@ export function createDevServer (sigmaContext: SigmaContext) {
|
|||||||
await pendingWorker.terminate()
|
await pendingWorker.terminate()
|
||||||
}
|
}
|
||||||
await Promise.all(listeners.map(l => new Promise((resolve) => {
|
await Promise.all(listeners.map(l => new Promise((resolve) => {
|
||||||
l.close(() => resolve())
|
l.close(() => resolve(undefined))
|
||||||
})))
|
})))
|
||||||
listeners = []
|
listeners = []
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user