💚 fix build-error caused by ts check (#2110)
This commit is contained in:
parent
ca209e87f9
commit
a885c4ab8a
|
|
@ -61,8 +61,7 @@ async function validateSingularMode<T extends ObjectType>(
|
||||||
return typeof validate === 'function' ? validate(app) : !!validate;
|
return typeof validate === 'function' ? validate(app) : !!validate;
|
||||||
}
|
}
|
||||||
|
|
||||||
// @ts-ignore
|
const supportShadowDOM = !!document.head.attachShadow || !!(document.head as any).createShadowRoot;
|
||||||
const supportShadowDOM = document.head.attachShadow || document.head.createShadowRoot;
|
|
||||||
|
|
||||||
function createElement(
|
function createElement(
|
||||||
appContent: string,
|
appContent: string,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user