CodeQL queries 1.25
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