mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +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 Promise.all(listeners.map(l => new Promise((resolve) => {
|
||||
l.close(() => resolve())
|
||||
l.close(() => resolve(undefined))
|
||||
})))
|
||||
listeners = []
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user