Skip to content

Commit 4ea2583

Browse files
authored
fix(imports): allow LightningHTMLElement import (#157)
1 parent a253473 commit 4ea2583

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/rules/no-disallowed-lwc-imports.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ const LWC_SUPPORTED_APIS = new Set([
2929
'hydrateComponent',
3030
'buildCustomElementConstructor',
3131
'createElement',
32+
'LightningHTMLElement',
3233

3334
// From "@lwc/engine-server"
3435
'renderComponent',

0 commit comments

Comments
 (0)