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

Function ExportDefaultDeclaration

build-system/compile/json-schema/index.js:389–392  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

387 },
388 },
389 ExportDefaultDeclaration(path) {
390 // Remove `export default validate`
391 path.remove();
392 },
393 ExportNamedDeclaration(path) {
394 // Unexport named exports.
395 if (path.node.declaration) {

Callers

nothing calls this directly

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected