Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/observablehq/framework
/ ImportDeclaration
Function
ImportDeclaration
src/javascript/transpile.ts:195–199 ·
view source on GitHub ↗
(node)
Source
from the content-addressed store, hash-verified
193
194
simple(body, {
195
ImportDeclaration(node) {
196
if
(isStringLiteral(node.source)) {
197
declarations.push(node);
198
}
199
}
200
});
201
202
const
specifiers: string[] = [];
Callers
nothing calls this directly
Calls
1
isStringLiteral
Function · 0.85
Tested by
no test coverage detected