MCPcopy
hub / github.com/vitejs/vite / clearErrorOverlay

Function clearErrorOverlay

packages/vite/src/client/client.ts:352–354  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

350}
351
352function clearErrorOverlay() {
353 document.querySelectorAll<ErrorOverlay>(overlayId).forEach((n) => n.close())
354}
355
356function hasErrorOverlay() {
357 return document.querySelectorAll(overlayId).length

Callers 2

handleMessageFunction · 0.85
createErrorOverlayFunction · 0.85

Calls 1

closeMethod · 0.65

Tested by

no test coverage detected