Unverified Commit cfa07f4f authored by Steven's avatar Steven Committed by GitHub

chore: remove unnecessary type cast in dev-build-watcher (#54221)

I accidentally left this type cast in from previous PR https://github.com/vercel/next.js/pull/54074 but it is unnecessary.
parent 132d3e8f
......@@ -8,8 +8,7 @@ export default function initializeBuildWatcher(
toggleCallback: (cb: (event: string | { data: string }) => void) => void,
position = 'bottom-right'
) {
const type = 'div' as string
const shadowHost = document.createElement(type)
const shadowHost = document.createElement('div')
const [verticalProperty, horizontalProperty] = position.split('-') as [
VerticalPosition,
HorizonalPosition
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment