Semmle 1.22
Skip to end of metadata
Go to start of metadata

Finds 'default' exports that export a function

import javascript

from ExportDefaultDeclaration e
where e.getOperand() instanceof Function
select e