MCPcopy Create free account
hub / github.com/ampproject/amphtml / ImportNamespaceSpecifier

Function ImportNamespaceSpecifier

build-system/eslint-rules/preact.js:69–73  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

67 },
68
69 ImportNamespaceSpecifier(node) {
70 if (node.local.name === 'Preact') {
71 imported = true;
72 }
73 },
74
75 JSXElement(node) {
76 requirePreact(node);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected