Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ampproject/amphtml
/ ImportDeclaration
Function
ImportDeclaration
build-system/eslint-rules/enums.js:240–248 ·
view source on GitHub ↗
(node)
Source
from the content-addressed store, hash-verified
238
},
239
240
ImportDeclaration(node) {
241
for
(
const
imp of node.specifiers) {
242
if
(imp.
type
!==
'ImportSpecifier'
) {
243
continue;
244
}
245
246
rename(imp.imported, imp, imp.local);
247
}
248
},
249
};
250
};
Callers
nothing calls this directly
Calls
1
rename
Function · 0.85
Tested by
no test coverage detected